Skip to content

[Bug]: Performance - Notifications - Enabling Notifications takes a significant amount of time (>6 seconds) and disabling it also few seconds (2-3s) #25754

Open
@seaona

Description

@seaona

Describe the bug

Enabling Notifications takes a significant amount of time (>6 seconds) and disabling it also few seconds (2-3s). In both cases it takes long:

  • If you have the notifications disabled, and click on Notifications, you will enable them from the popup, leaving the popup with the loading spinner
  • If you have the notifications enabled, and go to Notifications settings, then you can disabled from there and re-enabeld from there. You will stay in settings with the loading spinner

Expected behavior

This issue can be investigated under the improve performance goal, together with other slow flows that have already been identified

Screenshots/Recordings

perf-notifications-2.mp4

Steps to reproduce

  1. Enable Notifications with several accounts in the wallet -- see loading time
  2. Disable Notifications for an individual account -- see loading time
  3. Disable Notifications for all accounts -- see loading time

Error messages or log output

No response

Version

12.0.0

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev2-normalNormal severity; minor loss of service or inconvenience.area-performanceIssues relating to slowness of app, cpu usage, and/or blank screens.team-notificationsDEPRECATED: Use "team-assets" insteadtype-bugSomething isn't working

    Type

    No type

    Projects

    Status

    To be fixed

    Status

    To be triaged

    Status

    To be fixed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions