feat: quick dropdown toggle and cleanup#3054
Merged
arnautov-anton merged 6 commits intomasterfrom Mar 25, 2026
Merged
Conversation
|
Size Change: +52 B (+0.01%) Total Size: 769 kB
ℹ️ View Unchanged
|
14c2d13 to
dca4fac
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3054 +/- ##
==========================================
+ Coverage 78.78% 78.92% +0.14%
==========================================
Files 426 426
Lines 12113 12064 -49
Branches 3929 3853 -76
==========================================
- Hits 9543 9522 -21
+ Misses 2549 2542 -7
+ Partials 21 0 -21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dca4fac to
c0ce2a2
Compare
c0ce2a2 to
ed806ac
Compare
oliverlaz
approved these changes
Mar 25, 2026
def406a to
756615b
Compare
63e4a5f to
2c2129e
Compare
7440c17 to
90fa3a2
Compare
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.
Breaking Changes
MessageActionSetItemunion expandedMessageActionSetItemnow includes a third variant,QuickDropdownToggleActionSetItem. Exhaustiveswitch/ifblocks over theplacementfield that do not handle'quick-dropdown-toggle'will produce TypeScript errors.Dropdown toggle button for
MessageActionsandChannelListItemActionButtonsis no longer hardcodedThe three-dot dropdown toggle button is no longer rendered inline by
MessageActionsandChannelListItemActionButtons. It is now sourced from the action set as aquick-dropdown-toggleplacement item. CustommessageActionSetorchannelActionSetarrays that previously relied on the built-in toggle button being rendered automatically must now include aquick-dropdown-toggleentry to retain the toggle. Omitting it will suppress the dropdown entirely (quick actions still render).Before (toggle rendered automatically when dropdown items exist):
After (toggle must be provided explicitly):
New Features
New
quick-dropdown-toggleaction placementA new
'quick-dropdown-toggle'placement is available for both message and channel action sets. This allows full customization of the button that opens the dropdown context menu. The component receives a forwardedref(used for dropdown positioning) and must render a<button>.New exported type:
Bug Fixes
Avatar CSS variable fix
The Avatar component's border CSS variable was corrected from
--border-core-inverted(nonexistent) to--border-core-inverse.Minor Changes
QuickMessageActionsButtonnow renders atsize='sm'The
QuickMessageActionsButtoncomponent now passessize='sm'to the underlyingButton, making quick action buttons visually smaller and consistent with the dropdown toggle.defaultMessageActionSetanddefaultChannelActionSetinclude aquick-dropdown-toggleentryBoth default action sets now ship with a
quick-dropdown-toggleitem at the beginning of the array. The default toggle renders the three-dot icon (IconDotGrid1x3Horizontal) and manages dialog open/close state.