aboutsummaryrefslogtreecommitdiff
path: root/src/app
AgeCommit message (Collapse)Author
2022-06-12removed cookie and manager alert in webview0neGal
When opening the preview for a mod it may show a cookie alert, this is now auto-hidden, along with an alert recommending users to use the Thunderstore Mod Manager, or an alternative, since Viper is an alternative, this is only an alert that can confuse users. And it is therefore removed.
2022-06-12tiny animations0neGal
The settings button now turns like a cog when hovered, and there's a slight animation when you hover a settings switch.
2022-06-12added icons to the settings popup0neGal
Only on the titles, putting them only on the options or on both the title and options would be far too much, just the title is perfect.
2022-06-07minor changes0neGal
Mostly syntax, but also a few fixes with how the settings system work, and also a change in localization strings.
2022-06-02added setting for auto-killing origin, functionality workingB
2022-06-01Merge pull request #130 from 0neGal/server-status0neGal
feat: Master server status
2022-05-30refactored event names0neGal
Quite a lot of them aren't in the same syntax/style, and it's quite bad to look at, this should fix them all without causing issues.
2022-05-30fixed missing commas and various syntax stuff0neGal
I know, commas aren't needed, however, going in and out of using commas and not using them also looks bad, so generally I try to always use them, with exceptions.
2022-05-30support for singular players0neGal
While it's unlikely we'll ever get down to 1 player, it's best to be on the safe side :p
2022-05-28fully implement server+player counts0neGal
2022-05-28initial commit for master server status0neGal
This doesn't fully implement everything as the master server is down whilst making this commit, so I can't fully implement it.
2022-05-21fixed packages being filtered when they shouldn't0neGal
Previously packages were filtered based on whether Browser.filters.get().filtered included any of the categories, now however it only checks if one of 4 filters is selected, Skins, Mods, Client-side and Server-side, anything beyond that like "Language: EN" is ignored and unless it doesn't have any of the other filters selected it'll go unfiltered. Previously when selecting every filter you'd still only get 100'ish packages at best, now you get the full 150 that there currently is on Thunderstore, except for r2modman and Northstar itself.
2022-05-21fixed infinite loading depending on the filters0neGal
If the only results when searching are elements that are filtered then it just infinitely shows loading instead showing "No results..."
2022-05-21fixed filters not working0neGal
2022-05-20fixed filters button not being able to be toggled0neGal
Clicking the filters button would close then reopen it, instead of closing, then opening when clicking again.
2022-05-20split main.css into multiple files0neGal
This is easier to manage, and a lot less annoying to navigate, having to scroll through many lines of code is annoying, categorizing makes it easier, I also overall improved the layout of many of the CSS files.
2022-05-20removed debug Browser.set()0neGal
This was just so I didn't have to go to the Mods tab, click "Find Mods", and click "View" on one of the mods.
2022-05-17preview <webview> now fades in and out seamlessly0neGal
Instead of instantly flashing when it's done loading and so on, it now fades in, instead, without any problems.
2022-05-17added external link button and changed string0neGal
"Info" -> "View", along with a button in the previewer to open the mod page in the browser if you so choose.
2022-05-17improvements to the preview0neGal
It now looks a lot better overall. Still missing a few things, like showing when it's loading, but besides that it's pretty much done.
2022-05-16added mod preview browser0neGal
Instead of opening your normal web browser you can now just open the page inside Viper, many changes aren't finished yet, notably the webview.css file. At some point I'll split the main.css into more files so the folder makes sense even though there's currently only one file in there.
2022-05-16majorly improved performance0neGal
Instead of setting the innerHTML every single time an element get added it now just appends them like you should be doing, but I was lazy when I wrote the original code I guess. Not only does this improve performance, but it also fixes the CSS fade animation not making every mod element/entry flicker, and instead now it only does it on the new ones, like intended.
2022-05-16a lot of stuff, but mainly a "Load more..." button0neGal
In the past when more than 50 packages was loaded it'd simply display a "Maximum packages loaded" message, and it wasn't actually 50, as it just took the first 50 packages loaded, whether or not they were filtered out, so now that's fixed and a "Load more..." button has been added. With that comes some changes to the lang strings for "gui.browser.endoflist" and a new one "gui.browser.loadmore". I also fixed the filtered packages issue also occurring in searches. This will overall allow a user to more easily find the maximum amount of packages without loading literally over a hundred packages at once, not good for performance...
2022-05-16general improvements0neGal
Made the UI slightly bigger, and the mod elements aren't on their own line, this allows you to see more at once while it being bigger and more telligble, before it was kind of empty.
2022-05-16already installed dependencies are now skipped0neGal
If you already have all the dependencies or some dependencies of a package those will be skipped, if there is no dependencies missing it'll just install, and otherwise it'll show the missing and ask whether you want to install them. Meaning if a package has two dependencies and you've one of them only the one you don't have will show up.
2022-05-12initial draft for supporting dependencies0neGal
This should allow you to install packages that have dependencies, however maybe not with the best UI/UX experience, as currently there's only an English localization, and we also install dependencies even if the dependency is already installed.
2022-05-03re-implements user links in release notes (#88)0neGal
Instead of updating the branch it was easier to simply add this, I don't plan to add the issue/PR support, as it's complicated with no real benefit, as NS seems to already link the PR's themselves.
2022-05-03fixes markdown not rendering properly (#108)0neGal
Simplifies the parsing of Markdown, whilst also solving problems that the previous parser for Markdown caused.
2022-04-28added: error if config file isn't valid0neGal
Essentially just validates the config file and then prompts you about it, it allows you to reset it directly or just to exit and let yourself fix it. And because the error message appears directly in the renderer we have access to navigator.language, and can therefore still localize the string. However! We can't actually care if the user has disabled auto detection of their language, since... y'know, the config file where that's stored isn't able to be read properly. And so I added an argument to lang(), which allows you to force it to use a specific language if that language is available, if not it defaults back to English.
2022-04-24more minor improvements to the UI0neGal
sped up some animations, added a few more colors to different places, overall just a slight spice up to the UI
2022-04-24tiny improvements to the look of the mod browser0neGal
Veeeerrryyy tiny improvements: - titles are now in bold - reduced the padding between version and author text - slight blur to images has been added, which looks nice - the large margin between the close and filter button is now fixed
2022-04-23prereleases no longer show up in the release notes0neGal
2022-04-17changing the language now disables autolang0neGal
This is for the sake of UX, as a user might be confused about why it doesn't work as they may not notice that they've to turn off auto-detect language first. Because of this Settings.switch() now has a state value, and if you provide a DOM element as the element arg it now uses that to know what to toggle, before we used to just provide a number, which made sense for generating the onclick events, but not for this task... This whole thing was brought up because of #115
2022-04-13check to make sure gamepath exists0neGal
When Viper starts up it'll check to make sure the gamepath still exists, and throws errors if not, it also redirects you to the first page (the one where you can set the gamepath), and gives you an informative error. This could happen because the user unmounted the drive the gamepath is on, or it could happen if the user moved their game location.
2022-04-13fixed: console logs not parsed through lang()0neGal
I've known about this bug for a bit but haven't been bothered to fix it, essentially a language key was being logged instead of the string attached to that key :p
2022-04-13the user can now manually select a language0neGal
This allows someone to have their system in any language, and then have Viper in a separate language. This is also useful for testing.
2022-03-26added tiny checkmark to filter selection0neGal
Slightly better UX I guess?
2022-03-26fixed error and removed browser on startup0neGal
For testing purposes I had the mod browser auto show on startup, that's removed now, I also when refactoring some code forgot to change the name of a function everywhere, leading to an error.
2022-03-26added filters0neGal
Fully implemented (I think? Maybe there's an edge case?), albeit it's missing "Updateable" and "Installed" filters, but they'll be added later
2022-03-22fixed potential edge case0neGal
If a mod has the name of an already existing element some issues may arise... So now we have all mod elements prefixed with "mod-" and we also only search for elements inside #browserEntries, that should avoid all issues...
2022-03-10fixed toast errors having no background color0neGal
2022-03-10fix nsargs being cleared when edited out of Viper (#93)0neGal
If the nsargs are edited by a third-party program or anything that isn't Viper, the next time you launch Viper it'll reset the nsargs back to what it was when you last opened it.
2022-03-02made the Northstar page the startup page0neGal
Some users got confused about the "Change Game Path" label on the startup page, thinking it was Viper asking the user to change the path, to clear up that confusion we now just don't show that page on startup.
2022-02-24localized all strings0neGal
I localized all strings for English, then went ahead and made array options have a wider input and more word spacing, since they're all space separated.
2022-02-24fixed NS never being auto-updated and more0neGal
When #87 was merged an unnoticed problem slipped in where if Viper was running in a version that did not support auto-updates we would never auto-update Northstar. Now that's fixed, and the nsupdate option is completely implemented. I also took the liberty of removing the auto-update option in the settings page if Viper can't auto-update anyway, as it's useless if that's not possible.
2022-02-23settings page is now fully functional0neGal
It actually saves settings, loads them properly and everything...
2022-02-21some functionality is now present0neGal
Albeit only frontend functionality, it doesn't actually save your settings, it simply loads them, and Settings.get(), allows you to convert them to a format that can be used to save settings.
2022-02-20more UI changes0neGal
I added descriptions and options for excluding files.
2022-02-20initial work on settings page0neGal
This only has the actual UI for the settings page in place, no actual functionality has been implemented yet. I made several changes not directly related to the settings page, such as changes the CSS color variables to use RGB, as to easily add an alpha channel to colors. I also changed the way the Browser is toggled in some respects and many other changes that makes it easy to re-use the browser code to create the settings UI
2022-02-18basic drag and drop support0neGal
Since apparently dragleave and dragenter don't quite work as intended we have to resort to this obscure method which should work just fine on the user's end.