143 Commits

Author SHA1 Message Date
Mitchell McCaffrey
72f2c74e9d Add on upgrade listener for DB and overlay when upgrading 2021-06-24 16:14:20 +10:00
Mitchell McCaffrey
6dfeb874a7 Handle db versionchange 2021-06-24 13:06:00 +10:00
Mitchell McCaffrey
bc97f4838a Optimised re-renders with sortable tiles 2021-06-15 20:08:45 +10:00
Mitchell McCaffrey
1e26193457 Optimise token database sync and add loading indicator for multiple token hiding 2021-06-14 15:18:07 +10:00
Mitchell McCaffrey
64dfb17fa1 Move mouse tile drag to a distance constraint 2021-06-14 12:20:06 +10:00
Mitchell McCaffrey
52fad1171a Remove worker loading from map and token data contexts 2021-06-11 15:38:23 +10:00
Mitchell McCaffrey
4bfe49f454 Optimisation to tile rendering 2021-06-10 20:08:11 +10:00
Mitchell McCaffrey
b75db97c26 Add custom drag context wrapper to inject the overlay rect on drag end 2021-06-10 18:04:32 +10:00
Mitchell McCaffrey
21986231fa Add prevent select helper to stop highlighting UI elements on drag with touch devices 2021-06-09 23:25:28 +10:00
Mitchell McCaffrey
a8c355f251 Fix tile drag cancel with modal open 2021-06-09 10:33:47 +10:00
Mitchell McCaffrey
ee34c599da Add remove group items for maps and tokens 2021-06-09 09:29:32 +10:00
Mitchell McCaffrey
50ce2ee123 Remove tile global position collision work around 2021-06-08 23:53:27 +10:00
Mitchell McCaffrey
57cce9346d Fix drag and drop add to map bugs with scrolled tile grid 2021-06-08 23:46:20 +10:00
Mitchell McCaffrey
4e7ed1d625 Add better optional handling to db error handler 2021-06-06 19:27:23 +10:00
Mitchell McCaffrey
05f68dcb92 Add back range tile select 2021-06-05 17:16:39 +10:00
Mitchell McCaffrey
7b5bbcf05d Remove unused map data update function 2021-06-05 16:38:18 +10:00
Mitchell McCaffrey
e3353c1c44 Add back tile search and action bar 2021-06-05 16:38:01 +10:00
Mitchell McCaffrey
5347e30b98 Move to a delayed asset cleanup function to fix bugs with custom token group images 2021-06-05 14:40:44 +10:00
Mitchell McCaffrey
e22c614150 Add a token tile hidden badge 2021-06-05 13:34:17 +10:00
Mitchell McCaffrey
34461a7899 Change TileDragProvider cursor 2021-06-05 13:04:56 +10:00
Mitchell McCaffrey
5db2b30bc1 Add default props to GroupProvider 2021-06-05 13:04:26 +10:00
Mitchell McCaffrey
0f2776d774 Add back map edit bar and refactor select map modal edit functions 2021-06-04 21:54:26 +10:00
Mitchell McCaffrey
0a03387bf4 Change drag cursors to grab and show no-drag cursor if needed 2021-06-03 12:25:23 +10:00
Mitchell McCaffrey
bac3101886 Add ability to drag and drop a tile onto the map and added better drag cursors 2021-05-28 17:06:20 +10:00
Mitchell McCaffrey
57aafce938 Add support for ungrouping tiles and refactor tile drag functions 2021-05-28 13:13:21 +10:00
Mitchell McCaffrey
71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +10:00
Mitchell McCaffrey
0917ef05a1 Rename select helper to group 2021-05-24 15:17:23 +10:00
Mitchell McCaffrey
b776b86186 Refactored group functions into common context and added group overlay 2021-05-24 13:34:21 +10:00
Mitchell McCaffrey
05968c1964 Add sub groups to group table 2021-05-14 18:02:50 +10:00
Mitchell McCaffrey
2b8bc11b5c Update useAssetURL to avoid database access when not needed 2021-05-13 16:28:02 +10:00
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +10:00
Mitchell McCaffrey
8aa3bda90d Move drag and drop to dnd-kit 2021-05-06 15:04:53 +10:00
Mitchell McCaffrey
f419029d56 Add default maps and tokens to db and split db upgrade into new file 2021-05-01 12:54:00 +10:00
Mitchell McCaffrey
a91d559ba6 Remove cache functions from map and tokens and add to assets 2021-04-30 11:56:37 +10:00
Mitchell McCaffrey
04cf5687dd Delete assets with maps and token 2021-04-30 09:54:35 +10:00
Mitchell McCaffrey
acbb00dc5b Fix map size label in map settings 2021-04-29 16:38:33 +10:00
Mitchell McCaffrey
71edf5c5c5 Add thumbnail sending to assets for map grid 2021-04-29 15:44:57 +10:00
Mitchell McCaffrey
0ccee84cbf Changed asset loading bar to show progress as a group of assets 2021-04-29 13:49:39 +10:00
Mitchell McCaffrey
9a9b778f04 Remove map preview sending and fix initial player map load 2021-04-24 12:39:04 +10:00
Mitchell McCaffrey
245a9cee43 Move tokenState to work without backing token, add asset sync 2021-04-23 17:10:10 +10:00
Mitchell McCaffrey
a023ef61ed Fix token and map editing and viewing 2021-04-23 11:48:24 +10:00
Mitchell McCaffrey
f078fb687e Add types to database context 2021-04-23 11:46:52 +10:00
Mitchell McCaffrey
9f11161b23 Moved assets into new table in the database 2021-04-22 16:53:35 +10:00
Mitchell McCaffrey
c7aac9d2ce Updated player session id syncing 2021-04-09 15:13:06 +10:00
Mitchell McCaffrey
0d8a4ef1b2 Fix quota exceeded error message 2021-04-09 11:32:36 +10:00
Mitchell McCaffrey
d8f3ae43f5 Moved database error to only show local error message 2021-04-01 11:48:10 +11:00
Mitchell McCaffrey
75f4b97135 Moved asset manifest to use partial network updates and fix asset cache ignoring changes 2021-03-22 21:23:43 +11:00
Mitchell McCaffrey
aa33e6c341 Moved database worker to database context to consolidate network requests 2021-03-19 15:32:17 +11:00
Mitchell McCaffrey
cfdff1e549 Moved to useBlur helper 2021-03-19 13:29:07 +11:00
Mitchell McCaffrey
815cc3aead Refactor error banners and add new slimlined reconnect and offline banners 2021-03-18 14:02:13 +11:00