Skip to content

ref(compactSelect) add prebuilt compactSelect menu components #109171

Merged
JonasBa merged 6 commits intomasterfrom
jb/comapactselect/streamline-render
Feb 24, 2026
Merged

ref(compactSelect) add prebuilt compactSelect menu components #109171
JonasBa merged 6 commits intomasterfrom
jb/comapactselect/streamline-render

Conversation

@JonasBa
Copy link
Member

@JonasBa JonasBa commented Feb 24, 2026

Adds the prebuild components to CompactSelect. These were previously only defined in HybridFilters, but they should actually exist at a lower lever given their wide use.

I am open to better naming, MenuComponents does not feel like the best choice, maybe something like CompactSelectComponents would have been better and more in line with the CompactSelect component

@JonasBa JonasBa requested review from a team as code owners February 24, 2026 04:30
@JonasBa JonasBa changed the title ref(compactSelect) add prebuild compactSelect components ref(compactSelect) add prebuilt compactSelect menu components Feb 24, 2026
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 24, 2026
@JonasBa JonasBa force-pushed the jb/comapactselect/streamline-render branch from 8006a54 to b538076 Compare February 24, 2026 04:44
Copy link
Collaborator

@TkDodo TkDodo left a comment

Choose a reason for hiding this comment

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

discoverability might be a problem here. I wouldn’t know that I can use menuComponents inside a compactSelect. But then again, I had a similar problem with trigger and it became OverlayTrigger which also isn’t great I think 😅

@JonasBa
Copy link
Member Author

JonasBa commented Feb 24, 2026

@TkDodo Spot on. I plan to experiment with a custom lint rule to whitelist what elements we can allow in these slots, see draft. Worth seeing how well it works

Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@JonasBa JonasBa enabled auto-merge (squash) February 24, 2026 15:53
@JonasBa JonasBa merged commit 64b77ac into master Feb 24, 2026
63 checks passed
@JonasBa JonasBa deleted the jb/comapactselect/streamline-render branch February 24, 2026 15:59
mchen-sentry pushed a commit that referenced this pull request Feb 24, 2026
Adds the prebuild components to CompactSelect. These were previously
only defined in HybridFilters, but they should actually exist at a lower
lever given their wide use.

I am open to better naming, MenuComponents does not feel like the best
choice, maybe something like CompactSelectComponents would have been
better and more in line with the CompactSelect component
wedamija pushed a commit that referenced this pull request Feb 24, 2026
Adds the prebuild components to CompactSelect. These were previously
only defined in HybridFilters, but they should actually exist at a lower
lever given their wide use.

I am open to better naming, MenuComponents does not feel like the best
choice, maybe something like CompactSelectComponents would have been
better and more in line with the CompactSelect component
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants