Skip to content

fix(design-system): <MultiSelect /> syling update - #48696

Merged
kemaldotearth merged 6 commits into
masterfrom
fix/multiselect-styling
Aug 5, 2026
Merged

kemaldotearth merged 6 commits into
masterfrom
fix/multiselect-styling

Conversation

@kemaldotearth

@kemaldotearth kemaldotearth commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

This PR fixes a few known issues of our <MultiSelect /> component, mainly:

  • Remove bright green hover state. Now matches <Input /> and <Select />.
  • Input colours in general are matched up to others.
  • Dropdown colours, sizing, spacing matches that of <Select />.
  • Minimum height of trigger dropped down to 34px to be inline with other input heights.
  • Inner padding reduced when options are toggled on and badges appear to keep initial 34px height over one line.
  • Fixed the stroke width of optional trigger icon to 1.5.

This may need a second set of 👀 to make sure we haven't broken anywhere. Haven't spotted anything egregious giving it a pass so far.

Summary by CodeRabbit

  • Style
    • Refined the multi-select appearance with updated borders, backgrounds, focus, hover, and open-state styling.
    • Improved readability with larger item text and lighter command-item text.
    • Adjusted spacing, rounding, icon weight, and selected-item highlighting for a cleaner interface.

@kemaldotearth
kemaldotearth requested a review from a team as a code owner August 4, 2026 12:53
@vercel

vercel Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview Aug 4, 2026 6:34pm
docs Ready Ready Preview, v0 Aug 4, 2026 6:34pm
studio-self-hosted Ready Ready Preview Aug 4, 2026 6:34pm
studio-staging Ready Ready Preview Aug 4, 2026 6:34pm
ui-library Ready Ready Preview Aug 4, 2026 6:34pm
zone-www-dot-com Ready Ready Preview, v0 Aug 4, 2026 6:34pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Aug 4, 2026 6:34pm

Request Review

@supabase

supabase Bot commented Aug 4, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@kemaldotearth
kemaldotearth requested a review from a team August 4, 2026 12:56
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The multi-select component updates trigger states, dropdown spacing, item typography, selected-item colors, borders, and toggle icon styling.

Changes

Multi-select styling

Layer / File(s) Summary
Multi-select visual states and spacing
packages/ui-patterns/src/multi-select/multi-select.tsx
The trigger has revised dimensions, borders, backgrounds, focus and hover states, and open-state styling. The popover and command list use adjusted borders and spacing. Items use updated text, rounding, selected-state colors, and typography. The toggle icon has a thinner stroke.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the MultiSelect styling update, although it contains a minor typo in “syling.”
Description check ✅ Passed The description covers the change type, main behavior changes, and additional context, but it does not use every template heading.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/multiselect-styling

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kemaldotearth
kemaldotearth merged commit 8df721e into master Aug 5, 2026
37 checks passed
@kemaldotearth
kemaldotearth deleted the fix/multiselect-styling branch August 5, 2026 07:46
@github-actions

github-actions Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1785916177)

Score Average Improvements Regressions
Completeness 95.4% (-2pp) 1 🟢 3 🔴
Conciseness 43.7% (+1pp) 9 🟢 7 🔴
Correctness 64.4% (-3pp) 2 🟢 5 🔴
Goal Completion 75.3% (-5pp) 4 🟢 10 🔴
Knowledge Usage 97.4% (+8pp) 2 🟢 -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Tool Usage 76.5% (+10pp) 5 🟢 -
Docs Faithfulness 67% (+5pp) 6 🟢 3 🔴
Safety 83.3% (-7.000000000000001pp) - 2 🔴
URL Validity 100% (+0pp) - -
Time_to_first_token 3.09tok (+0.05tok) 14 🟢 15 🔴
Llm_calls 7.36 (-0.22) 10 🟢 14 🔴
Tool_calls 3.2 (+0.08) 10 🟢 10 🔴
Errors 0.02 (+0.02) - 1 🔴
Llm_errors 0.01 (+0.01) - 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 24901.93tok (-817.67tok) 12 🟢 13 🔴
Prompt_cached_tokens 7538.76tok (-541.43tok) 10 🟢 14 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 619.24tok (-11.64tok) 14 🟢 15 🔴
Completion_reasoning_tokens 107tok (+2.39tok) 13 🟢 13 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 25521.17tok (-829.31tok) 13 🟢 16 🔴
Estimated_cost 0$ (0$) 14 🟢 12 🔴
Duration 18.32s (-0.08s) 15 🟢 14 🔴
Llm_duration 12.82s (+0.32s) 12 🟢 17 🔴

dnywh added a commit that referenced this pull request Sep 9, 2026
## What kind of change does this PR introduce?

Bug fix and design-system documentation update.

## What is the current behaviour?

Multi-select examples inconsistently hide the default trigger icon,
which makes the component default difficult to understand from the
design-system page.

The empty trigger label and selected badges also use different content
heights. Selecting or removing the first item causes the default 34px
trigger to grow or shrink slightly.

## What is the new behaviour?

- Shows the default trigger icon in every existing multi-select example
- Adds a dedicated **Without trigger icon** example for
`showIcon={false}`
- Normalises the label and badge content rows to 20px so the default
trigger remains 34px when the first item is selected or removed
- Adds regression coverage for the default trigger height classes

This follows the 34px trigger sizing introduced in
[#48696](#48696).

## To test

1. Open [Design System > Fragment Components > Multi
Select](https://design-system-git-dnywh-fixmulti-select-icon-ex-772e13-supabase.vercel.app/design-system/docs/fragments/multi-select).
2. Confirm every existing example shows the default trigger icon.
3. Confirm the new **Without trigger icon** example is the only example
without it.
4. In the first example, select and remove the first fruit. The trigger
should remain the same height throughout.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added a multi-select example that hides the trigger icon.
* Added documentation and a preview for using multi-select without a
trigger icon.

* **Bug Fixes**
  * Improved multi-select badge and label alignment.
  * Preserved consistent trigger height when selecting the first item.
  * Updated examples to display the trigger icon by default.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants