Commit Graph

263 Commits

Author SHA1 Message Date
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
Mitchell McCaffrey
3112890fd3 Fixed settings update delay 2020-04-26 20:48:01 +10:00
Mitchell McCaffrey
f371a62a04 Fix memory async error with map tile double click and default map selection bug 2020-04-26 19:22:30 +10:00
Mitchell McCaffrey
4f5f4706c6 Added light theme 2020-04-26 19:04:18 +10:00
Mitchell McCaffrey
9498ff9866 Fix file input bug for the same file twice 2020-04-26 18:29:21 +10:00
Mitchell McCaffrey
1efd918af4 Added settings modal and reset data 2020-04-26 18:24:05 +10:00
Mitchell McCaffrey
568a2d6877 Removed console log 2020-04-26 17:25:13 +10:00
Mitchell McCaffrey
297669173a Added a show more toggle to map settings 2020-04-26 17:25:04 +10:00
Mitchell McCaffrey
a07b95ec2d reload maps every time the select map modal is opened 2020-04-26 17:12:15 +10:00
Mitchell McCaffrey
fbdb68596e Added permissions functionality 2020-04-26 14:34:27 +10:00
Mitchell McCaffrey
4c65aac189 Added map name and map state edit flags to map settings 2020-04-26 13:47:54 +10:00
Mitchell McCaffrey
010d637e0e Refactored map settings 2020-04-26 12:57:36 +10:00
Mitchell McCaffrey
4c667e9c5f Added name to map and added default props 2020-04-26 12:26:32 +10:00
Mitchell McCaffrey
d8f8fb6059 Removed owner data from map state 2020-04-26 11:37:03 +10:00
Mitchell McCaffrey
e978aabd15 Fix map sorting in select map modal 2020-04-24 18:41:39 +10:00
Mitchell McCaffrey
65478d555b Added user id and owner model for map state and tokens db table 2020-04-24 17:53:42 +10:00
Mitchell McCaffrey
a4e1a898ad Send a map clear before replace to ensure new state isn't show on old image 2020-04-24 16:18:48 +10:00
Mitchell McCaffrey
ed8f3bd283 Moved maps and tokens to a data source model
This will allow for easier custom token support as well as changing default tokens
2020-04-24 15:50:05 +10:00
Mitchell McCaffrey
98798235c9 Added quick map select with double click 2020-04-23 22:12:50 +10:00
Mitchell McCaffrey
5539fcf16a Fix selectMapButton name and a bug with deleting a map that isn't the current one 2020-04-23 21:54:58 +10:00
Mitchell McCaffrey
6f2e883e74 Moved default maps to being stored in the database to stop overriding 2020-04-23 21:19:52 +10:00
Mitchell McCaffrey
10c259a6b3 Added state to default maps and added clear state option to map tile 2020-04-23 20:32:33 +10:00
Mitchell McCaffrey
6f0df1c674 Made the add map icon larger and changed to select map 2020-04-23 18:01:40 +10:00
Mitchell McCaffrey
25b215d4e4 Added map state to the database 2020-04-23 17:23:34 +10:00
Mitchell McCaffrey
071cd3ea7f Added an indexedb database to store uploaded maps into 2020-04-23 15:02:03 +10:00
Mitchell McCaffrey
8681864ddc Added sending of default maps 2020-04-23 13:31:54 +10:00
Mitchell McCaffrey
22c5b5cf75 Added multiple map layout and basic data flow 2020-04-23 11:54:29 +10:00
Mitchell McCaffrey
0b7c8d6c56 Added map grid size detection from file name 2020-04-20 16:34:38 +10:00
Mitchell McCaffrey
6fb2e9f113 Changed map data grid size labelling and fixed ui labels 2020-04-20 14:49:38 +10:00
Mitchell McCaffrey
1f20959940 Moved to loading stripe dynamically to prevent it tracking without opening the donation modal 2020-04-19 10:35:36 +10:00
Mitchell McCaffrey
03d0c4a0fe Add autofocus to start modal 2020-04-15 22:08:24 +10:00
Mitchell McCaffrey
b76a70ca81 Fix bug with dropping empty map 2020-04-15 21:57:18 +10:00
Mitchell McCaffrey
279d83122f Added drag and drop support to map upload 2020-04-15 21:15:16 +10:00
Mitchell McCaffrey
0015144d1a Added stripe integration and donation modal 2020-04-15 12:51:03 +10:00
Mitchell McCaffrey
ff2127cc77 Removed join text face and added to about 2020-04-14 16:55:03 +10:00
Mitchell McCaffrey
2ceec9cfec Added authentication handling 2020-04-14 16:05:44 +10:00
Mitchell McCaffrey
8ba3881529 Updated nickname modal to focus input by default 2020-04-13 18:36:33 +10:00
Mitchell McCaffrey
5c0272fc2d Moved join screen to a modal 2020-04-13 18:29:46 +10:00
Mitchell McCaffrey
bcf9f94c24 Refactored buttons and modals to be separate 2020-04-13 18:15:00 +10:00