-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
🐛 Bug Report: Notifications plugin: Slow loading of pages when unread notifications are present #24866
Comments
Do you have the |
Hi @drodil , yes the |
@lshwayne96 did you try turning off features (like the titleCounter) from the sidebar item by using props? |
@drodil I just tested it, seems like setting |
@lshwayne96 yeah, we had the same issue in our app but it doesn't do that in the upstream app. Somehow the title counter gets in a loop and causes this. This should be fixed or the feature to be removed, not sure which is the best course of action. I am on holiday so maybe @mareklibra can take over? |
@drodil Oh I see, I didn't realize while testing that the title counter was actually in an infinite loop. Apologies for the trouble and thanks for your help! |
Fix: #24879 |
@lshwayne96 Thanks for reporting the issue 👍 |
📜 Description
All pages (not just the notifications page) seem to take much longer to load than usual when there are unread notifications, and sometimes they can get stuck loading for more than 10 seconds. The entire Backstage application may also start responding slowly (lagging).
The problem goes away when all notifications are marked as read.
👍 Expected behavior
The presence of unread notifications should not affect the loading times of all pages and cause the app to respond slowly.
👎 Actual Behavior with Screenshots
The presence of unread notifications increases the loading times of all pages and causes the app to respond slowly.
👟 Reproduction steps
📃 Provide the context for the Bug.
No response
🖥️ Your Environment
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: