Commit Graph
100 Commits
Author SHA1 Message Date
thallada a2a2847894 Configure site to download timelapse images
Load cell edit JSON files from a localhost server and download each
day's image automatically after refreshing the heatmap grid.

This isn't something I want to actually deploy, but I wanted to commit
it to a branch so I have it saved if I ever want to make a different
timelapse in the future.
2023-11-18 02:04:28 -05:00
thallada e7be15a201 Bump up heatmap gradient midpoint again 2022-10-05 18:49:19 -04:00
thallada 1565db5b30 Move last updated time to bottom of sidebar 2022-10-05 18:21:59 -04:00
thallada 9579e659c9 Update skyrim-cell-dump-wasm to 0.1.4 2022-10-01 17:56:11 -04:00
thallada 525e11aff6 Update skyrim-cell-dump-wasm to 0.1.3 2022-09-30 16:46:41 -04:00
thallada a8b15c3f17 Update skyrim-cell-dump-wasm to 0.1.2 2022-09-30 12:59:41 -04:00
thallada 1c10f95ddd Update mapbox 2022-09-30 12:51:37 -04:00
thallada 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
thallada 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
thallada 4af6285590 Fix white cell outline after selection 2022-09-23 17:43:40 -04:00
thallada c32e30492c Fix navigating to LE mod from search 2022-09-22 13:16:06 -04:00
thallada 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
thallada 48e524b247 Prevent TypeError in sentry beforeSend 2022-09-12 21:19:04 -04:00
thallada 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
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 941eb7b08f Fix getGameNameById
Was totally broken, oops.
2022-09-05 18:02:48 -04:00
thalladaandGitHub 8adb07e70f Merge pull request #6 from thallada/skyrim-le
Support for multiple games
2022-09-03 15:49:03 -04:00
thallada 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
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
thalladaandGitHub 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
thallada bcd4cb0fa7 Filter out LogRocket pings from sentry breadcrumbs 2022-08-30 00:12:13 -04:00
thallada 07271f2fae Add logrocket session url in sentry beforeSend 2022-08-29 23:51:04 -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 9ceb7cc00c Fixup sentry config
Correct project name, use SENTRY_ENVIRONMENT env var.
2022-08-29 22:18:57 -04:00
thallada ddd67dc25c Configure sentry and logrocket per-env 2022-08-29 22:05:59 -04:00
thallada e1e9a77c90 Upgrade @reduxjs/toolkit 2022-08-29 21:42:19 -04:00
thallada 5f196b0651 Add logrocket integrations 2022-08-29 01:19:01 -04:00
thallada 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
thallada 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
thallada 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
thallada 10bc093300 Fix scroll on page change, add paginator at top of lists 2022-08-28 21:51:56 -04:00
thallada 5491894e00 Add pagination to cell and mod lists
Speeds up showing and hiding of the sidebar.
2022-08-28 02:27:53 -04:00
thallada 47e95f4d59 Fix close button not sticking to the top of sidebar 2022-08-27 17:24:54 -04:00
thallada 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
thallada 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
thallada 921247343c Remove unneeded toString in PluginDetail 2022-08-21 01:06:45 -04:00
thalladaandGitHub 329c6f8afd Add Mapbox token instructions to README 2022-08-20 01:49:16 -04:00
thallada 4f3a439679 Update map selectedCells on plugin select 2022-08-20 00:52:40 -04:00
thallada c94eb6a399 Add plugin actions on ModData page 2022-08-20 00:12:10 -04:00
thallada 75643f89ae Select file and plugin on ModData page 2022-08-19 23:50:16 -04:00
thallada d76751f495 Close button icon hover styles 2022-08-19 22:35:00 -04:00
thallada cb0c7922b7 Add/Remove plugin on plugin sidebar page 2022-08-19 19:37:38 -04:00
thallada 735670c163 Add fetched plugins to CellData, close img 2022-08-19 19:09:33 -04:00
thallada cd61c29a96 Implement removing fetched plugins 2022-08-19 19:00:10 -04:00
thallada 9f86fe1571 EscapeListener and display added plugins on map 2022-08-19 18:39:05 -04:00
thallada 2065b5fa3a Select file and plugin, add to new plugins state 2022-08-17 23:19:55 -04:00
thallada 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
thallada db5fd884b0 Convert readme screenshot to jpg image 2022-04-28 23:05:47 -04:00
thallada 358090f833 Add link and screenshot to README 2022-04-28 23:03:08 -04:00
thallada 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
thallada c58a3a0316 Remove console.log 2022-03-23 11:19:09 -04:00
thallada 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
thallada 139257f2a0 Add instructions for Mod Organizer users 2022-03-19 17:49:33 -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 6d0eed2628 Add steps to default sidebar step for clarity 2022-03-19 16:29:06 -04:00
thallada a69a04221a Rename PluginTxtEditor component
Forgot to change the name when refactoring.
2022-03-19 15:45:40 -04:00
thallada 79631cbc05 Fix react warnings 2022-03-19 15:38:33 -04:00
thallada 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
thallada 21eaa5cb11 Upgrade Next.js to canary version to fix web worker load bug
See https://github.com/vercel/next.js/issues/25484
2022-03-19 01:41:31 -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 6527c6d5f7 Display parse errors on PluginDetail page 2022-03-18 23:41:06 -04:00
thallada 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
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 0b85e30043 Add sort direction controls to ModList 2022-03-18 19:52:14 -04:00
thallada e1c0c5b4fa Use unicode bullet separator in map attribution 2022-03-18 18:56:12 -04:00
thallada c5c4d71c94 Add donate link 2022-03-18 18:54:21 -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 f120090039 Add filter to CellList 2022-03-17 20:24:25 -04:00
thallada 1d40fb16df Keep plugin conflict outlines while selecting a cell 2022-03-17 01:22:17 -04:00
thallada 914fbbb540 Add sort/filter controls to mod list 2022-03-17 01:11:59 -04:00
thallada 351785713c Prevent staging sites from getting indexed 2022-03-16 23:37:30 -04:00
thallada 3bff4ce4a2 Reword cell list header to "Exterior Cells" 2022-03-16 23:37:11 -04:00
thallada 1a2da9d4fc Add a checkbox to include/exclude translations 2022-03-16 00:37:08 -04:00
thallada f33fd3b49c Sort plugin mod file list by nexus_file_id 2022-03-15 22:50:51 -04:00
thallada 0616a92bbc Allow selecting Skyrim folder, more language tweaks 2022-03-15 22:33:44 -04:00
thallada 8c30a7bd92 UI experience tweaks 2022-03-15 19:59:16 -04:00
thallada 8e5d2750ec Use normal img tag since Image doesn't work in static mode 2022-03-15 19:08:38 -04:00
thallada ee7c956525 Add enable/disable all plugins buttons 2022-03-15 01:03:51 -04:00
thallada 72b7981e8c Add github link to map attribution 2022-03-15 01:03:40 -04:00
thallada 7e4f6d977f Tweaks to sidebar styling 2022-03-15 00:47:31 -04:00
thallada 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
thallada f1afb2d258 Update README.md 2022-03-15 00:13:27 -04:00
thallada e43352ba94 Add last modified date to all sidebar pages 2022-03-14 23:53:55 -04:00
thallada 8c86871723 Fix searchbar styling 2022-03-14 23:42:09 -04:00
thallada 621cb6a9f8 Fix plugin -> cell navigation 2022-03-14 23:33:37 -04:00
thallada 824202d3a6 Fix rendering fetchedPlugin cells on initial load 2022-03-14 21:59:03 -04:00
thallada a590dbd02c Add cell list to plugin detail page
Also add mod counts in parenthesis.
2022-03-14 21:55:52 -04:00
thallada e7e392a7b7 Replace unicode sidebar icons with svgs
Unicode characters weren't rendering reliably on all platforms.
2022-03-14 21:28:08 -04:00
thallada 6769b815e7 Display mod files on plugin detail page 2022-03-14 20:47:26 -04:00
thallada e21271f78b Fix updating map as plugins are selected 2022-03-12 21:29:40 -05:00
thallada 85630949c5 Fix tsc error with FileSystemFileHandle 2022-03-12 20:36:55 -05:00
thallada 1fa2e3e660 WIP Render plugin data from static server 2022-03-12 18:34:45 -05:00
thallada 6a76bfac33 Render plugin data from static server 2022-03-12 14:00:40 -05:00
thallada 74c8920edf WIP plugin details sourced from static server 2022-03-10 23:41:43 -05:00
thallada 559b6600ac Wording tweak in DataDirPicker 2022-03-10 01:18:19 -05:00
thallada ae6b3bff12 Bug fixes for selected cell plugin list 2022-03-10 01:10:14 -05:00
thallada cc625d9029 Show loaded plugins that edit cell on cell pane 2022-03-10 00:59:13 -05:00