Skip to content

feat(notifications): add in-app notification scaffold and host#9628

Merged
rafaeltonholo merged 4 commits intothunderbird:mainfrom
rafaeltonholo:feat/9312/add-in-app-notification-host-and-scaffold
Sep 5, 2025
Merged

feat(notifications): add in-app notification scaffold and host#9628
rafaeltonholo merged 4 commits intothunderbird:mainfrom
rafaeltonholo:feat/9312/add-in-app-notification-host-and-scaffold

Conversation

@rafaeltonholo
Copy link
Member

@rafaeltonholo rafaeltonholo commented Aug 19, 2025

Resolves #9537.
Part of #9312.
Depends on #9624.

  • Introduce InAppNotificationHost used to properly show, hide and dismiss in-app notifications, listening events from InAppNotificationReceiver
  • Introduce InAppNotificationScaffold acting as a wrapper for Scaffold composable, letting any screen which uses it be able to display in-app notifications without many changes
  • Migrate SnackbarNotification.duration from kotlin.time.Duration to SnackbarDuration, making it compatible with Compose implementation
  • Unit test

@rafaeltonholo rafaeltonholo force-pushed the feat/9312/add-in-app-notification-host-and-scaffold branch from 6eada3f to 4c63c91 Compare August 19, 2025 21:46
@rafaeltonholo rafaeltonholo force-pushed the feat/9312/add-in-app-notification-host-and-scaffold branch 5 times, most recently from 64b29e6 to b433ff7 Compare August 26, 2025 14:00
@rafaeltonholo rafaeltonholo marked this pull request as ready for review September 2, 2025 21:12
@rafaeltonholo rafaeltonholo requested a review from a team as a code owner September 2, 2025 21:12
@rafaeltonholo rafaeltonholo force-pushed the feat/9312/add-in-app-notification-host-and-scaffold branch 2 times, most recently from f22599c to 7a56883 Compare September 3, 2025 15:57
@rafaeltonholo rafaeltonholo force-pushed the feat/9312/add-in-app-notification-host-and-scaffold branch from 7a56883 to 5e6857d Compare September 5, 2025 15:09
@asoucar asoucar self-requested a review September 5, 2025 16:36
@rafaeltonholo rafaeltonholo merged commit 283fada into thunderbird:main Sep 5, 2025
4 checks passed
@rafaeltonholo rafaeltonholo deleted the feat/9312/add-in-app-notification-host-and-scaffold branch September 5, 2025 16:38
@thunderbird-botmobile thunderbird-botmobile bot added this to the Thunderbird 14 milestone Sep 5, 2025
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.

In-App Error Notifications - Scaffolding - Create InAppNotificationHost

2 participants