Skip to content

Conversation

@MartinCupela
Copy link
Contributor

🎯 Goal

Allow users to pass a callback invoked once the app menu item is selected. The default onSelect callback closes the AppMenu dropdown.

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #1754 (4c4feff) into develop (488a1b1) will increase coverage by 3.95%.
The diff coverage is 91.25%.

@@             Coverage Diff             @@
##           develop    #1754      +/-   ##
===========================================
+ Coverage    79.59%   83.55%   +3.95%     
===========================================
  Files          231      256      +25     
  Lines         5799     6239     +440     
  Branches      1644     1675      +31     
===========================================
+ Hits          4616     5213     +597     
+ Misses        1042      871     -171     
- Partials       141      155      +14     
Impacted Files Coverage Δ
src/components/Avatar/Avatar.tsx 100.00% <ø> (ø)
src/components/Channel/channelState.ts 63.41% <ø> (ø)
src/components/Chat/hooks/useCreateChatContext.ts 100.00% <ø> (ø)
src/components/Chat/hooks/useCustomStyles.ts 60.00% <ø> (ø)
...c/components/ChatAutoComplete/ChatAutoComplete.tsx 85.71% <ø> (ø)
src/components/Loading/LoadingChannels.tsx 100.00% <ø> (ø)
src/components/Message/MessageDeleted.tsx 100.00% <ø> (ø)
src/components/Message/MessageTimestamp.tsx 100.00% <ø> (ø)
src/components/Message/hooks/index.ts 100.00% <ø> (ø)
src/components/Message/index.ts 100.00% <ø> (ø)
... and 150 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

petyosi
petyosi previously approved these changes Sep 15, 2022
oliverlaz
oliverlaz previously approved these changes Sep 15, 2022
@MartinCupela MartinCupela changed the title feat: provide onSelect callback to app menu feat: provide close callback to app menu Sep 16, 2022
Co-authored-by: Anton Arnautov <43254280+arnautov-anton@users.noreply.github.com>
@MartinCupela MartinCupela merged commit 5202a5f into develop Sep 16, 2022
@MartinCupela MartinCupela deleted the feat/provide-onselect-callback-to-app-menu branch September 16, 2022 11:00
@MartinCupela MartinCupela mentioned this pull request Sep 19, 2022
github-actions bot pushed a commit that referenced this pull request Sep 19, 2022
# [10.1.0](v10.0.2...v10.1.0) (2022-09-19)

### Bug Fixes

* **VirtualizedMessageList:** use memoized values as hook dependencies directly ([#1761](#1761)) ([41d1d67](41d1d67))

### Features

* provide close callback to app menu ([#1754](#1754)) ([5202a5f](5202a5f))
@petyosi
Copy link
Contributor

petyosi commented Sep 19, 2022

🎉 This PR is included in version 10.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants