Skip to content

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

Merged

Conversation

ozandogrultan
Copy link
Contributor

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.

  • PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"
  • PR includes a summary of changes.
  • PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
  • In case of new functionality, my PR adds documentation that describes how to use it.
    • All the public functions and the classes in the PR contain docstrings that explain what it does

Signed-off-by: Ozan Dogrultan <[email protected]>
@ozandogrultan
Copy link
Contributor Author

@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;
Copy link
Member

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?

Copy link
Contributor Author

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

*/
export function getTableLineageDisableAppListLinks() {
return AppConfig.tableLineage.disableAppListLinks;
}
Copy link
Member

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!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done:)

Copy link
Member

@Golodhros Golodhros left a 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!

@ozandogrultan
Copy link
Contributor Author

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]>
@Golodhros Golodhros merged commit 966faa8 into amundsen-io:main Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend From the Frontend folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants