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): Fix tags display name + color in UI for autocomplete, search preview, entity profile #7785

Merged

Conversation

jjoyce0510
Copy link
Collaborator

Summary

Previously, we were using the urn-derived "name" field in some cases to render the name of a Tag. In this PR, we change to use the correct "name" field of the properties aspect, which can be changed once the Tag has been created.

This fixes a few different scenarios:

  1. search preview
  2. autocomplete dropdown
  3. entity profile tags section

Status

Ready for review

Screenshots

Before (notice the URN derived name):
Screenshot 2023-04-10 at 12 20 33 PM

Screenshot 2023-04-10 at 12 22 34 PM

(Fixed color in autocomplete)
Screenshot 2023-04-10 at 12 23 16 PM

Screenshot 2023-04-10 at 12 24 37 PM

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

Get this removed
@github-actions github-actions bot added the product PR or Issue related to the DataHub UI/UX label Apr 10, 2023
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.

good stuff

@jjoyce0510 jjoyce0510 merged commit f0c5ba0 into datahub-project:master Apr 10, 2023
yoonhyejin pushed a commit that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants