You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "wohainilaodou (via GitHub)" <gi...@apache.org> on 2024/05/23 06:57:59 UTC

[PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

wohainilaodou opened a new pull request, #10258:
URL: https://github.com/apache/inlong/pull/10258

   Fixes #10256 
   
   ### Motivation
   Modify the data source IP item of the file data source form in the data access module
   
   ### Modifications
   
   Modified the data source IP item of the file data source form in the data access module, changed the single-select drop-down box into a multi-select drop-down box, added the ALL option, and added prompt information
   
   
   ### Verifying this change
   ![image](https://github.com/apache/inlong/assets/165994047/728549cc-a972-4991-ba50-e0a0971f5a3b)
   ![image](https://github.com/apache/inlong/assets/165994047/831f3382-365e-4194-925e-70a5dc0cba22)
   ![image](https://github.com/apache/inlong/assets/165994047/d5f6a443-f6b2-4654-9d40-d859936f72e1)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

Posted by "wohainilaodou (via GitHub)" <gi...@apache.org>.
wohainilaodou commented on code in PR #10258:
URL: https://github.com/apache/inlong/pull/10258#discussion_r1612871157


##########
inlong-dashboard/src/ui/components/MultiSelectWithAll/index.tsx:
##########
@@ -0,0 +1,31 @@
+import React, { useState, useEffect } from 'react';
+import HighSelect from '@/ui/components/HighSelect';
+
+export const ALL_OPTION_VALUE = 'ALL';

Review Comment:
   done



##########
inlong-dashboard/src/ui/locales/cn.json:
##########
@@ -32,6 +32,7 @@
   "meta.Sources.File.ClusterName": "集群名称",
   "meta.Sources.File.FilePath": "⽂件路径",
   "meta.Sources.File.FilePathHelp": "必须是绝对路径,支持正则表达式,多个时以逗号分隔,如:/data/.*log",
+  "meta.Sources.File.FileIpHelp": "请选择数据源所属的 ip,若数据源是在容器等 ip 不固定的环境请选择 ALL",

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang commented on code in PR #10258:
URL: https://github.com/apache/inlong/pull/10258#discussion_r1611489557


##########
inlong-dashboard/src/ui/locales/cn.json:
##########
@@ -32,6 +32,7 @@
   "meta.Sources.File.ClusterName": "集群名称",
   "meta.Sources.File.FilePath": "⽂件路径",
   "meta.Sources.File.FilePathHelp": "必须是绝对路径,支持正则表达式,多个时以逗号分隔,如:/data/.*log",
+  "meta.Sources.File.FileIpHelp": "请选择数据源所属的 ip,若数据源是在容器等 ip 不固定的环境请选择 ALL",

Review Comment:
   ip->IP
   ALL->All



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

Posted by "justinwwhuang (via GitHub)" <gi...@apache.org>.
justinwwhuang commented on code in PR #10258:
URL: https://github.com/apache/inlong/pull/10258#discussion_r1611509342


##########
inlong-dashboard/src/ui/components/MultiSelectWithAll/index.tsx:
##########
@@ -0,0 +1,31 @@
+import React, { useState, useEffect } from 'react';
+import HighSelect from '@/ui/components/HighSelect';
+
+export const ALL_OPTION_VALUE = 'ALL';

Review Comment:
   ALL -> All



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang commented on PR #10258:
URL: https://github.com/apache/inlong/pull/10258#issuecomment-2126850174

   @wohainilaodou please fix the failed workflows.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [INLONG-10256][DashBoard] Modify the data source IP item of the file data source form in the data access module [inlong]

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang merged PR #10258:
URL: https://github.com/apache/inlong/pull/10258


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org