Skip to content

CS-11326: standardize sort + selection-menu triggers on CaretDown (flip on open)#5114

Merged
lukemelia merged 1 commit into
mainfrom
cs-11326-standardize-dropdown-arrow
Jun 5, 2026
Merged

CS-11326: standardize sort + selection-menu triggers on CaretDown (flip on open)#5114
lukemelia merged 1 commit into
mainfrom
cs-11326-standardize-dropdown-arrow

Conversation

@lukemelia
Copy link
Copy Markdown
Contributor

CS-11326. The sort menu used the filled DropdownArrowDown and never flipped on open; boxel-ui's form controls (select/multi-select/picker/dropdown) all use the thin CaretDown chevron and flip. Switch the sort-dropdown and selection-menu triggers to CaretDown, and flip the sort caret on open via its aria-expanded state.

Scope decision: toolbar triggers only — the ~8 host-chrome DropdownArrowDown usages are intentionally left alone.

First of three PRs split out of #5105 (stacked): this one → cs-11325; CS-11327 → this; CS-11328 → CS-11327. Verified live earlier in the combined branch.

🤖 Generated with Claude Code

@lukemelia lukemelia changed the base branch from cs-11325-card-chooser-selection-trigger-reconsider-adorn-pill-vs to main June 4, 2026 22:33
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Preview deployments

Host Test Results

    1 files      1 suites   1h 50m 25s ⏱️
2 936 tests 2 921 ✅ 15 💤 0 ❌
2 955 runs  2 940 ✅ 15 💤 0 ❌

Results for commit 157f837.

Realm Server Test Results

    1 files  ± 0      1 suites  ±0   13m 9s ⏱️ + 3m 6s
1 559 tests +10  1 558 ✅ +10  1 💤 ±0  0 ❌ ±0 
1 650 runs  +10  1 649 ✅ +10  1 💤 ±0  0 ❌ ±0 

Results for commit 157f837. ± Comparison against earlier commit 4461b18.

…flip on open)

CS-11326. The sort menu used a different arrow (filled DropdownArrowDown) than
boxel-ui's form controls (select/multi-select/picker/dropdown all use the thin
CaretDown chevron) and never flipped on open. Switch the sort and selection-menu
triggers to CaretDown and flip the sort caret on open via the trigger's
aria-expanded state (the selection-menu caret already flipped). Scoped to the
toolbar triggers; the ~8 host-chrome DropdownArrowDown usages are left as-is.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lukemelia lukemelia force-pushed the cs-11326-standardize-dropdown-arrow branch from 4461b18 to 157f837 Compare June 4, 2026 23:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Standardizes the dropdown trigger affordance in boxel-ui toolbar controls by replacing the filled down-arrow icon with the thin CaretDown chevron and ensuring the sort trigger visually indicates open state by flipping the caret when the dropdown is expanded.

Changes:

  • SortDropdown now uses CaretDown and flips the caret based on aria-expanded='true'.
  • SelectionMenu trigger icon is switched from DropdownArrowDown to CaretDown to match other boxel-ui form controls.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/boxel-ui/addon/src/components/sort-dropdown/index.gts Replaces the trigger icon with CaretDown and adds open-state caret flip styling via aria-expanded.
packages/boxel-ui/addon/src/components/selection-menu/index.gts Replaces the trigger icon with CaretDown to align trigger visuals with other boxel-ui dropdown/select controls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lukemelia lukemelia requested review from a team and burieberry June 5, 2026 01:35
@lukemelia lukemelia marked this pull request as ready for review June 5, 2026 01:35
@lukemelia lukemelia merged commit 31f9da7 into main Jun 5, 2026
99 of 102 checks passed
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.

4 participants