aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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 devtools mysteriously never opening0neGal
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.
2024-01-11updating Northstar now deletes existing core mods0neGal
This solves #223
2023-11-08Merge branch 'main' into main0neGal
2023-11-08fix: update maintainers.jsonKenMizz
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-11-06chore: let's use zh instead..KenMizz
2023-11-06i18n: "目录" instead of "路径"KenMizz
2023-11-06chore: just realize it should be cn.jsonKenMizz
2023-11-06i18n: finalize translationKenMizz
2023-11-06i18n: fix lang.titleKenMizz
2023-11-06i18n: updates a tons of translated textKenMizz
2023-11-01i18n: working on Chinese(Simplified) translationKenMizz
2023-10-07update German localizations0neGal
2023-10-06fix: add missing french translationRemy Raes
2023-10-06update Spanish localizations0neGal
2023-09-30added empty to-be-localized 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.
2023-09-16removed Thunderstore background image in webview0neGal
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-16more minor fixes to the change in lang files0neGal
2023-09-16handle gamepaths with missing read/write perms0neGal
We now show an alert if the gamepath is detected to be missing read/write perms, both when selecting the gamepath initially, when it gets auto detected, but also after it's selected, passively.
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-09-16added button to force kill game0neGal
2023-09-13fixed settings file refusing to save if invalid0neGal
This is quite counter intuitive, as, if it's invalid, how do we re-validate it, if we can't even save it again. This existed here because the idea was for the re-validation to occur somewhere else, and to make sure incorrectly formatted data wasn't being given to this function. Now the function simply resets the config, a restart may be required to add missing settings, in case the parsed `conf` doesn't have all keys.
2023-09-13ideally eliminate race condition loading config0neGal
From my testing this works without problems, but further testing will be requested in #211
2023-09-13synchronize changes to settings from main process0neGal
If the main process has changes to the settings, said settings will now also be sent to the renderer, making them synchronized.
2023-09-13fixed gamepath only updating for the renderer0neGal
This would mean if the gamepath cant be found automatically you'll be asked to set your gamepath every time Viper starts, instead of it remembering it, and if it can find it automatically, then you'd never have known this was a problem (hence why this was even a problem)
2023-09-13use json.js for loading settings in the renderer0neGal
2023-08-26fixed mod browser thinking it's done loading pkgs0neGal
The mod browser before this pre-maturely thought it had loaded all the available packages, when in fact, it'd barely started. Now this is fixed, and you can scroll for quite some time before actually reaching the real end of the package list.
2023-08-26fixed edge case where packages.list() still broke0neGal
Oopsie woopsie, my badddd, so sowwieeee, i wwwont doww it agaainnn!
2023-08-21properly detect outdated and up-to-date packages0neGal
2023-08-21properly detect installed packages in mod browser0neGal
This doesn't break the old way of detecting things, for various reasons, but notably it'd cause more harm than good. As we still need to be able to detect packages that haven't been converted into the new location.