Commit Graph

13 Commits

Author SHA1 Message Date
fd7d22e16a Enable processing plugins as soon as there is one available worker 2022-03-19 01:20:24 -04:00
38d3536340 Create workers using new webpack 5 syntax
Drop worker-loader which isn't needed anymore.
2022-03-19 01:15:25 -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
1a39f7c5e4 Show exterior cells edited in ModList
Also abstracts jsonFetcher and csvFetcher into common lib functions.
2022-03-18 01:06:20 -04:00
0616a92bbc Allow selecting Skyrim folder, more language tweaks 2022-03-15 22:33:44 -04:00
6a76bfac33 Render plugin data from static server 2022-03-12 14:00:40 -05:00
391fa0669d Show alert when non-Data dir selected/dropped 2022-03-10 00:40:34 -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
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
761ef80669 Default sidebar and WIP PluginLoader 2022-02-27 01:17:52 -05:00