Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: decouple listNotifications from useProfileSyncing #30004

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

mathieuartu
Copy link
Contributor

@mathieuartu mathieuartu commented Jan 30, 2025

Description

This PR moves the notifications logic from useProfileSyncing to the Notifications context.

Open in GitHub Codespaces

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/IDENTITY-14

Manual testing steps

  1. Enable notifications
  2. Disable profile syncing
  3. Verify that the notifications counter has been updated

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot
Copy link
Collaborator

Builds ready [14982e2]
Page Load Metrics (1848 ± 90 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint63221301704345166
domContentLoaded15192388182419091
load15622407184818890
domInteractive26124603215
backgroundConnect106427189
firstReactRender17102412813
getState55514136
initialActions01000
loadScripts11061823133315575
setupStore765292311
uiStartup18362638214120799
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: -208 Bytes (-0.00%)
  • common: 0 Bytes (0.00%)

@mathieuartu mathieuartu marked this pull request as ready for review January 30, 2025 13:23
@mathieuartu mathieuartu requested review from a team as code owners January 30, 2025 13:23
@mathieuartu mathieuartu added this pull request to the merge queue Jan 30, 2025
Merged via the queue into main with commit 63b8dab Jan 30, 2025
75 checks passed
@mathieuartu mathieuartu deleted the fix/decouple-profile-sync-notifications branch January 30, 2025 14:19
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2025
@metamaskbot metamaskbot added the release-12.12.0 Issue or pull request that will be included in release 12.12.0 label Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.12.0 Issue or pull request that will be included in release 12.12.0 team-identity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants