aboutsummaryrefslogtreecommitdiff
path: root/src/app
AgeCommit message (Collapse)Author
2024-06-09Merge branch 'main' into linux-launch-v2linux-launch-v20neGal
2024-06-09fixed webview theming not being appliedmodularized-frontend0neGal
2024-06-09fixed version numbers not updating after update0neGal
Technically this is also broken on the main branch, however it's a lot easier to just fix here, instead of having to fix it there, then also fix it here, due to the modularization
2024-06-09fixed things in the settings popup not loading0neGal
2024-06-08rename js/set_dom_strings.js to localize.js0neGal
2024-06-08fixed race condition in js/set_dom_strings.js0neGal
2024-06-08convert js/browser.js to a CommonJS module0neGal
And `js/popups.js`, but it was already technically a CommonJS module, it was just leftover in `index.html` due to `js/browser.js` not being a CommonJS module.
2024-06-08convert js/tooltip.js to a CommonJS module0neGal
It's not actually used anywhere outside of itself, but oh well.
2024-06-08convert js/launcher.js to a CommonJS module0neGal
2024-06-08move browser.js' normalize() into mods.js0neGal
2024-06-08convert js/toast.js to a CommonJS module0neGal
Renamed from `toast.js` to `toasts.js` as well
2024-06-08convert js/mods.js to a CommonJS module0neGal
2024-06-08replace js/misc.js file with js/version.js 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-04-29actual Linux launch support0neGal
The "Steam (Auto)" launch method should ideally work in all scenarios, ideally! Obviously, I can't and haven't tested in every environment, but I've attempted to make sure it functions. Launching Vanilla and Northstar works just fine, custom launch arguments also work just fine, it works with normal Steam, Flatpak Steam, and as a fallback with the Steam Browser Protocol (`steam://`) There's also the option to set your own/custom launch command for both the Vanilla and Northstar launch options. How well they work will of course depend on what the user set them to. "Steam (Auto)" attempts to pick the right Steam launch method depending on what's available, if the Steam executable can be found, it'll use "Steam (Executable)", if it cant and Flatpak is found on top of an install of Steam through Flatpak, then "Steam (Flatpak)" is used, if all of that fails, then we attempt to use "Steam (Protocol)" Some toasts will be shown if you attempt to run the game with either "Steam (Executable)" or "Steam (Flatpak)" and they cant find the game/Steam. This isn't an issue with "Steam (Auto)"
2024-04-29added launch method settings0neGal
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-02-05fixed dependency confirmation message0neGal
2024-02-04added icons to more buttons0neGal
2024-02-03fixed some places using spaces for indentation0neGal
Ew! Bad! No! Bad! Bad!
2024-02-03decreased the opacity of icons for disabled mods0neGal
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-02-03added "Force quit game" button to Titanfall tab0neGal
2024-02-03fixed "Force quit game" button getting disabled0neGal
Due to this button (specifically the "button"/link below the "Launch" button) serving multiple functions, it incorrectly gets disabled when the game is running. Now its enabled! How did I miss this? I assume it crept up after implementing the force quit button, and not during, but maybe not, was I stupid? Mayhaps.
2024-02-03fixed settings not applying0neGal
This isn't present in the current release and is a bug that crept up with the upcoming release, however of course, it's been fixed now.
2024-01-29many changes to release notes and mods pages0neGal
Scrollbar is globally different, the release notes and mods page now look more alike, having adjusted some padding, added some backgrounds and a few other things.
2024-01-29added artificial delay to checking updates0neGal
When checking for an update whilst the latest release is already cached, it'll resolve near instantaneously, not even letting the user know what action they just performed, now however, a check for updates will visually take at least 500ms.
2024-01-29fixed margin on last paragraph in release notes0neGal
2024-01-24added search in settings popup0neGal
2024-01-24added release date to release notes0neGal
2024-01-24fixed clicking parts of preview popup closing it0neGal
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-24increased font weight on "Mods installed: <count>"0neGal
2024-01-24fixed preview and filter popup not closing0neGal
If you're not clicking inside the `#browser` popup, then the preview and filter popups would stay open, until you do so, or something else causes them to close. This fixes that.
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
2024-01-20added opacity on hovering closed settings category0neGal
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/events.js0neGal
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.
2024-01-19make settings categories toggleable0neGal
2024-01-12deprecate ns_startup_args.txt0neGal
Ideally this has no side effects, however, I've not actually tested if the launching does properly use the launch arguments, due to not having a Windows device on hand. This will be tested later... We still attempt to load launch arguments from `ns_startup_args.txt` if none is set in the settings. However, this may be removed in the future.
2023-11-08added progress bar to download and extraction0neGal
This takes a bit of code from #220 to implement percentage progress on the download, then with the new pseudo element on the Launch button, we can have a slight progress bar inside the button, along with percentages, and it all works handy dandy. This may not be finished, but it's definitely far there.
2023-11-08fixed using incorrect localization strings0neGal
2023-09-21fixed buttons staying disabled after a path change0neGal
2023-09-21fixed gamepath buttons being disabled0neGal
If the gamepath is lost or similar then it'll disable many buttons, notably the install/launch buttons and other similar buttons, however for obvious reasons we shouldn't be stopping the user from changing their gamepath in this scenario. This is still useful when installing a mod or updating NS, so it's just this scenario.
2023-09-18added "Open gamepath" button0neGal
Very useful stuff!
2023-09-18fixed toasts not breaking onto a new line0neGal
This only occurred if there was one continous piece of text, that is, no spaces in between the characters, this only happened in the detailed error messages, but it's quite important to see the whole message!
2023-09-16fixed mod preview being positioned incorrectly0neGal
2023-09-16fixed backdrop-filter breaking on filter popup0neGal
The amount of times I've broken something with `backdrop-filter` is far too many, but what can you expect.