Repository navigation
Cap the width of changed-file folder hints - #5158
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Human comments
What was wrong
Changed-file rows show the file's full folder path as a hint. When the panel had room, a deeply nested file's hint ran most of the row's width (
…s/design-system/src/components/navigation/sidebar/) while the other hints stayed short (src/,docs/). The one long hint broke the list's rhythm.What changed
The Info row folder hint is capped at
max-w-44(11rem). Long paths still truncate from the left, so the nearest folders stay visible. Plugin names three or four folders above a file stay readable (plugins/navigation/app/ui/,…/provider-claude-code/src/bridge/). Short hints don't change, and the full path stays in the row's tooltip.Widths were compared on real bb paths. At 7rem every plugin name was cut, and at 9rem
provider-claude-codewas still cut. At 13rem, longapps/andpackages/hints began to sprawl across the row again.Narrow panels already truncated the hint below this width, so phone-width layouts look the same.
How you verified
Captured from the branch web app at 2× in headless Chrome for Testing through the Browser Automation plugin. Both captures use the same fixture thread. Its uncommitted files use real bb paths from
plugins/,apps/app/src/andpackages/shared-ui/.Before:
d18f6f2(main) · After:78cb136(PR head) · Captured at 2×Remote CI runs on the PR. Tests, typecheck and lint were not run locally.
Follow-up to #5144.
BB-Thread: Thread storage viz design
BB-Thread-ID: thr_pkx7jnw5gf
🤖 Generated with Claude Code