Open honsp opened 2 years ago
Would be a very welcome change, some users may also only use the webpage for tracking changes and don't necessarily need any notifications.
I assume that at least on Wayland it's not viable to automatically refresh a Firefox tab (without addons), you can only open a new one:
firefox -new-tab http://127.0.0.1:5000/
Agreeing this would be a nice feature. For instance it always bugged me that when I hit a "Recheck" button it'll change to "Queued" but the page doesn't update once the check has been performed so I have to manually refresh to get the results.
@dgtlmoon would you accept a vanilla JS implementation of this? or would you prefer to use any particular framework?
@RayBB I think VueJS-3 is probably the better long-term choice, the reason I havent added much real-time stuff here is that I know from experience (a lot of experience!) that it quickly slides down into something very complex
I would like
Any implementation should use some kind of promise/whatever so that only 1 request-for-update can happen at anytime, ie, all updates/clicks/functions/whatever should go into a queue, it should NOT be possible to have a train-wreck of requests (sometimes the app will pause for a few seconds entirely while the browser-steps updates etc)
that is the other thing to consider
otherwise, go for it :) it would be very very welcomed :)
The watch-table-overview to update say every 5 seconds with a little loading "stripe' across the top of the page
And by this, I mean specifically that the table should not REWRITE, it should ONLY update the existing watches in their existing order, otherwise the table will jump around like hell and be hard to read
although this could be an on/off feature in the future
@RayBB anything? :)
I haven't had a chance to pick this up. If you or anyone else wants to go ahead. I agree doing it in Vue is probably the right choice long term but the work of getting Vue integrated into this project isn't that appealing to me. Deciding on which libraries, typescript or not, build tools, etc is an area I'm not too familiar with.
Version and OS v0.39.12 in docker, running on my NAS and the website opened on my second monitor
Is your feature request related to a problem? Please describe. I am using changedetection.io for detecting changes on rental portals. Very often I have the page opened on the second monitor and get a notification on my phone, and have to refresh the page to see what was triggered.
Describe the solution you'd like Automatic refresh of the page or only content, so it is visible right away what changed. Seems to be possible by just getting the next automatic time scheduled + max timeout, and refresh at that timestamp. Or other options could be a connection to the server to be notified when the state changes. Or just a configuration to automatically refresh every N minutes/seconds.