-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
🚀 Feature: Catalog UI should consistently use metadata.title for entity hyperlinks #15965
Comments
Hmm - I think this could require some larger refactoring here for us to use the data that we already have in place when making the query to the Catalog. For instance we don't want to enrich the Happy for some explorations on how we can do it the best through contributions however 🙏 |
Somewhat related #15987 |
FWIW: I've run into a similar issue with no resolution. Would love to see the title for owner links. @benjdlambert I wonder if #16021 would start the ball rolling with this? The new Related: #16301 |
I think more generally some form of lightweight client-side caching is the way to get this snappy enough for it to make sense. We'd definitely want to avoid refetching the same entities for multiple table cells etc. Caching is always hard though, so requires a bit of an investigation into how to do it safely. If we can build caching into the system then implementing this should be a quite simple followup. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, still waiting for proper caching :) |
Feel like this is related: #17474 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
🔖 Feature description
The UI currently lacks consistency when rendering hyperlinks or autocomplete pickers for entities.
Catalog table
Uses metadata.title for the name column, but uses metadata.name for the linked owner column
Catalog Graph
Consistently uses metadata.title for all entities in the catalog graph
User overview page
Uses metadata.name for the groups that the user is part of
Group overview page
Uses metadata.name for the parent and child groups
Scaffolder OwnerPicker
Uses metadata.name for all users / groups in the autocomplete picker
It seems like this really needs to be made consistent and should prefer metadata.title always to metadata.name. For my use case in particular, metadata.name uses uuids imported from other systems and often are not helpful at all to the end user.
🎤 Context
My organization imports Groups and Components into backstage from external systems. For these imported entities, the
metadata.name
is usually incomprehensible and unsearchable to an end user, often times being a UUID. These entities also have human readable display names which are set in themetadata.title
, however these could not have been used for themetadata.name
because they aren't unique.✌️ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: