erictfbat If you have time, those all sound like great additions! π
I think that ideally, most of these would be opt-in via settings in the admin panel.
The Whisper extension, which this extension is mostly based off of, had a bunch of code where if a forum had Push enabled, the message count, new messages, etc. would automatically update without needing to reload the page. When I updated this extension to work with the latest version of Flarum, I pretty much commented out but left in all of the Push-related code.
Kyrne (the author of Whisper) had another extension that replaced the default paid Push extension with a websockets-based one, so I think that originally, if someone wanted the messages to update without reloading, the path was to install Kyrne's websockets-based Push replacement extension, and then this extension would automatically interface with it. If you want to add code so that things update in the background, I suppose one way to go about it might be to uncomment and fix the Push-related code and also fix Kyrne's old websocket-based Push replacement. But that's a lot of work, and polling might work just as well! ^_^
Anyway, thanks again for the offer to help! If you have time, I'm sure people would appreciate these updates/bug-fixes π
And glad that you and the people on your forum find this helpful! ^_^