Commit Graph

158 Commits

Author SHA1 Message Date
Mitchell McCaffrey
ecfab87aa0 More typescript 2021-07-09 16:22:35 +10:00
Mitchell McCaffrey
123ebd880a Format 2021-07-08 12:00:47 +10:00
Mitchell McCaffrey
62686136ab Merge branch 'master' into typescript 2021-07-02 15:54:54 +10:00
Mitchell McCaffrey
b28896db12 Fix bug with groups not being removed when deleting 2021-07-01 11:24:55 +10:00
Mitchell McCaffrey
b7793626cf Fix database error not showing the right message 2021-06-28 08:24:48 +10:00
Mitchell McCaffrey
cd826595cd Fix asset context asset undefined 2021-06-27 15:33:56 +10:00
Mitchell McCaffrey
72135b22be Use instanceof for database error handling 2021-06-27 15:14:26 +10:00
Mitchell McCaffrey
0bbfc4cdc3 Move to broadcast channel check for worker put asset 2021-06-27 15:13:45 +10:00
Mitchell McCaffrey
ab9cc9e148 Update asset context to reduce database calls 2021-06-26 18:22:20 +10:00
Mitchell McCaffrey
90aa43dbf0 Fix bug with cleaned up assets not reloading 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
cb48e6f946 Fix assets not showing up to players without a refresh 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
3b8565ad54 Replace dexie observable with useLiveQuery 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
097df533dd Remove unused variable 2021-06-25 20:54:29 +10:00
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
Nicola Thouliss
bfd0529207 Added all files successfully converted 2021-06-05 13:35:31 +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
Nicola Thouliss
ecc4f67f37 Converted /modals to typescript 2021-06-02 19:03:01 +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