Commit Graph

48 Commits

Author SHA1 Message Date
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
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
cb0c7922b7 Add/Remove plugin on plugin sidebar page 2022-08-19 19:37:38 -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
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
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
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
1d40fb16df Keep plugin conflict outlines while selecting a cell 2022-03-17 01:22:17 -04:00
f33fd3b49c Sort plugin mod file list by nexus_file_id 2022-03-15 22:50:51 -04:00
72b7981e8c Add github link to map attribution 2022-03-15 01:03:40 -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
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
e21271f78b Fix updating map as plugins are selected 2022-03-12 21:29:40 -05:00
1fa2e3e660 WIP Render plugin data from static server 2022-03-12 18:34:45 -05:00
ae6b3bff12 Bug fixes for selected cell plugin list 2022-03-10 01:10:14 -05:00
3a34f48e6c Remove console.logs 2022-03-03 22:11:40 -05:00
96599cb2c8 Fix load order re-applying and transition between sidebar pages 2022-03-02 23:23:06 -05:00
f6d02c6d33 Basic plugin data page 2022-02-27 02:25:34 -05:00
761ef80669 Default sidebar and WIP PluginLoader 2022-02-27 01:17:52 -05:00
141d9c025d Refactor cell selection method
Pre-draw lines during map init and then use feature-state to toggle them.

Renables pitch and rotation controls. To avoid bad panning / fitBounds, use easeTo to fix bearing and pitch back to 0 before panning.
2022-02-11 12:40:27 -05:00
641957cfb5 Disable drag rotate and compass
My cell selection code breaks horribly if the map is rotated.
2022-02-09 00:09:41 -05:00
bc41a41099 Disable changing camera pitch 2022-02-08 22:46:27 -05:00
53ad361085 Increase mod fitBounds padding 2022-02-06 23:02:00 -05:00
dabc4ec633 Add Nexus Mods to attribution string 2022-02-06 22:13:06 -05:00
6d27db3122 Add layer to show cells a selected cell edits
Also removes the link color to make links clearer.
2022-02-06 22:00:14 -05:00
16a2ec3ac9 Sort mod search results by unique downloads 2022-01-30 16:55:50 -05:00
8bae1c03c8 Fix mod selection and deselection 2022-01-30 16:14:32 -05:00
b263c6b0cb Add search, query url based state
Still need to wire up the mod and cell data to the search.
2022-01-24 00:59:36 -05:00
7b5cc02993 Fix fullscreen controls 2022-01-23 19:39:36 -05:00
c031524bd4 Prevent multiplying click handlers 2022-01-23 18:29:30 -05:00
c5b2ede9d2 Increase double click timeout 2022-01-23 18:05:36 -05:00
d6720da142 Allow double click zooms with setTimeout
Still not perfect, but good enough for now.
2022-01-23 13:06:44 -05:00
7983e0d30b Try to prevent race with data loading 2022-01-23 12:34:59 -05:00
a1f2cc830a Fetch & display data for selected cell in sidebar 2022-01-19 01:06:19 -05:00
8d94b68332 Improve heatmap layer coloring and opacity
Also fix cell selection with heatmap layer disabled.
2022-01-17 17:46:44 -05:00
fb13ebfa6c Add selected cell line outline layer 2022-01-17 17:46:43 -05:00
576eb5b583 First attempt at selected cell state display 2022-01-17 17:46:42 -05:00
79015201b0 Add sidebar for displaying selected cell 2022-01-17 17:46:41 -05:00
9a07f552b5 Fix types and lints 2022-01-17 17:46:39 -05:00
2bd8a7bc52 Map with heaptmap overlay and layer toggles 2022-01-17 17:46:34 -05:00