Commit Graph

107 Commits

Author SHA1 Message Date
8f254ef761 Finish support for multiple games
* Adds game filter to ModList.
* Prefixes search results with game
* Adds `&game=X` to URL for mods
* Loads json from new directories on static server
2022-09-03 15:41:44 -04:00
5ff11d568e Add support for multiple games
Just supporting skyrim and skyrimspecialedition for now.

Move live download count fetching to a context provider. Also adds new games fetching context provider.
2022-09-03 02:51:57 -04:00
2bd5227287 Notification message for add/remove mod
Also changed how scrolling resets on pagination.

And tweaked pagination styling.
2022-08-28 23:43:44 -04:00
10bc093300 Fix scroll on page change, add paginator at top of lists 2022-08-28 21:51:56 -04:00
5491894e00 Add pagination to cell and mod lists
Speeds up showing and hiding of the sidebar.
2022-08-28 02:27:53 -04:00
236b4c84ca SearchProvider singleton, fix lag with addAllAsync
Load modSearch data asynchronously and only rebuild the search if the page is refreshed. Fixes the lag when returning to the base sidebar page from a data page.
2022-08-27 17:01:16 -04:00
f99a9cf79b Fix slow re-render of sidebar due to useSWR
Very weird that useSWR is blocking the render in this way. Trusty `requestAnimationFrame` is here to save the day yet again.
2022-08-21 01:54:53 -04:00
921247343c Remove unneeded toString in PluginDetail 2022-08-21 01:06:45 -04:00
4f3a439679 Update map selectedCells on plugin select 2022-08-20 00:52:40 -04:00
c94eb6a399 Add plugin actions on ModData page 2022-08-20 00:12:10 -04:00
75643f89ae Select file and plugin on ModData page 2022-08-19 23:50:16 -04:00
d76751f495 Close button icon hover styles 2022-08-19 22:35:00 -04:00
cb0c7922b7 Add/Remove plugin on plugin sidebar page 2022-08-19 19:37:38 -04:00
735670c163 Add fetched plugins to CellData, close img 2022-08-19 19:09:33 -04:00
cd61c29a96 Implement removing fetched plugins 2022-08-19 19:00:10 -04:00
9f86fe1571 EscapeListener and display added plugins on map 2022-08-19 18:39:05 -04:00
2065b5fa3a Select file and plugin, add to new plugins state 2022-08-17 23:19:55 -04:00
a067f21f15 Add dialog for searching and adding mod
Still WIP, need to implement selecting a particular plugin under mod, which will require some backend changes.
2022-05-31 23:55:36 -04:00
92ee93a3c9 Add a notice about the "upload" dialog
Users keep getting confused about the webkit directory selection dialog that has unfortunate wording about "uploading" that I can't change. Hopefully this new dialog that displays before the dialog I can't control will help users understand that nothing is getting uploaded anywhere.

The message can be ignored in the future with a checkbox that sets a cookie.
2022-04-28 22:48:31 -04:00
c58a3a0316 Remove console.log 2022-03-23 11:19:09 -04:00
dbd6c02264 Fixup search
Fix selecting cell 0, 0 and improve regex criteria for when cell results show vs mod results.
2022-03-23 11:16:25 -04:00
139257f2a0 Add instructions for Mod Organizer users 2022-03-19 17:49:33 -04:00
a9d1a5af54 Allow loading from directories other than Data
Enables users to upload MO2 mod directory.

Also use updatePlugin instead of addPlugin to prevent duplicate plugins.
2022-03-19 17:42:24 -04:00
6d0eed2628 Add steps to default sidebar step for clarity 2022-03-19 16:29:06 -04:00
a69a04221a Rename PluginTxtEditor component
Forgot to change the name when refactoring.
2022-03-19 15:45:40 -04:00
79631cbc05 Fix react warnings 2022-03-19 15:38:33 -04:00
7df5cbb324 Limit parsed plugin cell displays to plugins for Skyrim.esm
In-case someone drag and drops a fallout 4 folder onto the page, it should not display any selected cells.
2022-03-19 15:28:10 -04:00
fd7d22e16a Enable processing plugins as soon as there is one available worker 2022-03-19 01:20:24 -04:00
6527c6d5f7 Display parse errors on PluginDetail page 2022-03-18 23:41:06 -04:00
daa4d3c039 Fix clearing map selected cells between pages
Also limits fitBounds zooming to selecting mods or plugins only.
2022-03-18 20:20:12 -04:00
68796f6f9c Store ModList filter states in redux
So that navigating between cells and back from other pages will persist the filters.
2022-03-18 20:08:31 -04:00
0b85e30043 Add sort direction controls to ModList 2022-03-18 19:52:14 -04:00
e1c0c5b4fa Use unicode bullet separator in map attribution 2022-03-18 18:56:12 -04:00
c5c4d71c94 Add donate link 2022-03-18 18:54:21 -04:00
1a39f7c5e4 Show exterior cells edited in ModList
Also abstracts jsonFetcher and csvFetcher into common lib functions.
2022-03-18 01:06:20 -04:00
f120090039 Add filter to CellList 2022-03-17 20:24:25 -04:00
1d40fb16df Keep plugin conflict outlines while selecting a cell 2022-03-17 01:22:17 -04:00
914fbbb540 Add sort/filter controls to mod list 2022-03-17 01:11:59 -04:00
3bff4ce4a2 Reword cell list header to "Exterior Cells" 2022-03-16 23:37:11 -04:00
1a2da9d4fc Add a checkbox to include/exclude translations 2022-03-16 00:37:08 -04:00
f33fd3b49c Sort plugin mod file list by nexus_file_id 2022-03-15 22:50:51 -04:00
0616a92bbc Allow selecting Skyrim folder, more language tweaks 2022-03-15 22:33:44 -04:00
8c30a7bd92 UI experience tweaks 2022-03-15 19:59:16 -04:00
8e5d2750ec Use normal img tag since Image doesn't work in static mode 2022-03-15 19:08:38 -04:00
ee7c956525 Add enable/disable all plugins buttons 2022-03-15 01:03:51 -04:00
72b7981e8c Add github link to map attribution 2022-03-15 01:03:40 -04:00
7e4f6d977f Tweaks to sidebar styling 2022-03-15 00:47:31 -04:00
a7e4b2e657 Clear fetched plugin on clearSelectedCells
Fixes issue with selected cells persisting when navigating between different plugins.
2022-03-15 00:22:08 -04:00
e43352ba94 Add last modified date to all sidebar pages 2022-03-14 23:53:55 -04:00
621cb6a9f8 Fix plugin -> cell navigation 2022-03-14 23:33:37 -04:00