aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/mods.js
AgeCommit message (Collapse)Author
8 daysif offline close browser and disable some buttons0neGal
8 daysdon't prompt when enabling a core mod0neGal
Previously disabling or enabling a core mod would show a prompt warning about the fact that a core mod is being toggled. This is only needed for when disabling a core mod. fixes #253
2024-08-15chore: remove installing translation descriptionJan200101
its a bit redundant since the title already states that we are installing
2024-08-14feat: show toast when installing mod through ror2mm protocolJan200101
2024-08-14chore: display alert when mod install via protocol cannot be resolvedJan200101
2024-08-13chore: use existing mod installation logic for r2mm protocolJan200101
2024-08-13chore: rework protocol mod installs to use renderer package listJan200101
This is achieved by sending an IPC event to the renderer and waiting for a reply once Since this is async we return from the function after sending the event and recursively invoke it once the reply arrives The package data is returned a a JSON String because Electron is unable to copy the Object over IPC
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-08move browser.js' normalize() into mods.js0neGal
2024-06-08convert js/mods.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-04added icons to more buttons0neGal
2023-11-08fixed using incorrect localization strings0neGal
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-07-24added default Northstar icon for core mods0neGal
2023-07-24fixed updateable packages not being removeable0neGal
2023-07-22unify all mods of a package into one0neGal
This means instead of showing the invididual mods inside a package, we simply show 1 mod/package, we then use the name, description, version and so forth from the `manifest.json` inside the package folder. Further we now also support a local `icon.png` file, instead of relying on remotely stored icons and trying to match names against each other.
2023-07-21rename mods.list() properties to use snake case0neGal
I may or may not have missed some properties or something somewhere, perhaps we'll see if something ends up broken in the future...
2023-03-09fixed not having to confirm removing core mods0neGal
2023-03-05fixed not being able to toggle mods with updates0neGal
2023-02-07added icons to modlist0neGal
2023-02-01en.json modlist localizations0neGal
2023-02-01added update button to modlist0neGal
I also made mods with updates be placed in the top of the modlist.
2023-01-31different colored switches0neGal
When a red switch is placed besides a red button that says "Remove", it makes it seem far more destructive to click that switch, even if it's not, and a blue color doesn't fit in very well either (perhaps we need more colors). And so because of all that the modlist switches are now orange, and we can easily add more colors. The switch colors overall are also far more vibrant now, as it looks far better that way.
2023-01-30added: toggles for toggling mods in modlist0neGal
The new modlist now uses the same toggles found in the settings popup, only here they're used to disable/enable mods. On top of this I also fixed the "Toggle All" button not working. Forgot to change some stuff, breaking it... oops...
2023-01-28initial draft for redesign of the mod list0neGal
The current design for the installed mods is not exactly the best. And it has been due for a redesign for quite a while, I'm finally starting work on this.