Skip to content

fix: Refresh topics when the user accept notifications#183

Merged
tevincent merged 7 commits into
mainfrom
fix-notification-registration
May 19, 2026
Merged

fix: Refresh topics when the user accept notifications#183
tevincent merged 7 commits into
mainfrom
fix-notification-registration

Conversation

@tevincent
Copy link
Copy Markdown
Contributor

@tevincent tevincent commented May 18, 2026

Copilot AI review requested due to automatic review settings May 18, 2026 12:37
@tevincent tevincent requested a review from baillyjamy May 18, 2026 12:38
@tevincent tevincent force-pushed the fix-notification-registration branch from 282921d to 7b14d5c Compare May 18, 2026 12:38
@tevincent tevincent enabled auto-merge May 18, 2026 12:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the notification-permission onboarding flow to trigger a notifications registration refresh (via NotificationsRegistrationManager) when leaving the permission screen, aiming to ensure notification topics/device registration is up to date after the user responds to the permission prompt.

Changes:

  • Schedule RegisterUserDeviceWorker via NotificationsRegistrationManager.scheduleWorkerOnUpdate from NotificationPermissionScreen.
  • Wire the worker with notificationTopicsForUser(...) to compute the latest topic list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tevincent tevincent force-pushed the fix-notification-registration branch from 4c756a8 to cf0c460 Compare May 18, 2026 14:36
@github-actions
Copy link
Copy Markdown
Contributor

This PR/issue depends on:

@sonarqubecloud
Copy link
Copy Markdown

@tevincent tevincent merged commit 9b15771 into main May 19, 2026
9 checks passed
@tevincent tevincent deleted the fix-notification-registration branch May 19, 2026 06:29
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.

3 participants