-
Notifications
You must be signed in to change notification settings - Fork 970
feat: Extend Lineage list view configuration #1961
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
feat: Extend Lineage list view configuration #1961
Conversation
Signed-off-by: Ozan Dogrultan <[email protected]>
Signed-off-by: Ozan Dogrultan <[email protected]>
@Golodhros @allisonsuarez Can you please review this as we are planning to use this feature on our production environment? |
@@ -18,9 +18,18 @@ const isTableLinkDisabled = (table: LineageItem) => { | |||
const config = AppConfig.tableLineage; |
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.
Is there a function to retrieve this configuration instead of using it directly?
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.
I've added a new utility function to return the disableAppListLinks
configuration
Signed-off-by: Ozan Dogrultan <[email protected]>
Signed-off-by: Ozan Dogrultan <[email protected]>
*/ | ||
export function getTableLineageDisableAppListLinks() { | ||
return AppConfig.tableLineage.disableAppListLinks; | ||
} |
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.
Thanks, it only needs a test though!
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.
Done:)
Signed-off-by: Ozan Dogrultan <[email protected]>
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.
LGTM
Thanks a lot!
Not sure why the build looks like it's failed, I see that some tasks are just skipped and others are passed |
Signed-off-by: Ozan Dogrultan <[email protected]>
Signed-off-by: Ozan Dogrultan [email protected]
Summary of Changes
This PR extends the recently added Lineage list view configuration to include
badges
key, to be able to also disable Lineage list view UI links based on a badges list configuration.Tests
No test changes are needed.
Documentation
No documentation changes are needed.
CheckList
Make sure you have checked all steps below to ensure a timely review.