Repository navigation
fix(ui): draw the search and inherited-node labels with the shared badge - #1328
Merged
Merged
Conversation
The newer-version, snapshot and repository labels of a search result and the "overridden" marker of an inherited node were hand-built spans with their own height, radius and colours. They now use the shared badge, so they match every other status label. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Part of migrate-content-to-components task 4.8, the disclosure and badge part. The disclosures named in the task (TeamLegacyGrants, SsoProviderDialog, RunHistory, ArrayListRenderer) and most badges already use the shared components. Two places still drew their status labels by hand: the search result row (newer version, snapshot, repository) and the "overridden" marker of an inherited node. They now use the shared badge, so the labels look like every other label in the dashboard.
Visible: the three search labels keep their colours (newer is tertiary, mirror is secondary, others outlined). The snapshot and repository text is now the muted on-surface-variant colour of the neutral badge instead of on-surface. The overridden marker changes from a filled grey chip to an outlined badge.
Type of change
fix- bug fixHow was this tested?
npm run eslintclean,npm run typecheckclean.Checklist
CLAUDE.md./gradlew buildpasses locally (frontend only change, not run)