Skip to content
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

fix(ui): Show deprecate button only for specific entity pages. #4712

Conversation

jjoyce0510
Copy link
Collaborator

@jjoyce0510 jjoyce0510 commented Apr 21, 2022

Summary
In this PR, we limit the newly added "Deprecate" button to specific entity pages, including:

  • Datasets, dashboards, charts, data jobs, data flows, glossary terms, and the ML related entities.

Previously, this button was shown on every entity profile. Only certain entities support deprecation, so this was a bug!

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions
Copy link

Unit Test Results (build & test)

  97 files  ±0    97 suites  ±0   17m 6s ⏱️ - 6m 8s
701 tests ±0  642 ✔️ ±0  59 💤 ±0  0 ±0 

Results for commit bacd7bc. ± Comparison against base commit c66ef7c.

Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

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

Nice! makes sense to me

@gabe-lyons gabe-lyons merged commit 8d036fa into datahub-project:master Apr 21, 2022
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants