Repository navigation
Conversation
Add `Combobox.Trigger variant="compact"`, matching Select's compact variant: an outlined capsule whose label is announced rather than shown, for rows of compact controls such as a task's status and assignees. Give every Combobox menu the compact Select's minimum width, so a narrow trigger such as an avatar stack no longer squeezes names mid-word. Co-authored-by: Vogue <86a9516b8bdd0bbb22ab9340ed157fccdf422ae31bbb2fe2d59aba37c886f5d3@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
An avatar stack inside the compact trigger sat on the text baseline, which grew the line box and made the trigger 37px beside a 32px compact Select. Align artwork in a compact value to the line box, and tuck identity artwork toward the leading edge as small identity buttons do. The viewer specimen now uses a real avatar stack. Co-authored-by: Vogue <86a9516b8bdd0bbb22ab9340ed157fccdf422ae31bbb2fe2d59aba37c886f5d3@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
This branch has not been deployed
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.
Why
The Tasks screen (#3561) puts a task's status and assignees side by side. Status uses a compact Select, but the assignee picker could only use the full-size Combobox trigger, which always shows a visible label. So the row didn't line up. The Combobox menu also took the trigger's width, so beside a small avatar trigger, names broke mid-word.
What changes
Combobox.Trigger variant="compact": the same outlined capsule as a compact Select, with the label announced to screen readers rather than shown. The defaultfieldtrigger is unchanged.The checkmark-versus-fill selection treatment is deliberately left out.
Checks
design:typecheck,design:check,design:testanddesign:buildpass. There's a new test confirming the compact trigger is named by its label without showing it, and that it opens.pnpm checkreports lint warnings in files this PR doesn't touch.vite-config,codex-sh).🤖 Generated with Claude Code