Commit Graph

148 Commits

Author SHA1 Message Date
38d3536340 Create workers using new webpack 5 syntax
Drop worker-loader which isn't needed anymore.
2022-03-19 01:15:25 -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
351785713c Prevent staging sites from getting indexed 2022-03-16 23:37:30 -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
f1afb2d258 Update README.md 2022-03-15 00:13:27 -04:00
e43352ba94 Add last modified date to all sidebar pages 2022-03-14 23:53:55 -04:00
8c86871723 Fix searchbar styling 2022-03-14 23:42:09 -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
85630949c5 Fix tsc error with FileSystemFileHandle 2022-03-12 20:36:55 -05:00
1fa2e3e660 WIP Render plugin data from static server 2022-03-12 18:34:45 -05:00
6a76bfac33 Render plugin data from static server 2022-03-12 14:00:40 -05:00
74c8920edf WIP plugin details sourced from static server 2022-03-10 23:41:43 -05:00
559b6600ac Wording tweak in DataDirPicker 2022-03-10 01:18:19 -05:00
ae6b3bff12 Bug fixes for selected cell plugin list 2022-03-10 01:10:14 -05:00
cc625d9029 Show loaded plugins that edit cell on cell pane 2022-03-10 00:59:13 -05:00
d45c4f51b1 Fix pluginstxt dialog 2022-03-10 00:46:59 -05:00
391fa0669d Show alert when non-Data dir selected/dropped 2022-03-10 00:40:34 -05:00
8496c775f2 Refactor drag-n-drop to component with overlay 2022-03-10 00:35:04 -05:00
d681d84416 Handle drag and drop of Data dir
Also some general fixes to the data dir picker button.
2022-03-09 01:35:20 -05:00
1b48c34974 Better default worker count value 2022-03-04 23:56:36 -05:00
05a780c4a9 Consistent quotes 2022-03-04 23:55:06 -05:00
5dd061627a Move WorkerPoolContext into WorkerPool.ts 2022-03-04 23:53:36 -05:00
eebae85a65 Implement WorkerPool, use webkitdirectory input
WorkerPool speeds up processing of plugins by using more cores on separate threads. It terminates and recreates a worker after it finishes a task since web assembly seems to slow down a ton when a worker is reused (maybe memory becomes to large / unfragmented, idk).

I switched to the deprecated input tag with webkitdirectory since it is the only way to load a folder under the program files folder. Drag and drop might be another alternative, but I'd rather have a picker.
2022-03-04 23:49:14 -05:00
3a34f48e6c Remove console.logs 2022-03-03 22:11:40 -05:00
20144ae130 Process plugins round-robin in a web worker queue
Speeds it up a lot!
2022-03-03 01:33:36 -05:00
5144f8d6e1 Move worker init to index page 2022-03-02 23:53:20 -05:00
96599cb2c8 Fix load order re-applying and transition between sidebar pages 2022-03-02 23:23:06 -05:00