aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/request.js
AgeCommit message (Collapse)Author
9 daysadded request.check_with_toasts() and use it0neGal
This makes it very simple to check if some endpoints are available, and show a toast if not, with an error message saying exactly what isn't available. Currently made use for updates with GitHub and installs with Thunderstore.
9 daysrefresh server status when back online0neGal
9 dayshide server status when offline0neGal
9 daysif offline close browser and disable some buttons0neGal
9 dayssimplify checking offline state0neGal
9 daysadded requests.check() and uses of it0neGal
Very minimal uses of it, currently it simply checks every 30s and on startup whether a set of domains/endpoints we use work, and if all fail, then we assume something is wrong with the internet.
9 daysadded offline indicator icon0neGal
9 daysminor syntax changes0neGal
2024-08-04handle onLine event dynamically, don't enable buttons when going offlineJan200101
2024-06-08initial commit to better modularize frontend0neGal
Far from done, but this pretty much splits everything inside `src/app/main.js` into separate files.