Commit Graph

21 Commits

Author SHA1 Message Date
thallada eebc43fbee Rename game to edition in the UI
Much clearer to say Classic vs Special Edition instead of "skyrim" vs "skyrimspecialedition".
2022-09-06 15:15:27 -04:00
thallada 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
thallada 098e3f3ce5 Add Sentry redux integration 2022-08-29 23:47:15 -04:00
thallada 4c79640850 Try to fix logrocket 2022-08-29 22:51:12 -04:00
thallada bbe2698f0b Convert env vars to NEXT_PUBLIC_* vars 2022-08-29 22:37:13 -04:00
thallada 5f196b0651 Add logrocket integrations 2022-08-29 01:19:01 -04:00
thallada 2065b5fa3a Select file and plugin, add to new plugins state 2022-08-17 23:19:55 -04:00
thallada 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
thallada fd7d22e16a Enable processing plugins as soon as there is one available worker 2022-03-19 01:20:24 -04:00
thallada 38d3536340 Create workers using new webpack 5 syntax
Drop worker-loader which isn't needed anymore.
2022-03-19 01:15:25 -04:00
thallada 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
thallada 1a39f7c5e4 Show exterior cells edited in ModList
Also abstracts jsonFetcher and csvFetcher into common lib functions.
2022-03-18 01:06:20 -04:00
thallada 0616a92bbc Allow selecting Skyrim folder, more language tweaks 2022-03-15 22:33:44 -04:00
thallada 6a76bfac33 Render plugin data from static server 2022-03-12 14:00:40 -05:00
thallada 391fa0669d Show alert when non-Data dir selected/dropped 2022-03-10 00:40:34 -05:00
thallada 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
thallada 1b48c34974 Better default worker count value 2022-03-04 23:56:36 -05:00
thallada 5dd061627a Move WorkerPoolContext into WorkerPool.ts 2022-03-04 23:53:36 -05:00
thallada 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
thallada 3a34f48e6c Remove console.logs 2022-03-03 22:11:40 -05:00
thallada 761ef80669 Default sidebar and WIP PluginLoader 2022-02-27 01:17:52 -05:00