-
Notifications
You must be signed in to change notification settings - Fork 597
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
UI v2 bug fixes #1353
UI v2 bug fixes #1353
Conversation
@@ -380,6 +380,16 @@ export const useIntegrationTableColumn = ( | |||
}, | |||
), | |||
]; | |||
case IntegrationType.email: | |||
return [ |
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.
use columnHelper.display
@@ -69,7 +69,7 @@ const Header = () => { | |||
}; | |||
|
|||
function processLabel(labelKey: string) { | |||
return labelKey.replaceAll('_', ' ').replaceAll('id', 'ID'); | |||
return labelKey.replaceAll('_', ' ').replace(new RegExp('\\bid', 'g'), 'ID'); |
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.
use functions instead of regex. see metadata.tsx in topology.
in the metadata.tsx also use ===
instead of .includes()
@@ -68,8 +69,19 @@ const Header = () => { | |||
); | |||
}; | |||
|
|||
const UPPERCASE_WORDS = ['id']; |
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.
this we need to do in all node details modals.
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.
Yes we need in all details modals
Fixes #
#1342
#1328 (comment)
#1333
#1349