Commit Graph

230 Commits

Author SHA1 Message Date
Mitchell McCaffrey
6e164e7f83 Move import handler to use a transaction and add error message for missing assets 2021-06-27 15:16:07 +10:00
Mitchell McCaffrey
9d587cb2b1 Fix bug with imported assets not getting assigned ownership 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
45ce2685c6 Add console error to import 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
72f2c74e9d Add on upgrade listener for DB and overlay when upgrading 2021-06-24 16:14:20 +10:00
Mitchell McCaffrey
cfd4c163e2 Update edit modal padding to match select screen 2021-06-17 11:11:21 +10:00
Mitchell McCaffrey
6b927b4456 Fix bug with importing single item from groups 2021-06-15 08:45:08 +10:00
Mitchell McCaffrey
63a809592e Fix importing with not all groups exported 2021-06-14 17:51:07 +10:00
Mitchell McCaffrey
359be5373b Fix edit modal save buttons click 2021-06-12 21:00:30 +10:00
Mitchell McCaffrey
e81430be80 Add try catch to erase data button 2021-06-12 19:00:01 +10:00
Mitchell McCaffrey
458feeec9e Move map and token settings to match the group overlay visual 2021-06-12 14:30:54 +10:00
Mitchell McCaffrey
dab655935f Add group support for import/export data 2021-06-11 15:21:08 +10:00
Mitchell McCaffrey
183c7db1a6 Add group support to SelectDataModal 2021-06-11 12:20:22 +10:00
Mitchell McCaffrey
4bfe49f454 Optimisation to tile rendering 2021-06-10 20:08:11 +10:00
Mitchell McCaffrey
b75db97c26 Add custom drag context wrapper to inject the overlay rect on drag end 2021-06-10 18:04:32 +10:00
Mitchell McCaffrey
a8c355f251 Fix tile drag cancel with modal open 2021-06-09 10:33:47 +10:00
Mitchell McCaffrey
1ec67c7a0f Fix map tile add to map drag bug 2021-06-09 08:35:53 +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
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
acaf580ac7 Add error toasts for image drag and more restrictive image mime type rejection 2021-06-06 19:27:01 +10:00
Mitchell McCaffrey
27c68b499d Add back group names 2021-06-05 18:05:35 +10:00
Mitchell McCaffrey
5f98b318b5 Remove old group modal 2021-06-05 16:38:28 +10:00
Mitchell McCaffrey
e3353c1c44 Add back tile search and action bar 2021-06-05 16:38:01 +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
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
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
57aafce938 Add support for ungrouping tiles and refactor tile drag functions 2021-05-28 13:13:21 +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
71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +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
ef73ca0179 Make tile groups selectable 2021-05-20 12:22:07 +10:00
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +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
a91d559ba6 Remove cache functions from map and tokens and add to assets 2021-04-30 11:56:37 +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
acbb00dc5b Fix map size label in map settings 2021-04-29 16:38:33 +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
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
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
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