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

[Bug] inbox notification doesn't automatically update #70

Open
donnielrt opened this issue Aug 31, 2023 · 2 comments
Open

[Bug] inbox notification doesn't automatically update #70

donnielrt opened this issue Aug 31, 2023 · 2 comments

Comments

@donnielrt
Copy link

Hey, thanks for making this beautiful UI for lemmy!

It seems like that the unread message alert doesn't actually get updated automatically when the state changes:

image

If I right-click to open the notification in a new tab to read it (since I don't want to lose my position in the feed) and mark the notification as read, it still doesn't update until I reload the page.

Minor annoyance, but triggers my OCD :)

@sheodox
Copy link
Owner

sheodox commented Sep 1, 2023

It will update eventually, but Alexandrite polls very slowly for unread notifications, I think once every 20 minutes? I might make it a bit faster at some point, but I've also been thinking about making some system for cross-tab coordination so I can sync things like the unread count better without having to massively lower the polling interval.

@donnielrt
Copy link
Author

Gotcha, makes sense. Yeah, polling too often wouldn't be polite, and a cross-tab messaging system would probably be the way to go. Perhaps a service worker in the background? That might also help with things like blocking network requests for blocked instances, etc. if you ever choose to build it!

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

No branches or pull requests

2 participants