Skip to content

feat: display notifications above modals - #3200

Merged
MartinCupela merged 3 commits into
masterfrom
feat/notifications-on-modals
Jun 3, 2026
Merged

feat: display notifications above modals#3200
MartinCupela merged 3 commits into
masterfrom
feat/notifications-on-modals

Conversation

@MartinCupela

Copy link
Copy Markdown
Contributor

🎯 Goal

ChannelDetails modal will allow to perform HTTP requests, that can result in error response (or success) and we will need to display notifications on top of the modal without closing it. The following PR allows to do that and prevent displaying notifications behind modal overlay of modal. All the notifications are routed to the 'modal' panel, when modal is open and are not displayed in the original target panel (e.g. 'channel'), after the modal is closed.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Size Change: +1.78 kB (+0.27%)

Total Size: 654 kB

πŸ“¦ View Changed
Filename Size Change
dist/cjs/emojis.js 2.54 kB +2 B (+0.08%)
dist/cjs/index.js 254 kB -2 kB (-0.78%)
dist/cjs/useNotificationApi.js 49.7 kB +3.12 kB (+6.69%) πŸ”
dist/es/emojis.mjs 2.47 kB +1 B (+0.04%)
dist/es/index.mjs 251 kB -2.39 kB (-0.94%)
dist/es/useNotificationApi.mjs 48.4 kB +3.05 kB (+6.72%) πŸ”
ℹ️ View Unchanged
Filename Size
dist/cjs/audioProcessing.js 1.74 kB
dist/cjs/mp3-encoder.js 814 B
dist/css/emoji-picker.css 178 B
dist/css/emoji-replacement.css 456 B
dist/css/index.css 39.7 kB
dist/es/audioProcessing.mjs 1.65 kB
dist/es/mp3-encoder.mjs 768 B

compressed-size-action

@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.03922% with 1 line in your changes missing coverage. Please review.
βœ… Project coverage is 83.81%. Comparing base (4cddb02) to head (7e0dc27).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/components/Chat/Chat.tsx 92.85% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3200      +/-   ##
==========================================
+ Coverage   83.70%   83.81%   +0.11%     
==========================================
  Files         435      438       +3     
  Lines       13130    13189      +59     
  Branches     4252     4273      +21     
==========================================
+ Hits        10990    11054      +64     
+ Misses       2140     2135       -5     

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MartinCupela
MartinCupela merged commit 0433090 into master Jun 3, 2026
9 checks passed
@MartinCupela
MartinCupela deleted the feat/notifications-on-modals branch June 3, 2026 13:04
github-actions Bot pushed a commit that referenced this pull request Jun 5, 2026
## [14.4.0](v14.3.0...v14.4.0) (2026-06-05)

### Bug Fixes

* **compat:** restore React 17/18 compatibility in certain components ([#3197](#3197)) ([b513b69](b513b69))
* general performance and bug fixes ([#3201](#3201)) ([57c5795](57c5795))
* **interop:** unwrap CJS default exports (react-player, @emoji-mart/react) ([#3199](#3199)) ([4cddb02](4cddb02))
* maintain topmost modal non-inert ([#3206](#3206)) ([7ad98fa](7ad98fa))

### Features

* allow to stack modals on top of each other ([#3203](#3203)) ([4c934ae](4c934ae))
* display notifications above modals ([#3200](#3200)) ([0433090](0433090))
* **Reactions:** send emoji_code with reactions for push notification rendering ([#3209](#3209)) ([2faa620](2faa620))

### Performance Improvements

* **Message:** hoist regex compilation in message text rendering ([#3202](#3202)) ([8c018a4](8c018a4))
* **VideoPlayer:** lazy-load react-player to keep it out of the main bundle ([#3204](#3204)) ([18dc966](18dc966))
@stream-ci-bot

Copy link
Copy Markdown

πŸŽ‰ This PR is included in version 14.4.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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants