aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/settings.js
AgeCommit message (Collapse)Author
6 daysproperly open <select>'s with navigation functions0neGal
2024-06-20Merge branch 'main' into gamepad-support0neGal
2024-06-15prevent gamepad from toggling disabled switches0neGal
2024-06-09Merge branch 'main' into linux-launch-v2linux-launch-v20neGal
2024-06-09fixed things in the settings popup not loading0neGal
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-04-29fixed app/js/settings.js to for custom <select>'s0neGal
Previously, settings using `<select>`'s for their value only worked on the `forcedlang` setting, now it just works overall, this wasn't an issue before, as we had no need for it. More importantly `forcedlang` is special in that it dynamically loads the list of languages available, so it was and still is handled separately, to support that behavior.
2024-01-24added search in settings popup0neGal
2024-01-24fixed settings categories staying closed0neGal
When closing a category and then re-opening the setting popup, the categories shouldn't remain closed!
2024-01-20fixed settings cog sometimes not moving0neGal
If the settings popup was opened or closed through other means than clicking the settings button itself, "Save" button or "Discord" button, then the cog wouldn't update/rotate accordingly.
2024-01-20added src/app/js/popups.js0neGal
This makes opening and closing popups a little bit easier, on top of it, it also fixes a bug where you could open the settings popup on top of the browser popup or other popups, and it'd hide the background blur, but still show both popups.
2023-09-16added buttons for fixing some problems and alike0neGal
I will likely add more buttons in the future, but for now this is most of the ones a user could need to repair problems.
2023-09-16made some lang keys far more logical0neGal
Most of these are from back when Viper was originally started, I also removed a few keys as they were no longer in use, but were forgotten about, most of these are from pre-v1.0.0 aka, the old smaller UI
2023-09-16lang files can now use objects!0neGal
The `lang()` function doesn't change whatsoever, as the lang files are flattened and are therefore identical to the before this commit. I also cleaned up the files, and all the lang files should now all look far more similar in order.
2023-07-31window buttons are no longer hidden behind popups0neGal
2023-03-09fixed changing language not disabling autolang0neGal
2023-01-30remove: Settings.reloadSwitches() and .switch()0neGal
We now just use a click event listener, and check through what's at the click location, and toggle classes as needed.
2023-01-27move app/*.js files into app/js/0neGal