This is an automated email from the ASF dual-hosted git repository.
likyh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new c9e31d97b fix(config-ui): adjust the wording and icon for associate
transformation (#5013)
c9e31d97b is described below
commit c9e31d97b7a1384b72c84bd49fa3389d441981e3
Author: 青湛 <[email protected]>
AuthorDate: Mon Apr 24 11:12:15 2023 +0800
fix(config-ui): adjust the wording and icon for associate transformation
(#5013)
---
config-ui/src/plugins/components/transformation-select/index.tsx | 2 +-
config-ui/src/plugins/components/transformation/index.tsx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/config-ui/src/plugins/components/transformation-select/index.tsx
b/config-ui/src/plugins/components/transformation-select/index.tsx
index 6b81310fb..dbb57282a 100644
--- a/config-ui/src/plugins/components/transformation-select/index.tsx
+++ b/config-ui/src/plugins/components/transformation-select/index.tsx
@@ -63,7 +63,7 @@ export const TransformationSelect = ({
const title = useMemo(() => {
switch (true) {
case step === 1:
- return 'Select Transformation';
+ return 'Associate Transformation';
case type === 'add':
return 'Add New Transformation';
case type === 'edit':
diff --git a/config-ui/src/plugins/components/transformation/index.tsx
b/config-ui/src/plugins/components/transformation/index.tsx
index e1417eb40..570a1f49d 100644
--- a/config-ui/src/plugins/components/transformation/index.tsx
+++ b/config-ui/src/plugins/components/transformation/index.tsx
@@ -107,11 +107,11 @@ export const Transformation = ({
<S.Action>
<Button
intent={Intent.PRIMARY}
- icon="annotation"
+ icon="many-to-one"
disabled={!selected[cs.unique] || !selected[cs.unique].length}
onClick={() => setConnection(cs)}
>
- Select Transformation
+ Associate Transformation
</Button>
</S.Action>
)}
@@ -127,8 +127,8 @@ export const Transformation = ({
<div>
<span>{val ?? 'N/A'}</span>
<IconButton
- icon="link"
- tooltip="Link Transformation"
+ icon="one-to-one"
+ tooltip="Associate Transformation"
onClick={() => {
setSelected({
...selected,