Commit Graph

1581 Commits

Author SHA1 Message Date
Mitchell McCaffrey
6013d839bb Add token outline generation to db versions 2021-06-10 15:06:11 +10:00
Mitchell McCaffrey
4b67071919 Replace token image cache with token outline hit function
Saves 70% perf on scroll then zoom with 100+ tokens
2021-06-10 11:16:47 +10:00
Mitchell McCaffrey
3d42b62b74 Add shape detection to token outline creation 2021-06-10 11:02:54 +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
8b0ee7075d Fix tile droppable rendering on Safari 2021-06-09 23:24:24 +10:00
Mitchell McCaffrey
a8c355f251 Fix tile drag cancel with modal open 2021-06-09 10:33:47 +10:00
Mitchell McCaffrey
63f77059f1 Update TokenSettings.js 2021-06-09 09:51:00 +10:00
Mitchell McCaffrey
1d2696228b Standardise settings select margins 2021-06-09 09:47:39 +10:00
Mitchell McCaffrey
ee34c599da Add remove group items for maps and tokens 2021-06-09 09:29:32 +10:00
Mitchell McCaffrey
1ec67c7a0f Fix map tile add to map drag bug 2021-06-09 08:35:53 +10:00
Mitchell McCaffrey
387ecd6fd7 Fix modal inset for safari 2021-06-09 08:32:58 +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
2088c2ab04 Fix global image drop zIndex 2021-06-07 22:27:28 +10:00
Mitchell McCaffrey
3ef61cac26 Styled global drop and allow for adding to map on drop 2021-06-07 22:25:36 +10:00
Mitchell McCaffrey
eb9afcc66a Refactor image drop and to a hook and move global image drop 2021-06-07 21:08:14 +10:00
Mitchell McCaffrey
98f7744c1f Add a global image drop for dropping directly to the map screen 2021-06-06 21:04:46 +10:00
Mitchell McCaffrey
4e7ed1d625 Add better optional handling to db error handler 2021-06-06 19:27:23 +10:00
Mitchell McCaffrey
acaf580ac7 Add error toasts for image drag and more restrictive image mime type rejection 2021-06-06 19:27:01 +10:00
Mitchell McCaffrey
7d1cff7358 Fix custom token loading for players 2021-06-06 11:03:07 +10:00
Mitchell McCaffrey
9d9fd5b753 Allow editing of default map and tokens and add default label setting 2021-06-06 10:24:56 +10:00
Mitchell McCaffrey
948be7cac2 Move drawing simplify away from grid dependent scaling 2021-06-06 09:39:07 +10:00
Mitchell McCaffrey
f5ccbe8f8f Update fog edit pattern opacity for new shading method 2021-06-06 09:05:39 +10:00
Mitchell McCaffrey
27c68b499d Add back group names 2021-06-05 18:05:35 +10:00
Mitchell McCaffrey
05f68dcb92 Add back range tile select 2021-06-05 17:16:39 +10:00
Mitchell McCaffrey
5f98b318b5 Remove old group modal 2021-06-05 16:38:28 +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
d6b6d6a1eb Hide token bar group if all items are hidden and only add visible tokens on drag 2021-06-05 14:46:14 +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
Mitchell McCaffrey
20351ff097 Add min height to token bar group 2021-06-05 14:19:55 +10:00
Mitchell McCaffrey
adce6ae7da Allow the hiding of default tokens 2021-06-05 13:38:01 +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
1a34dc756a Add token edit bar back 2021-06-05 13:04:12 +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
e508511ab5 Add check for vertical in token drag map bounds 2021-06-03 16:06:15 +10:00
Mitchell McCaffrey
597141d7fb Add token group drag from token bar 2021-06-03 16:05:57 +10:00
Mitchell McCaffrey
1ae9ce06cb Add more efficient method of adding multiple tokens to the map at once 2021-06-03 12:42:19 +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
c590adf836 Converted /components/banner to typescript 2021-06-02 19:08:36 +10:00
Nicola Thouliss
ecc4f67f37 Converted /modals to typescript 2021-06-02 19:03:01 +10:00
Nicola Thouliss
32f6e1fb23 Converted /ml folder to typescript 2021-05-29 14:20:24 +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
f84baab6fb Add workaround for token bar token placement 2021-05-28 15:11:46 +10:00
Mitchell McCaffrey
57aafce938 Add support for ungrouping tiles and refactor tile drag functions 2021-05-28 13:13:21 +10:00
Nicola Thouliss
349cad53a2 Converted assets index.js to typescript 2021-05-28 12:37:33 +10:00
Mitchell McCaffrey
456f91c9ae Move tile container background to stay with scrolled content 2021-05-27 17:37:59 +10:00
Mitchell McCaffrey
69eafb868c Ensure order of selected tiles is kept when moving them 2021-05-27 17:19:36 +10:00
Mitchell McCaffrey
dd130a008e More changes to dexie observable change helper 2021-05-27 17:19:02 +10:00
Nicola Thouliss
b9d003196a Converted more files to typescript 2021-05-27 17:14:54 +10:00
Nicola Thouliss
6f28db0789 Converted icons to typescript 2021-05-27 16:21:21 +10:00
Mitchell McCaffrey
3b3e9fba97 Fix an issue with dexie observable change helper 2021-05-27 15:47:35 +10:00
Mitchell McCaffrey
653dc2b963 Updated group drag overlay to be more compact 2021-05-27 15:46:14 +10:00
Mitchell McCaffrey
10808fe516 Fix TokenBarGroup collapsed image drag 2021-05-25 18:13:39 +10:00
Mitchell McCaffrey
d053bb48f3 Add group support for token bar 2021-05-25 18:07:10 +10:00
Mitchell McCaffrey
0d026d3710 Remove unused column property from TokenTileGroup 2021-05-25 18:06:57 +10:00
Mitchell McCaffrey
cd498167aa Handle refs properly for token and map images 2021-05-25 18:06:26 +10:00
Nicola Thouliss
86f15e9274 Added types to helpers 2021-05-25 17:35:26 +10:00
Mitchell McCaffrey
d55514ef7c Refactor map and token image 2021-05-25 16:56:37 +10:00
Mitchell McCaffrey
71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +10:00
Mitchell McCaffrey
68a084ebc9 Optimise sortable tile over detection and disable adding groups to groups 2021-05-24 17:44:49 +10:00
Mitchell McCaffrey
82f3a985f2 Added transition to modal open 2021-05-24 17:28:57 +10:00
Mitchell McCaffrey
4e5bd8bf02 Add animation to group open 2021-05-24 17:11:46 +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
4b225e5c14 Fix fog colour string warning 2021-05-24 13:07:54 +10:00
Mitchell McCaffrey
6ef3f680b4 Fix performance issues with editing map fog with lots of shapes 2021-05-24 11:36:46 +10:00
Mitchell McCaffrey
549ecbf65a Fix rendering of sub groups in group tiles 2021-05-21 16:14:11 +10:00
Mitchell McCaffrey
f496adae1d Fix drop overlay with single rowed grids 2021-05-21 16:12:32 +10:00
Mitchell McCaffrey
db460b2a4a Add creation of groups with drop 2021-05-21 16:12:09 +10:00
Mitchell McCaffrey
9c04a28c38 Add border around tile group drop over 2021-05-21 15:30:13 +10:00
Mitchell McCaffrey
9f5d0b8283 Add support for group visual with sortable tiles 2021-05-21 15:12:25 +10:00
Mitchell McCaffrey
d34cd98fa9 Added support for recursive groups in helper function 2021-05-20 14:01:17 +10:00
Mitchell McCaffrey
19a2668644 Even up group tile padding and fix light theme badge colour 2021-05-20 13:50:19 +10:00
Mitchell McCaffrey
3a68c47de6 Remove blank rect from map fog 2021-05-20 12:22:22 +10:00
Mitchell McCaffrey
ef73ca0179 Make tile groups selectable 2021-05-20 12:22:07 +10:00
Mitchell McCaffrey
05968c1964 Add sub groups to group table 2021-05-14 18:02:50 +10:00
Mitchell McCaffrey
ab800150ec Remove group from default tokens 2021-05-14 18:01:00 +10:00
Nicola Thouliss
e0e90ff0e5 Added dedupe integration to sentry in index.js 2021-05-14 14:16:26 +10:00
Mitchell McCaffrey
2b8bc11b5c Update useAssetURL to avoid database access when not needed 2021-05-13 16:28:02 +10:00
Mitchell McCaffrey
2ac3fcf5fb Added groups to database populate 2021-05-13 16:27:21 +10:00
Mitchell McCaffrey
954089fbe5 Remove droppable from map 2021-05-13 16:27:07 +10:00
Mitchell McCaffrey
aece31f89a Refactored to shared sortable tiles 2021-05-13 16:26:59 +10:00
Mitchell McCaffrey
ac50b91d2b Update token background 2021-05-09 19:18:03 +10:00
Mitchell McCaffrey
31ef21a588 Move sortable to drag overlay 2021-05-09 19:17:55 +10:00
Mitchell McCaffrey
5a6bfd8a60 Remove unknown source from token preview 2021-05-09 19:17:37 +10:00
Mitchell McCaffrey
d0531e3f10 Remove unused file 2021-05-09 12:04:41 +10:00
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +10:00
Mitchell McCaffrey
e1f5cb3014 Remove unused number input component 2021-05-06 15:08:12 +10:00
Mitchell McCaffrey
8aa3bda90d Move drag and drop to dnd-kit 2021-05-06 15:04:53 +10:00
Mitchell McCaffrey
bd522017a7 Rename token bar 2021-05-01 14:32:02 +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
2b342480a8 Migrate import/export to asset model 2021-04-30 14:05:12 +10:00
Mitchell McCaffrey
a3d22ba323 Fix token state upgrade for v1.9.0 2021-04-30 14:04:45 +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
fa94275ac8 Remove unknown source from map and token tiles 2021-04-30 11:55:21 +10:00
Mitchell McCaffrey
f844199172 Implement asset clear cache and remove cache when upgrading to 1.9 2021-04-30 09:55:05 +10:00
Mitchell McCaffrey
04cf5687dd Delete assets with maps and token 2021-04-30 09:54:35 +10:00
Mitchell McCaffrey
acbb00dc5b Fix map size label in map settings 2021-04-29 16:38:33 +10:00
Mitchell McCaffrey
71edf5c5c5 Add thumbnail sending to assets for map grid 2021-04-29 15:44:57 +10:00
Mitchell McCaffrey
0ccee84cbf Changed asset loading bar to show progress as a group of assets 2021-04-29 13:49:39 +10:00
Mitchell McCaffrey
994b9b5ebb Added circle and rect outline options and optimised storage structure 2021-04-25 17:10:32 +10:00
Mitchell McCaffrey
f7975c041a Added token outlines 2021-04-24 18:21:49 +10:00
Mitchell McCaffrey
aa9a8979e1 Remove grid lowest resolution lightness calculation 2021-04-24 12:43:47 +10:00
Mitchell McCaffrey
9a9b778f04 Remove map preview sending and fix initial player map load 2021-04-24 12:39:04 +10:00
Mitchell McCaffrey
245a9cee43 Move tokenState to work without backing token, add asset sync 2021-04-23 17:10:10 +10:00
Mitchell McCaffrey
a023ef61ed Fix token and map editing and viewing 2021-04-23 11:48:24 +10:00
Mitchell McCaffrey
6b9665ffe8 Fix token tile loading 2021-04-23 11:47:18 +10:00
Mitchell McCaffrey
b2ed5d2f6b Ensure session is available for disconnect 2021-04-23 11:47:08 +10:00
Mitchell McCaffrey
f078fb687e Add types to database context 2021-04-23 11:46:52 +10:00
Mitchell McCaffrey
9f11161b23 Moved assets into new table in the database 2021-04-22 16:53:35 +10:00
Mitchell McCaffrey
d620463c15 Update v1.8.1 socials 2021-04-21 20:40:24 +10:00
Mitchell McCaffrey
d00f5f883b Update v1.8.1.md 2021-04-21 18:57:37 +10:00
Mitchell McCaffrey
84528fe880 Update sentry dsn 2021-04-21 18:56:43 +10:00
Mitchell McCaffrey
ff8dfa0f4c Update v1.8.1.md 2021-04-16 16:03:31 +10:00
Mitchell McCaffrey
3cd974da4e Update v1.8.1.md 2021-04-16 13:39:08 +10:00
Mitchell McCaffrey
1d5cf77aea Fixed bug with corrupted map state on token deletion 2021-04-16 13:36:14 +10:00
Mitchell McCaffrey
3577938501 Fix unable to find owner toast appearing if map is cached 2021-04-15 21:49:18 +10:00
Mitchell McCaffrey
014cd553d1 Add background colours to loading overlays to make it more readable 2021-04-15 21:39:39 +10:00
Mitchell McCaffrey
33f34fb54f Fix file import button 2021-04-15 16:28:39 +10:00
Mitchell McCaffrey
47d18e9095 Merge branch 'test/v1.8.1' of https://github.com/mitchemmc/owlbear-rodeo into test/v1.8.1 2021-04-15 16:20:04 +10:00
Mitchell McCaffrey
da5bc8d4b7 Update v1.8.1.md 2021-04-15 16:19:55 +10:00
Mitchell McCaffrey
7605a06120 Added large file warning and limits to maps and tokens 2021-04-15 16:17:12 +10:00
Mitchell McCaffrey
a0d39feebe Added loading overlay to settings screen 2021-04-15 15:23:20 +10:00
Mitchell McCaffrey
7acb6bb161 Added comlink.transfer to export 2021-04-15 15:18:47 +10:00
Nicola Thouliss
3a29974ca5 Added force update handling 2021-04-11 18:02:02 +10:00
Mitchell McCaffrey
9cf2b35f1e Standardised settings capitalisation 2021-04-11 15:25:50 +10:00
Mitchell McCaffrey
b65e02f590 Add margin to tokens modal button 2021-04-11 15:19:31 +10:00
Mitchell McCaffrey
ee98175add Update 1.8.1 release notes 2021-04-11 15:05:18 +10:00
Mitchell McCaffrey
6216d3f813 Fix note and token text size on visible change 2021-04-11 13:49:29 +10:00
Mitchell McCaffrey
b9ce0fd03d Add fog edit opacity 2021-04-09 15:35:57 +10:00
Mitchell McCaffrey
c7aac9d2ce Updated player session id syncing 2021-04-09 15:13:06 +10:00
Mitchell McCaffrey
0d8a4ef1b2 Fix quota exceeded error message 2021-04-09 11:32:36 +10:00
Mitchell McCaffrey
95bd2b7734 Fix typo 2021-04-03 11:15:58 +11:00
Mitchell McCaffrey
d883ce0745 Center banners 2021-04-01 11:48:18 +11:00
Mitchell McCaffrey
d8f3ae43f5 Moved database error to only show local error message 2021-04-01 11:48:10 +11:00
Mitchell McCaffrey
24870666fb Fix toast effect dependency 2021-04-01 11:15:35 +11:00
Mitchell McCaffrey
c9993605c4 Fixed dice select double click select and scaling 2021-04-01 11:11:56 +11:00
Mitchell McCaffrey
2e404b24e0 Updated map size faq 2021-04-01 10:57:55 +11:00
Mitchell McCaffrey
fb1fdc430b Added toast for unable to find map owner 2021-04-01 10:55:45 +11:00
Mitchell McCaffrey
a5d14c0fa4 Moved dice asset loading to be parallel 2021-03-26 16:22:03 +11:00
Mitchell McCaffrey
2330709e62 Allow setting asset manifest to null 2021-03-26 15:48:55 +11:00
Mitchell McCaffrey
ad68aa7226 Refactor shortcuts into a central file and fix issue with caps lock 2021-03-25 16:31:06 +11:00
Mitchell McCaffrey
c77db06bce Restructure asset manifest to split replication id and assets 2021-03-23 10:24:01 +11:00
Mitchell McCaffrey
75f4b97135 Moved asset manifest to use partial network updates and fix asset cache ignoring changes 2021-03-22 21:23:43 +11:00
Mitchell McCaffrey
2015399466 Don't zoom on wheel end 2021-03-21 17:20:37 +11:00
Mitchell McCaffrey
9bd1ff2d97 Add alt and title to list tokens 2021-03-21 17:20:05 +11:00
Mitchell McCaffrey
8778bccd1b Add alt text to tiles 2021-03-21 17:19:50 +11:00
Mitchell McCaffrey
74e117c5dc Update v1.8.0.md 2021-03-20 08:56:38 +11:00
Mitchell McCaffrey
8e3008908f Update v1.8.1.md 2021-03-20 08:45:11 +11:00
Mitchell McCaffrey
0283dd137a Moved precision zoom to shift key 2021-03-19 16:30:37 +11:00
Mitchell McCaffrey
ae1b637e8e Update v1.8.1.md 2021-03-19 16:15:09 +11:00
Mitchell McCaffrey
25ea29fb26 Add loading indicator to file map select and allow selecting no maps 2021-03-19 16:11:25 +11:00
Mitchell McCaffrey
aa33e6c341 Moved database worker to database context to consolidate network requests 2021-03-19 15:32:17 +11:00
Mitchell McCaffrey
b25a570529 Update v1.8.1.md 2021-03-19 15:00:30 +11:00
Mitchell McCaffrey
0419991c15 Updated 1.8.1 release notes 2021-03-19 14:55:20 +11:00
Mitchell McCaffrey
c7bc09e9a4 Added v1.8.1 release notes 2021-03-19 14:51:10 +11:00
Mitchell McCaffrey
b69be17aca Added precision scroll shortcut 2021-03-19 13:29:37 +11:00
Mitchell McCaffrey
cfdff1e549 Moved to useBlur helper 2021-03-19 13:29:07 +11:00
Mitchell McCaffrey
0bc572cec2 Removed unused code in Party 2021-03-19 12:57:43 +11:00
Mitchell McCaffrey
7a77fdfca1 Party dice rolls only show icons for dice that have been rolled 2021-03-19 12:57:29 +11:00
Mitchell McCaffrey
1eab3e66a2 Added msgpack socket parser 2021-03-19 12:22:59 +11:00
Mitchell McCaffrey
083f505edc Remove process env log 2021-03-18 14:48:10 +11:00
Mitchell McCaffrey
815cc3aead Refactor error banners and add new slimlined reconnect and offline banners 2021-03-18 14:02:13 +11:00
Mitchell McCaffrey
83d80fbbbd Removed observable addon from loading on import db 2021-03-18 12:57:41 +11:00
Mitchell McCaffrey
c316f21020 Added check for database delete to see that the db is available 2021-03-18 12:57:19 +11:00
Mitchell McCaffrey
100a8f8fab Close db on worker put 2021-03-18 11:34:31 +11:00
Mitchell McCaffrey
adcb55b937 Removed force redraw from token caching 2021-03-18 11:26:02 +11:00
Mitchell McCaffrey
44aafbe2f3 Remove unused import 2021-03-18 11:25:29 +11:00
Mitchell McCaffrey
1526e47eda Fix image sources getting set to undefined 2021-03-16 17:50:20 +11:00
Mitchell McCaffrey
b1e90c74f7 Added worker implementation of database put 2021-03-16 17:49:50 +11:00
Mitchell McCaffrey
30eebe2a98 Added pointer events shim 2021-03-16 16:13:48 +11:00
Mitchell McCaffrey
8cc0a8d7b3 Log env 2021-03-15 12:46:14 +11:00
Nicola Thouliss
bc23fffa27 Removed unused import in MapInteraction.js 2021-03-13 14:30:06 +11:00
Nicola Thouliss
5e36238d0b Edited regular expression for ignored sentry error 2021-03-13 14:30:06 +11:00
Nicola Thouliss
4727ef4a0b Added recommend errors and urls to ignore 2021-03-13 14:27:14 +11:00
Nicola Thouliss
ccf9a55b2f Added regular expression to database errors 2021-03-13 14:27:14 +11:00
Mitchell McCaffrey
89fb803398 Moved konva context bridging to shared component 2021-03-13 14:23:37 +11:00
Mitchell McCaffrey
d1c62a51c0 Compressed all images 2021-03-13 13:22:43 +11:00
Mitchell McCaffrey
c1ee335437 Fix bug with adding image sources quickly 2021-03-12 17:46:20 +11:00
Mitchell McCaffrey
5231d14937 Moved to global image source manager to allow resource sharing 2021-03-12 17:35:26 +11:00
Mitchell McCaffrey
84d6db3ce7 Add more simplification to fog shapes 2021-03-12 14:33:08 +11:00
Mitchell McCaffrey
8148e5c52c Simplify fog points more 2021-03-12 14:15:29 +11:00
Mitchell McCaffrey
506ec25a72 Add show fog guides setting 2021-03-12 13:37:51 +11:00
Mitchell McCaffrey
355da5d012 Add max points to fog bounding box 2021-03-12 13:16:27 +11:00
Mitchell McCaffrey
c8e2707421 Remove merge shape before single layer fog 2021-03-12 12:33:24 +11:00
Mitchell McCaffrey
74b9e91486 Upgrade database to shorten fog ids 2021-03-12 11:19:12 +11:00
Mitchell McCaffrey
526fa89a4b Moved fog cut ids to shortids 2021-03-12 11:03:54 +11:00
Mitchell McCaffrey
e6fd10a904 Optimise grid and interaction context 2021-03-12 11:02:58 +11:00
Mitchell McCaffrey
f2eafaaf1b Updated fog tool docs to new video 2021-03-08 17:59:29 +11:00
Mitchell McCaffrey
1e0489d452 Optimise thumbnail database upgrade 2021-02-25 08:55:43 +11:00
Mitchell McCaffrey
9dbd7e35a6 Update ignore for state error 2021-02-24 17:43:04 +11:00
Mitchell McCaffrey
10a861a807 Add ignore to dexie state error 2021-02-24 09:12:42 +11:00
Mitchell McCaffrey
2889dda06b Increase thumbnail timeout time 2021-02-23 21:03:05 +11:00
Mitchell McCaffrey
ca16f9afa1 Add try catch to thumbnail generation 2021-02-23 20:53:29 +11:00
Mitchell McCaffrey
098dcd2db7 Updated v1.8.0 release notes with social links 2021-02-23 19:15:53 +11:00
Mitchell McCaffrey
3d74930fef Update general.md 2021-02-23 17:27:41 +11:00
Nicola Thouliss
bce791d768 Edited general faqs 2021-02-23 17:20:52 +11:00
Mitchell McCaffrey
3693d85d77 Update v1.8.0.md 2021-02-23 17:13:40 +11:00
Mitchell McCaffrey
b75774e138 Removed preview tag 2021-02-23 17:13:36 +11:00
Mitchell McCaffrey
3d2a0e325e Remove webrtc error ignore 2021-02-23 17:03:52 +11:00
Mitchell McCaffrey
7741171dee Merge branch 'master' into release/v1.8.0 2021-02-23 17:03:02 +11:00
Mitchell McCaffrey
629316c8d0 Added zoom shortcut 2021-02-23 14:11:12 +11:00
Mitchell McCaffrey
dfb7a67910 Update v1.8.0.md 2021-02-22 20:05:51 +11:00
Mitchell McCaffrey
5fb7041698 Fix fog fill pattern with fog preview 2021-02-22 19:58:46 +11:00
Mitchell McCaffrey
f5378e392b Remove fog cut alt shortcut 2021-02-22 19:57:32 +11:00
Mitchell McCaffrey
53d4e05502 Clear map actions on reset 2021-02-22 17:14:12 +11:00
Mitchell McCaffrey
d244471870 Removed fog guidelines of touch end 2021-02-22 17:04:35 +11:00
Mitchell McCaffrey
95864dd933 Update v1.8.0.md 2021-02-22 17:00:35 +11:00
Mitchell McCaffrey
ef91e65104 Renamed pan to move and updated docs for 1.8.0 2021-02-22 15:32:35 +11:00
Mitchell McCaffrey
525398d2ec Added back fog stroke when not editing 2021-02-22 10:41:34 +11:00
Mitchell McCaffrey
b372e4504d Fix bug with player joining 2021-02-20 18:10:00 +11:00
Mitchell McCaffrey
064ccbf65f Added a session expired modal 2021-02-20 18:09:49 +11:00
Mitchell McCaffrey
1f665674a4 Updated session socket type 2021-02-20 16:23:48 +11:00
Mitchell McCaffrey
c55e236a61 Added socket disconnect on game unmount 2021-02-20 16:23:37 +11:00
Mitchell McCaffrey
77bb13e8e6 Combine session status events into one event 2021-02-20 14:40:00 +11:00
Mitchell McCaffrey
0a12361b16 Changed thumbnail function to produce square images 2021-02-19 09:13:25 +11:00
Mitchell McCaffrey
4deae0ef50 Added handler for WebGL disabled error 2021-02-18 11:41:44 +11:00
Mitchell McCaffrey
41b51b0f45 Updated v1.8.0 release notes 2021-02-16 20:20:06 +11:00
Mitchell McCaffrey
768b68dbe8 Moved map and token changes to observable 2021-02-16 18:31:24 +11:00
Mitchell McCaffrey
b7ed9ae9d0 Removed unused import 2021-02-16 17:33:01 +11:00
Mitchell McCaffrey
b8d3c24e1d Added toasts to export/import success 2021-02-16 17:32:41 +11:00
Mitchell McCaffrey
dbec58b890 Remove console log from markdown 2021-02-16 08:38:49 +11:00
Mitchell McCaffrey
0b424c31ec Added delete shortcut to remove last point from polygon fog 2021-02-16 08:38:40 +11:00
Mitchell McCaffrey
7639297510 Removed edge snapping in favour of single layer fog system 2021-02-16 08:27:39 +11:00
Mitchell McCaffrey
1a2260515d Added error for invalid file 2021-02-14 19:17:14 +11:00
Mitchell McCaffrey
f92be8c42f Change export filename to use shortid 2021-02-14 19:17:03 +11:00
Mitchell McCaffrey
cf9e428447 Moved add/remove maps/tokens to Observables to allow for cross session syncing 2021-02-14 18:35:42 +11:00
Mitchell McCaffrey
265472311e Updated map state usage to use DB when selecting 2021-02-14 16:32:03 +11:00
Mitchell McCaffrey
53eb9b3c08 Updated select data UI edge cases 2021-02-14 13:58:21 +11:00
Mitchell McCaffrey
650084ac84 Added ability for import to automatically upgrade older db versions 2021-02-14 13:36:00 +11:00
Mitchell McCaffrey
631d232a09 Fix import of tokens states 2021-02-14 10:29:21 +11:00
Mitchell McCaffrey
db801930cb Added pretty json to export 2021-02-14 10:11:52 +11:00
Mitchell McCaffrey
18a82ec0e7 Added locking of exported tokens that are used in maps 2021-02-14 10:11:39 +11:00
Mitchell McCaffrey
c10a818d65 Fix crash with resized images over the canvas size limitation 2021-02-14 08:50:27 +11:00
Mitchell McCaffrey
2f4e671390 Fix crash when unable to resize image 2021-02-14 08:35:43 +11:00
Mitchell McCaffrey
8440a8de42 Added partial import and export functionality 2021-02-13 21:51:31 +11:00
Mitchell McCaffrey
6a8b977aea Remove known issues from 1.8.0 release notes 2021-02-13 15:49:41 +11:00
Mitchell McCaffrey
70eb049b4a Merge branch 'preview/v1.8.0' into release/v1.8.0 2021-02-13 15:48:23 +11:00
Mitchell McCaffrey
405e6ed6a3 Added error banner to database and updated to custom dexie-export-import build 2021-02-13 13:21:13 +11:00
Mitchell McCaffrey
93f45c738f Changed notes to left aligned and accept more text per line 2021-02-13 10:45:28 +11:00
Mitchell McCaffrey
ed605fe55b Added bounding box check to fog edge snapping 2021-02-13 10:20:55 +11:00
Mitchell McCaffrey
c6d87baf99 Fix triangle drawing with hexes 2021-02-13 10:00:30 +11:00
Mitchell McCaffrey
b557d00169 Update v1.8.0.md 2021-02-12 08:54:02 +11:00
Mitchell McCaffrey
a81cacb5fd Add known issues to 1.8.0 release notes 2021-02-12 00:40:42 +11:00
Mitchell McCaffrey
9b0bf9c005 Update ImportExportModal.js 2021-02-12 00:40:30 +11:00
Mitchell McCaffrey
9370365ab4 Fix warnings 2021-02-12 00:38:36 +11:00
Mitchell McCaffrey
002a52674b Clear map actions when map changes 2021-02-11 23:09:00 +11:00
Mitchell McCaffrey
57e64e132b Changed db import to use importInto 2021-02-11 23:01:32 +11:00
Mitchell McCaffrey
8117f7da2e Added v1.8.0 preview release notes 2021-02-11 20:58:34 +11:00
Mitchell McCaffrey
85270859bb Move to new fog snapping with guides and vertex snapping 2021-02-11 19:57:34 +11:00
Mitchell McCaffrey
547a214149 Added distance calculation support for hex 2021-02-11 10:06:06 +11:00
Mitchell McCaffrey
355cd2674a Increased square grid stroke width 2021-02-10 19:59:38 +11:00
Mitchell McCaffrey
96298e8943 Move measurement options to map settings 2021-02-10 19:59:15 +11:00
Mitchell McCaffrey
19def8cdb0 Changed fog shadow color to match shape color 2021-02-09 17:56:49 +11:00
Mitchell McCaffrey
2d5589a02e Changed grid overlay to use repeating images instead of shapes 2021-02-09 16:58:14 +11:00
Mitchell McCaffrey
663e1af4d9 Added max resolution to grid cache 2021-02-09 14:43:32 +11:00
Mitchell McCaffrey
846afe5495 Moved all grid snapping to useGridSnapping hook 2021-02-09 14:13:08 +11:00
Mitchell McCaffrey
3b30cc3882 Update index.js 2021-02-09 08:11:24 +11:00
Mitchell McCaffrey
aad173830c Added check for name in unhandled error 2021-02-09 08:07:40 +11:00
Mitchell McCaffrey
bbcc123e4e Updated drawing to console.log errors instead of Sentry log 2021-02-09 08:03:30 +11:00
Mitchell McCaffrey
cdb91eed60 Change editable fog outline to light grey 2021-02-09 08:00:24 +11:00
Mitchell McCaffrey
f1dce05830 Fix grid not showing in editor, and width resize 2021-02-08 18:51:44 +11:00
Mitchell McCaffrey
d0377596d2 Added grid render caching 2021-02-08 18:25:25 +11:00
Mitchell McCaffrey
75a7fb401b Remove unused import 2021-02-08 17:26:56 +11:00
Mitchell McCaffrey
a188736dd8 Added version comments to db 2021-02-08 17:08:29 +11:00
Mitchell McCaffrey
e36058263c Added more loading spinners to map and token operations 2021-02-08 17:06:54 +11:00
Mitchell McCaffrey
24e64f9d32 Update maps and tokens to have thumbnails and removed loading of all files on load 2021-02-08 16:53:56 +11:00
Mitchell McCaffrey
b9993e1a0b Moved from stream-saver to file-saver 2021-02-07 22:53:47 +11:00
Mitchell McCaffrey
93a8563210 Update ImportExportModal.js 2021-02-07 22:20:27 +11:00
Mitchell McCaffrey
23b0432bb2 Fix unused vars 2021-02-07 21:53:29 +11:00
Mitchell McCaffrey
31f502e6ba Add poly/ponyfills for WritableStream and Blob 2021-02-07 21:53:17 +11:00
Mitchell McCaffrey
291fd1512c Moved to domTarget for useGesture to fix pinch zoom error on Mac 2021-02-07 20:44:30 +11:00
Mitchell McCaffrey
9892227caf Added fix for grid nudge causing scroll 2021-02-07 17:40:22 +11:00
Mitchell McCaffrey
9f96145410 Updated rotation to have 15 degree increments 2021-02-07 17:25:29 +11:00
Mitchell McCaffrey
76533852cd Added a grid snapping sensitivity accessibility option 2021-02-07 16:42:29 +11:00
Mitchell McCaffrey
905b43a64b Merge branch 'master' into release/v1.7.1 2021-02-07 16:04:00 +11:00
Mitchell McCaffrey
09471bdf2b Added requesting asset tracking to prevent assets loading multiple times 2021-02-07 14:47:34 +11:00
Mitchell McCaffrey
502f872fbf Add hex support to useGridSnapping 2021-02-07 11:16:36 +11:00
Mitchell McCaffrey
fbea8bd7a7 Move grid snapping to hook and added math for hex snapping 2021-02-06 19:29:24 +11:00
Mitchell McCaffrey
f20173de35 Added shared grid context and moved away from calling useContext directly 2021-02-06 13:32:38 +11:00
Mitchell McCaffrey
8991be923e Added undershoot grid cells to hex grid 2021-02-05 17:42:14 +11:00
Mitchell McCaffrey
9ddb9a6bac Add hex support for map size changes 2021-02-05 16:57:10 +11:00
Mitchell McCaffrey
5dfddd6af9 Add hex support for default inset function 2021-02-05 11:00:31 +11:00
Mitchell McCaffrey
e90b6dea49 Add back vector to for capitilization change 2021-02-04 15:15:27 +11:00
Mitchell McCaffrey
835dbbbc0f Delete vector2.js 2021-02-04 15:14:57 +11:00
Mitchell McCaffrey
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00
Mitchell McCaffrey
924b3e2481 Moved draw action helpers into new file to fix import errors with workers 2021-02-04 09:59:03 +11:00
Mitchell McCaffrey
fa1f6fe18f Converted draw actions storage to collapsed representation
Moved to command pattern for action application
2021-02-04 09:11:27 +11:00
Mitchell McCaffrey
39352866cb Updated webrtc error ignore 2021-02-01 10:00:42 +11:00
Mitchell McCaffrey
d8f5ccb6a8 Fix token label not resizing on players screens 2021-01-28 17:10:26 +11:00
Mitchell McCaffrey
ff8d7c1547 Moved notes to be above drawings 2021-01-28 16:26:28 +11:00
Mitchell McCaffrey
2108d32501 Added colours and gradients to pointers 2021-01-28 15:12:30 +11:00
Mitchell McCaffrey
72ecd002dd Added automatic token label fitting 2021-01-27 17:00:03 +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
3127da0b67 Merge branch 'master' into release/v1.7.1 2021-01-27 11:05:39 +11:00
Mitchell McCaffrey
613beff72e Fix networked state update overriding current changes 2021-01-27 07:58:35 +11:00
Mitchell McCaffrey
b803f7b4d8 Fix crash with non synced fog edit 2021-01-27 07:57:59 +11:00
Mitchell McCaffrey
83a987d9df Add initial import export functionality 2021-01-26 21:49:44 +11:00
Mitchell McCaffrey
cbe1149178 Added extra logging for shape merge 2021-01-26 08:26:51 +11:00
Mitchell McCaffrey
00422a8113 Added extra logging to fog cut 2021-01-25 13:38:37 +11:00
Mitchell McCaffrey
feb803ebef Added note text only mode 2021-01-25 10:03:20 +11:00
Mitchell McCaffrey
55b9be4e2d Added center grid snapping for tokens 2021-01-25 09:15:32 +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
99502bc878 Added tracking of requesting assets to prevent multiple requests 2021-01-25 08:38:50 +11:00
Mitchell McCaffrey
edffbd8971 Removed duplicate getToken function 2021-01-25 08:19:48 +11:00
Mitchell McCaffrey
bda0aa9ebe Merge branch 'master' into release/v1.7.1 2021-01-25 08:19:25 +11:00
Mitchell McCaffrey
1c143f5464 Moved token request to DB and added sanity check to putToken 2021-01-24 17:50:52 +11:00
Mitchell McCaffrey
ae32068ccb Update TokenDataContext.js 2021-01-24 09:21:22 +11:00
Mitchell McCaffrey
6d548e6fff Update TokenDataContext.js 2021-01-24 09:20:32 +11:00
Mitchell McCaffrey
31f9af583a Added more logging to token put error 2021-01-24 09:18:25 +11:00
Mitchell McCaffrey
f05fe32e13 Merge branch 'master' into release/v1.7.0 2021-01-23 15:50:05 +11:00
Mitchell McCaffrey
b9d8a007e5 Optimized fog shapes to only include needed data 2021-01-23 15:44:25 +11:00
Mitchell McCaffrey
493377233c Removed strict null check from map and mapState 2021-01-23 00:01:15 +11:00
Mitchell McCaffrey
5219815a1f Separated fog snapping and drawing snapping, added square edge snapping 2021-01-22 15:00:31 +11:00
Mitchell McCaffrey
3abf9c62fa Changed data contexts to use useCallback and fixed performance issues when changing party state 2021-01-22 14:59:05 +11:00
Mitchell McCaffrey
b9e681f7a1 Updated network state debounce to 500ms 2021-01-22 06:59:49 +11:00
Mitchell McCaffrey
6c8ac51f29 Update useNetworkedState.js 2021-01-22 06:01:43 +11:00
Mitchell McCaffrey
34fcff9052 Added fallback for token statuses empty values and duplicates 2021-01-21 15:55:47 +11:00
Mitchell McCaffrey
2f9a55f176 Removed overflow from token and note menu 2021-01-21 14:47:49 +11:00
Mitchell McCaffrey
f9e6d9d807 Fixed spelling in maps FAQ 2021-01-21 14:18:45 +11:00
Mitchell McCaffrey
fcb10662c6 Added connection faq docs and ignore for WebRTC support error 2021-01-21 14:18:33 +11:00
Mitchell McCaffrey
82e8eb014e Update TokenStatus.js 2021-01-21 13:58:37 +11:00
Mitchell McCaffrey
4f76652eff Added null checks to asset manifest 2021-01-21 13:51:23 +11:00
Mitchell McCaffrey
ddf3a6daed Fix bug with adding tokens when no map is selected 2021-01-21 11:29:39 +11:00
Mitchell McCaffrey
e892661016 Added checks for peer availability and fixed peer error handling 2021-01-21 08:44:46 +11:00
Mitchell McCaffrey
de3c601bb3 Added null check to useNetworkState update 2021-01-21 07:23:07 +11:00
Mitchell McCaffrey
af3839c9ff Added null check to token status 2021-01-21 07:14:32 +11:00
Mitchell McCaffrey
cf63034c0e Fix drawing null action 2021-01-21 07:12:44 +11:00
Mitchell McCaffrey
4c927c7877 Added 1.7.0 social links 2021-01-20 20:21:19 +11:00
Mitchell McCaffrey
7a13cf46bf Updated 1.7.0 release notes to prod 2021-01-20 19:51:30 +11:00
Mitchell McCaffrey
1e545b3220 Added comment to peer data progress 2021-01-20 19:20:38 +11:00
Mitchell McCaffrey
272793b1ee Fix token add to manifest 2021-01-20 19:20:21 +11:00
Mitchell McCaffrey
b2b6f281a9 Fix map grid detection 2021-01-20 18:55:42 +11:00
Nicola Thouliss
7583817f6a Added FAQ update to release notes
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2021-01-20 18:44:04 +11:00
Nicola Thouliss
151e541313 Updated docs
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2021-01-20 18:43:56 +11:00
Nicola Thouliss
71cce03d58 Adding question to FAQs 2021-01-20 18:10:44 +11:00
Nicola Thouliss
a0e5d320fb Removing saving.md and connection.md file 2021-01-20 18:10:44 +11:00
Nicola Thouliss
2d680dacbd Adding additional faqs 2021-01-20 18:10:44 +11:00
Mitchell McCaffrey
28b9886b06 Moved asset load callbacks to take into account database insertion time 2021-01-20 18:08:03 +11:00
Mitchell McCaffrey
435752e7a9 Moved peer connection to fully use write for backpressure 2021-01-20 18:07:23 +11:00
Mitchell McCaffrey
5a0567019a Fix map upload crash for file with no name 2021-01-19 18:40:43 +11:00
Mitchell McCaffrey
c61ff28942 Fix image drop url parameters 2021-01-19 18:40:22 +11:00
Mitchell McCaffrey
a892c09fd1 Reduced note menu back to 1 row 2021-01-14 15:40:29 +11:00