fix(ui): Fix tags display name + color in UI for autocomplete, search preview, entity profile #7785
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Status
Ready for review
Screenshots
Before (notice the URN derived name):
![Screenshot 2023-04-10 at 12 20 33 PM](https://user-images.githubusercontent.com/17549204/230980140-8cf405d2-17bd-4442-8180-e162d94bce4e.png)
(Fixed color in autocomplete)
![Screenshot 2023-04-10 at 12 23 16 PM](https://user-images.githubusercontent.com/17549204/230980261-698f049f-f960-42bc-a31a-b369a67b886b.png)
Checklist