Commit Graph

188 Commits

Author SHA1 Message Date
Mitchell McCaffrey
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00
Mitchell McCaffrey
39f3034f91 Moved to Comlink.transfer for worker data loading to prevent memory issues 2021-01-27 16:24:13 +11:00
Mitchell McCaffrey
5d1fdaedd8 Disabled export button when database is unavailable 2021-01-27 12:06:37 +11:00
Mitchell McCaffrey
78b8653986 Change export extension 2021-01-27 12:03:10 +11:00
Mitchell McCaffrey
02fa9725cb Moved import/export to worker 2021-01-27 11:57:23 +11:00
Mitchell McCaffrey
83a987d9df Add initial import export functionality 2021-01-26 21:49:44 +11:00
Mitchell McCaffrey
fcb87104cd Ensure other modals are closed when deleting maps or tokens 2021-01-25 09:00:19 +11:00
Mitchell McCaffrey
b2b6f281a9 Fix map grid detection 2021-01-20 18:55:42 +11:00
Mitchell McCaffrey
5a0567019a Fix map upload crash for file with no name 2021-01-19 18:40:43 +11:00
Mitchell McCaffrey
eb0826d48c Moved to pixel per grid sizes for map resolutions 2021-01-04 10:16:25 +11:00
Mitchell McCaffrey
d1315b3425 Added a larger layout for map and token select and edit 2021-01-03 14:53:06 +11:00
Mitchell McCaffrey
485b893fc6 Added use password option to saved settings 2021-01-02 09:28:26 +11:00
Mitchell McCaffrey
9265b99788 Added url support to image dropping 2020-12-11 16:36:27 +11:00
Mitchell McCaffrey
926f05f301 Added persistent storage permissions when uploading maps or tokens 2020-11-27 21:00:08 +11:00
Mitchell McCaffrey
951c515334 Added check for storage estimate available 2020-11-27 19:36:44 +11:00
Mitchell McCaffrey
5a4d879ac3 Changed start modal label to clarify password is for game 2020-11-27 11:26:56 +11:00
Mitchell McCaffrey
3cb1014ed2 Added getting started modal to home screen 2020-11-27 11:23:20 +11:00
Mitchell McCaffrey
7ac555baa0 Fix null reference error when image upload dialog is closed when image upload finishes 2020-11-26 16:32:48 +11:00
Mitchell McCaffrey
aaa793ad71 Added multi-threaded initial map and token loading 2020-11-26 16:29:10 +11:00
Mitchell McCaffrey
9ee3efbadb Added storage usage summary to settings modal 2020-11-26 13:17:53 +11:00
Mitchell McCaffrey
088466ea07 Added slider label on drag 2020-11-06 13:35:11 +11:00
Mitchell McCaffrey
05e66e5e82 Reverted unnecessary changes to fix fake-indexeddb issue 2020-10-24 09:05:16 +11:00
Mitchell McCaffrey
f8d7f7f19f Updated update map 2020-10-24 00:01:46 +11:00
Mitchell McCaffrey
60d24050ee Added back show more option for maps but made it on by default 2020-10-23 20:22:12 +11:00
Mitchell McCaffrey
611e7af3d9 Removed show more button for editing maps 2020-10-22 16:39:24 +11:00
Mitchell McCaffrey
dddfb3d498 Added token width and height for new and default tokens 2020-10-22 16:09:27 +11:00
Mitchell McCaffrey
d4ccad8e0a Added bounds to grid name match 2020-10-22 12:07:06 +11:00
Mitchell McCaffrey
63a62391dc Renamed radio to audio sharing 2020-10-17 16:17:38 +11:00
Mitchell McCaffrey
e9e7794027 Added token preview to edit token modal and refactored Grid from Map Grid 2020-10-17 10:45:59 +11:00
Mitchell McCaffrey
339bda47e2 Re-labeled select dice button 2020-10-17 09:19:04 +11:00
Mitchell McCaffrey
5b9cabf532 Moved donate modal to its own route
Changed routes to be kebab case instead of camel case
2020-10-16 22:09:36 +11:00
Mitchell McCaffrey
f21fa8fb02 Added tfjs and ml model for grid detection 2020-10-14 09:53:32 +11:00
Mitchell McCaffrey
fa659bc80a Added delete key shortcut to select maps and tokens modal 2020-10-10 15:44:07 +11:00
Mitchell McCaffrey
8d85f6e347 Added confirm modal and added confirmation for deleting and resetting maps and tokens 2020-10-10 15:32:59 +11:00
Mitchell McCaffrey
fb6e7e036b Fix bug with multi select and alt+tab 2020-10-10 11:29:42 +11:00
Mitchell McCaffrey
21bed5b710 Added verification for grid inset 2020-10-10 11:19:11 +11:00
Mitchell McCaffrey
718713b036 Added token hide in sidebar to multi select 2020-10-09 16:18:52 +11:00
Mitchell McCaffrey
1043f093cd Fix error with grid values being set to infinity and update map grid size verification 2020-10-09 15:14:04 +11:00
Mitchell McCaffrey
f851b01f47 Added name capitalization to token and map upload 2020-10-09 13:10:30 +11:00
Mitchell McCaffrey
cce339224b Added default map inset and grid size heuristic 2020-10-08 19:20:14 +11:00
Mitchell McCaffrey
f9a69a422b Fix token and map setting update reset on modal closure 2020-10-07 16:42:40 +11:00
Mitchell McCaffrey
3e5478f7a8 Changed grid scale and offset to inset and added grid editor 2020-10-02 17:53:23 +10:00
Mitchell McCaffrey
539f216cfe Added grid scale and offset to maps and refactored into grid object 2020-10-02 15:19:10 +10:00
Mitchell McCaffrey
f28d1b6690 Added search and groups to token select, refactored map search and group 2020-10-01 22:32:21 +10:00
Mitchell McCaffrey
0174acbde0 Added open check for shortcuts on map select modal 2020-10-01 16:41:57 +10:00
Mitchell McCaffrey
3215efffa3 Added map group support 2020-10-01 15:05:30 +10:00
Mitchell McCaffrey
99b2bd0240 Added multi map remove to map data context 2020-09-30 15:44:48 +10:00
Mitchell McCaffrey
29ce562d01 Added search filtering to map select 2020-09-30 15:39:56 +10:00
Mitchell McCaffrey
8ac4e0aec9 Added keyboard shortcuts to map select 2020-09-30 13:58:43 +10:00
Mitchell McCaffrey
670f047049 Added map search UI and initial multi-select 2020-09-30 12:30:33 +10:00
Mitchell McCaffrey
78c86e6194 Added separate edit map modal and basic map viewer for it 2020-09-24 16:54:33 +10:00
Mitchell McCaffrey
332de6433b Fix spelling mistakes 2020-09-23 15:12:52 +10:00
Mitchell McCaffrey
e92c561a3a Added automatic cache invalidation for maps and tokens 2020-09-11 16:56:40 +10:00
Mitchell McCaffrey
529fd2caae Fixed bug that caused a crash when a map was deleted with unsaved changes 2020-09-11 11:24:25 +10:00
Mitchell McCaffrey
73180ee1cd Added token label size setting 2020-09-08 15:06:15 +10:00
Mitchell McCaffrey
b07b9ff260 Added mobile support to select dice modal and added padding to mobile modals 2020-09-06 16:24:23 +10:00
Mitchell McCaffrey
24a3387b51 Added scaling to map and token select for small screens 2020-09-06 13:20:05 +10:00
Mitchell McCaffrey
3c27f65d0f Added token category option 2020-08-27 19:09:16 +10:00
Mitchell McCaffrey
68f5a409e2 Added local storage clearing for cache clear 2020-08-12 10:37:28 +10:00
Mitchell McCaffrey
602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +10:00
Mitchell McCaffrey
239f377aef Changed map and token select number inputs to not prepend a 0 when typing numbers 2020-08-07 13:56:03 +10:00
Mitchell McCaffrey
76cad29f2b Added snap to grid option to map settings 2020-08-07 12:28:50 +10:00
Mitchell McCaffrey
93a09db707 Fix bug that caused closing the select map modal to select the map
Added ability to deselect a map by clicking outside of the map select tile
2020-08-06 13:31:46 +10:00
Mitchell McCaffrey
4199d7ab6a Change the timer data structure to fix network bugs and refactored shared timer functions 2020-08-05 12:01:54 +10:00
Mitchell McCaffrey
6d8b0312a8 Added initial network and timer countdown 2020-08-04 17:08:42 +10:00
Mitchell McCaffrey
fc4d36963f Moved timer tool out of the map controls and into the party controls 2020-08-04 16:26:53 +10:00
Mitchell McCaffrey
8f9027c69f Fixed bug with map setting changes not being synced over to players 2020-07-17 19:22:12 +10:00
Mitchell McCaffrey
249d1d2492 Added loading spinner to map loading 2020-07-17 16:19:59 +10:00
Mitchell McCaffrey
57c1d01fc7 Disable quality settings that aren't available and change map quality 2020-07-15 17:35:36 +10:00
Mitchell McCaffrey
e4b3897ac4 Added map quality option and selector in map select screen 2020-07-15 17:17:11 +10:00
Mitchell McCaffrey
a96d177cc5 Changed map resolutions 2020-07-13 21:48:31 +10:00
Mitchell McCaffrey
914889c56d Added basic resolution support for custom maps 2020-07-13 19:36:38 +10:00
Mitchell McCaffrey
a8c670359c Fix bug with map settings changes getting carried over on delete 2020-07-01 08:40:37 +10:00
Mitchell McCaffrey
761bf8e800 Removed async from select map modal setting change functions 2020-06-28 15:44:06 +10:00
Mitchell McCaffrey
c6a9455e8f Added setting change cache to token settings modal 2020-06-28 15:43:45 +10:00
Mitchell McCaffrey
67356255b9 Added map settings change cache to improve editing performance 2020-06-27 11:18:47 +10:00
Mitchell McCaffrey
faddf03ecf Added show map grid option to maps 2020-05-31 16:25:05 +10:00
Mitchell McCaffrey
55bf9e4d03 Added multiple simultaneous map and token upload support 2020-05-31 10:53:33 +10:00
Mitchell McCaffrey
49c18e8cf7 Added hide in sidebar option for custom tokens 2020-05-28 16:23:20 +10:00
Mitchell McCaffrey
b8e5554058 Moved dice folder 2020-05-28 13:06:33 +10:00
Mitchell McCaffrey
84b198c851 Added dice style select 2020-05-26 14:47:37 +10:00
Mitchell McCaffrey
a8bd5ab672 Added is vehicle checkbox and vehicle type tokens 2020-05-22 20:43:07 +10:00
Mitchell McCaffrey
e188294aed Fix select token done button bug 2020-05-22 18:04:17 +10:00
Mitchell McCaffrey
26b82cc782 Added default size to token modal 2020-05-20 12:37:29 +10:00
Mitchell McCaffrey
3f959fd3a3 Added unknown token for when a token in use is deleted 2020-05-20 11:35:14 +10:00
Mitchell McCaffrey
887bce81d1 Refactored peer sync logic to use the data providers 2020-05-19 22:15:08 +10:00
Mitchell McCaffrey
0f5f90faa6 Added custom token loading and replication 2020-05-19 19:03:36 +10:00
Mitchell McCaffrey
7b98370e4c Added token edit modal, refactored map and token data providers
Refactored image drop code into reusable component as well
2020-05-19 16:21:01 +10:00
Mitchell McCaffrey
60059ff447 Added database faker for when indexedb is disabled
Database is now in a context with a status
New FAQ for indexdb errors
2020-05-03 18:22:09 +10:00
Mitchell McCaffrey
05d5c76c86 Moved to msgpack instead of js-binarypack 2020-05-03 10:44:26 +10:00
Mitchell McCaffrey
ca0240351c Moved to storing maps as uint arrays instead of blobs 2020-05-01 17:37:01 +10:00
Mitchell McCaffrey
05a13acf8b Added back state restoration on map modal open 2020-04-30 15:15:12 +10:00
Mitchell McCaffrey
0d2b6bf4b0 Removed unused map select code 2020-04-30 14:40:05 +10:00
Mitchell McCaffrey
67deb67979 Fixed map sorting 2020-04-30 14:36:36 +10:00
Mitchell McCaffrey
fa800d81bb Add clear cache button 2020-04-30 14:24:47 +10:00
Mitchell McCaffrey
87952491f0 Temp work around of safari map load bug 2020-04-30 14:24:26 +10:00
Mitchell McCaffrey
d066b262fa Implemented own blob to buffer function, fixed permission bug by creating copy of map file 2020-04-30 14:24:03 +10:00
Mitchell McCaffrey
58bee3085d Added owner to map and token keys, added map cache 2020-04-30 11:25:33 +10:00
Mitchell McCaffrey
ccaa51fe84 Moved back to always showing controls and removed option to disable map change 2020-04-29 21:32:23 +10:00
Mitchell McCaffrey
5e2c178118 Separated map drawing and map fog into separate action lists 2020-04-28 22:05:47 +10:00