Commit Graph

102 Commits

Author SHA1 Message Date
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
824202d3a6 Fix rendering fetchedPlugin cells on initial load 2022-03-14 21:59:03 -04:00
a590dbd02c Add cell list to plugin detail page
Also add mod counts in parenthesis.
2022-03-14 21:55:52 -04:00
e7e392a7b7 Replace unicode sidebar icons with svgs
Unicode characters weren't rendering reliably on all platforms.
2022-03-14 21:28:08 -04:00
6769b815e7 Display mod files on plugin detail page 2022-03-14 20:47:26 -04:00
e21271f78b Fix updating map as plugins are selected 2022-03-12 21:29:40 -05:00