Commit Graph

51 Commits

Author SHA1 Message Date
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