Repository navigation
fix(flags): keep long variant values on one truncated line in the flag table - #5329
Conversation
…g table Why: since the table moved to the console-ui kit's .ui-data classes (#5163), cells wrap text, so a long variant value such as delivery-enabled-environments wrapped into a cell dozens of lines tall instead of truncating with an ellipsis. .fl-value relied on the old table's nowrap. What: .fl-value sets white-space: nowrap itself, so the existing max-width and text-overflow: ellipsis apply again. Verification: rendered a local Flags server with a long delivery-enabled-environments value; every .fl-value computes white-space: nowrap at one line (17px). bunx lefthook run pre-commit passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011u9pQnKWrycqkZxjQrvL4Q
|
This change is part of the following stack: Change managed by git-spice. |
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
@codex review Automated re-review request for |
Codex Review Summary: ✅ CompletedThis 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. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Why
Since #5163 moved the flag table to console-ui's
.ui-datakit classes, which let cell text wrap, a long variant value no longer truncates. On livedelivery/prod,delivery-enabled-environmentsrenders as a cell dozens of lines tall..fl-valuehadmax-widthandtext-overflow: ellipsis, but it relied on the old table class forwhite-space: nowrap.What
.fl-valuenow setswhite-space: nowrapitself, so the existing 26ch cap and ellipsis apply again. The full value is still in the cell'stitleand in the editor.Demo
main)Verification
delivery-enabled-environmentsvalue, rendered in a real browser: every.fl-valuecomputeswhite-space: nowrapand is one line high (17px).bun run verify:extended -- --filter='...[origin/main...HEAD]': 6/6 tasks pass; no affected workspace has extended steps.bunx lefthook run pre-commit: green.Part of FM-272 (found while verifying it).
🤖 Generated with Claude Code
https://claude.ai/code/session_011u9pQnKWrycqkZxjQrvL4Q