-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show connector/table when referencing a filter #3626
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"label": "MultiConnector", | ||
"description": "Concept with multiple connector that each have a filter that allows file drop.", | ||
"type": "TREE", | ||
"connectors": [ | ||
{ | ||
"name": "connector0", | ||
"column": "table.STRING", | ||
"validityDatesDescription": "Tooltip for the available validity dates", | ||
"validityDates": [ | ||
{ | ||
"label": "DATE", | ||
"column": "table.DATE" | ||
}, | ||
{ | ||
"label": "DATE_RANGE", | ||
"column": "table.DATE_RANGE" | ||
} | ||
], | ||
"filters": [ | ||
{ | ||
"label": "BIG_MULTI_SELECT", | ||
"column": "table.STRING", | ||
"type": "BIG_MULTI_SELECT", | ||
"allowDropFile": true | ||
} | ||
], | ||
"selects": [] | ||
}, | ||
{ | ||
"name": "connector1", | ||
"column": "table.STRING", | ||
"validityDatesDescription": "Tooltip for the available validity dates", | ||
"validityDates": [ | ||
{ | ||
"label": "DATE", | ||
"column": "table.DATE" | ||
}, | ||
{ | ||
"label": "DATE_RANGE", | ||
"column": "table.DATE_RANGE" | ||
} | ||
], | ||
"filters": [ | ||
{ | ||
"label": "BIG_MULTI_SELECT", | ||
"column": "table.STRING", | ||
"type": "BIG_MULTI_SELECT", | ||
"allowDropFile": true | ||
} | ||
], | ||
"selects": [] | ||
} | ||
], | ||
"children": { | ||
"name": "a1", | ||
"condition": { | ||
"type": "EQUAL", | ||
"values": "A1" | ||
} | ||
}, | ||
"selects": [ | ||
{ | ||
"label": "EXISTS", | ||
"type": "EXISTS" | ||
}, | ||
{ | ||
"label": "EVENT_DATE_UNION", | ||
"type": "EVENT_DATE_UNION" | ||
}, | ||
{ | ||
"label": "EVENT_DURATION_SUM", | ||
"type": "EVENT_DURATION_SUM" | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -10,7 +10,7 @@ import { Icon } from "../icon/FaIcon"; | |||||||||
|
||||||||||
const Container = styled("div")` | ||||||||||
display: grid; | ||||||||||
grid-template-columns: 110px 30px auto 1fr; | ||||||||||
grid-template-columns: 110px 30px auto auto auto auto 1fr; | ||||||||||
align-items: flex-start; | ||||||||||
gap: 0 8px; | ||||||||||
padding: 3px 0; | ||||||||||
|
@@ -43,10 +43,12 @@ const Right = styled("div")` | |||||||||
export const DropdownOption = memo( | ||||||||||
({ | ||||||||||
conceptLabel, | ||||||||||
connectorLabel, | ||||||||||
filterLabel, | ||||||||||
filterIdx, | ||||||||||
}: { | ||||||||||
conceptLabel: string; | ||||||||||
connectorLabel?: string; | ||||||||||
filterLabel?: string; | ||||||||||
filterIdx?: number; | ||||||||||
}) => { | ||||||||||
|
@@ -74,6 +76,9 @@ export const DropdownOption = memo( | |||||||||
<Text bold={!hasDifferentFilterLabel}>{conceptLabel}</Text> | ||||||||||
{hasDifferentFilterLabel && ( | ||||||||||
<> | ||||||||||
<Text>></Text> | ||||||||||
<Text>{connectorLabel}</Text> | ||||||||||
<Text>></Text> | ||||||||||
Comment on lines
+79
to
+81
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
warum nicht so? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. guter punkt There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||
<Text bold>{filterLabel}</Text> | ||||||||||
</> | ||||||||||
)} | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚗🚗🚗🚗 🇫🇷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D