Commit Graph

243 Commits

Author SHA1 Message Date
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
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
b9ce0fd03d Add fog edit opacity 2021-04-09 15:35:57 +10:00
Mitchell McCaffrey
c9993605c4 Fixed dice select double click select and scaling 2021-04-01 11:11:56 +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
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
cfdff1e549 Moved to useBlur helper 2021-03-19 13:29:07 +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
506ec25a72 Add show fog guides setting 2021-03-12 13:37:51 +11:00
Mitchell McCaffrey
53d4e05502 Clear map actions on reset 2021-02-22 17:14:12 +11:00
Mitchell McCaffrey
064ccbf65f Added a session expired modal 2021-02-20 18:09:49 +11:00
Mitchell McCaffrey
77bb13e8e6 Combine session status events into one event 2021-02-20 14:40:00 +11:00
Mitchell McCaffrey
b8d3c24e1d Added toasts to export/import success 2021-02-16 17:32:41 +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
18a82ec0e7 Added locking of exported tokens that are used in maps 2021-02-14 10:11:39 +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
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
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
57e64e132b Changed db import to use importInto 2021-02-11 23:01:32 +11:00
Mitchell McCaffrey
96298e8943 Move measurement options to map settings 2021-02-10 19:59:15 +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
31f502e6ba Add poly/ponyfills for WritableStream and Blob 2021-02-07 21:53:17 +11:00
Mitchell McCaffrey
76533852cd Added a grid snapping sensitivity accessibility option 2021-02-07 16:42:29 +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
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
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +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
83a987d9df Add initial import export functionality 2021-01-26 21:49:44 +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
b2b6f281a9 Fix map grid detection 2021-01-20 18:55:42 +11:00
Mitchell McCaffrey
5a0567019a Fix map upload crash for file with no name 2021-01-19 18:40:43 +11:00
Mitchell McCaffrey
eb0826d48c Moved to pixel per grid sizes for map resolutions 2021-01-04 10:16:25 +11:00
Mitchell McCaffrey
d1315b3425 Added a larger layout for map and token select and edit 2021-01-03 14:53:06 +11:00
Mitchell McCaffrey
485b893fc6 Added use password option to saved settings 2021-01-02 09:28:26 +11:00
Mitchell McCaffrey
9265b99788 Added url support to image dropping 2020-12-11 16:36:27 +11:00
Mitchell McCaffrey
926f05f301 Added persistent storage permissions when uploading maps or tokens 2020-11-27 21:00:08 +11:00
Mitchell McCaffrey
951c515334 Added check for storage estimate available 2020-11-27 19:36:44 +11:00
Mitchell McCaffrey
5a4d879ac3 Changed start modal label to clarify password is for game 2020-11-27 11:26:56 +11:00
Mitchell McCaffrey
3cb1014ed2 Added getting started modal to home screen 2020-11-27 11:23:20 +11:00
Mitchell McCaffrey
7ac555baa0 Fix null reference error when image upload dialog is closed when image upload finishes 2020-11-26 16:32:48 +11:00
Mitchell McCaffrey
aaa793ad71 Added multi-threaded initial map and token loading 2020-11-26 16:29:10 +11:00
Mitchell McCaffrey
9ee3efbadb Added storage usage summary to settings modal 2020-11-26 13:17:53 +11:00
Mitchell McCaffrey
088466ea07 Added slider label on drag 2020-11-06 13:35:11 +11:00
Mitchell McCaffrey
05e66e5e82 Reverted unnecessary changes to fix fake-indexeddb issue 2020-10-24 09:05:16 +11:00
Mitchell McCaffrey
f8d7f7f19f Updated update map 2020-10-24 00:01:46 +11:00
Mitchell McCaffrey
60d24050ee Added back show more option for maps but made it on by default 2020-10-23 20:22:12 +11:00
Mitchell McCaffrey
611e7af3d9 Removed show more button for editing maps 2020-10-22 16:39:24 +11:00
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