aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/launcher.js
AgeCommit message (Collapse)Author
2024-06-19prevent changing section when a popup is open0neGal
2024-06-19select sections when quickly switching to them0neGal
This is for when you use Q/E on keyboard or the bumper buttons on a gamepad, this prevents your selection from being on an element that is no longer visible.
2024-06-15added launcher.relative_section()0neGal
This will be particularly useful for #239
2024-06-08convert js/launcher.js to a CommonJS module0neGal
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.
2024-02-03added back error for fetching release notes0neGal
This time it's inside the GUI and not just random output.
2024-02-03requests.js ignores cache time when no internet0neGal
This means if you dont have any internet, but there's a cached requests, it'll use that, even if it was cached a very long time ago. This just attempts to eliminate errors. This can still be turned off for things where you dont want this to happen, notably the masterserver status.
2024-01-24added release date to release notes0neGal
2024-01-24entirely refactor src/modules/requests.js0neGal
Its now been split into 2, requests.js and releases.js, the latter simply gets relevant info from GitHub release pages. The prior however gives simple functions for doing `GET` requests, and caching the result, and then transparently it'll use that cache when you request it next time. On top of this, some requests made by the renderer will now also use this, and this in turn ends up making loading the mod browser much faster. As instead of having to request the list of packages from Thunderstore, we can simply load the result of an old request. The current lifetime of the cache is 5 minutes, however this can also easily be adjusted. This also moves the cached requests away from <cache_folder>/viper-requests.json, and over to <cache_folder>/Viper/cached-requests.json
2023-01-27move app/*.js files into app/js/0neGal