#609: Registries Configuration summary section overflows on smaller screens#615
Merged
Conversation
…on smaller screens Rework status update row layout to match Figma design. Cap left panel at 50% width, truncate long registry names and URIs with ellipsis, and ensure badge text is never truncated or wrapped.
rushk014
commented
Jun 17, 2026
| // Sort and limit the registryStatusList to 5 most recent updates | ||
| registryStatusList.sort((a, b) => new Date(b.lastTransitionTime) - new Date(a.lastTransitionTime)).slice(0, 5); | ||
| // Sort the registryStatusList by most recent update | ||
| registryStatusList.sort((a, b) => new Date(b.lastTransitionTime) - new Date(a.lastTransitionTime)); |
Contributor
Author
There was a problem hiding this comment.
Note the .slice(0, 5) is redundant since the return value is never assigned. The top5StatusUpdates from which registryStatusList is computed is already truncated above on L186 so the length will always be <= 5
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
Fix #609

Reworks status update row layout to match Figma design.
Test