Commit Graph

155 Commits

Author SHA1 Message Date
a8b15c3f17 Update skyrim-cell-dump-wasm to 0.1.2 2022-09-30 12:59:41 -04:00
1c10f95ddd Update mapbox 2022-09-30 12:51:37 -04:00
513e95d697 Don't terminate & recreate workers after each task
After some testing, I'm fairly confident the issue I was seeing before isn't
happening now. After re-processing ~250 plugins a few times with the same
workers I was seeing significant slow-downs with large plugins. Also, if I was
listening to music in the browser it would start crackling and popping.

My hypothesis is that wee_alloc was causing a memory leak in the old version
which was causing browsers to freak out unless I recreated the workers on every
run. Though I'm not sure if that theory holds since I wasn't seeing out of
control memory usage in the dev tools. Perhaps wee_alloc just wasn't good at
managing memory after a certain number of allocate/deallocate cycles and was
putting a huge strain on the browser.

I'm hoping that reusing workers like this will also speed up processing and
possibly resolve some crashing that some users were seeing.
2022-09-26 23:04:48 -04:00
f8956413c2 Upgrade skyrim-cell-dump-wasm
Uses default allocator instead of wee_alloc which might have a memory leak.
2022-09-26 22:57:20 -04:00
4af6285590 Fix white cell outline after selection 2022-09-23 17:43:40 -04:00
c32e30492c Fix navigating to LE mod from search 2022-09-22 13:16:06 -04:00
57088e12ef Adjust color gradient midpoint to 630
Now that there are significantly more mods and cell edits, this reduces the amount of red cells.
2022-09-18 14:24:50 -04:00
48e524b247 Prevent TypeError in sentry beforeSend 2022-09-12 21:19:04 -04:00
ec65c6aaa3 Use [SE] in search results for SE mods
Instead of [SSE] so the different edtions are the same number of characters.
2022-09-07 12:50:30 -04:00
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
941eb7b08f Fix getGameNameById
Was totally broken, oops.
2022-09-05 18:02:48 -04:00
8adb07e70f
Merge pull request #6 from thallada/skyrim-le
Support for multiple games
2022-09-03 15:49:03 -04:00
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
d103451a40
Merge pull request #5 from thallada/add-mod-to-list
Add mod to list, select files & plugins of mod, and perf improvements
2022-08-30 00:18:28 -04:00
bcd4cb0fa7 Filter out LogRocket pings from sentry breadcrumbs 2022-08-30 00:12:13 -04:00
07271f2fae Add logrocket session url in sentry beforeSend 2022-08-29 23:51:04 -04:00
098e3f3ce5 Add Sentry redux integration 2022-08-29 23:47:15 -04:00
4c79640850 Try to fix logrocket 2022-08-29 22:51:12 -04:00
bbe2698f0b Convert env vars to NEXT_PUBLIC_* vars 2022-08-29 22:37:13 -04:00
9ceb7cc00c Fixup sentry config
Correct project name, use SENTRY_ENVIRONMENT env var.
2022-08-29 22:18:57 -04:00
ddd67dc25c Configure sentry and logrocket per-env 2022-08-29 22:05:59 -04:00
e1e9a77c90 Upgrade @reduxjs/toolkit 2022-08-29 21:42:19 -04:00
5f196b0651 Add logrocket integrations 2022-08-29 01:19:01 -04:00
28c50a56f1 Add sentry for error tracking
If an exception occurs on the page I'll be alerted.
2022-08-29 01:01:51 -04:00
aa2bd77435 Add logrocket
Useful for figuring out what went wrong during an error or to see how users are using the app.
2022-08-29 00:48:03 -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
47e95f4d59 Fix close button not sticking to the top of sidebar 2022-08-27 17:24:54 -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
329c6f8afd
Add Mapbox token instructions to README 2022-08-20 01:49:16 -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
db5fd884b0 Convert readme screenshot to jpg image 2022-04-28 23:05:47 -04:00
358090f833 Add link and screenshot to README 2022-04-28 23:03:08 -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