Displays the number of unread notifications of your Discourse account, same notifications of Discourse balloon also with tab closed
You can also click the icon to open the Discourse site.
He can shortly work on it and made a generic customizable extension on your Discourse installation
Do you like it?
No it does not conflict with desktop notification, because as @alefattorini said, it shows only the number of notifications. I had thought to implement desktop notifications in a future version, when I did know your work on it. Probably it could be useful only when the tab is closed, to not show duplicated notifications.
I think this is pretty cool, and might be an interesting thing to add to my community. You say that your friend is going to do more work on this, any chance he could open source it?
Sorry for the mistake @sam, the counter and update methods were raw… I’ve reimplemented the extension to use MessageBus. It does only an initial json request to session/current.json to obtain che current user id (the response it’s about 1.5 KB) to use with MessageBus.subscribe /notification/userId (each response with data is about 800 B in my case). I’ve not found another method: exists ? You can verify the code here.
Is the cpu load fixed ?
Is there some documentation about subscriptions that can be done in MessageBus ?
Now the extension v0.2 shows notifications list with a popup clicking the icon: here some info. @sam is available the documentation about rest api ? How is it going with the processing time ?