52 Commits

Author SHA1 Message Date
Mitchell McCaffrey
78c86e6194 Added separate edit map modal and basic map viewer for it 2020-09-24 16:54:33 +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
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
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
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
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
887bce81d1 Refactored peer sync logic to use the data providers 2020-05-19 22:15:08 +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
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
9498ff9866 Fix file input bug for the same file twice 2020-04-26 18:29:21 +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