mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 01:28:12 +08:00
Refactor persistent data storage code and add button to wipe data on crash (#827)
* Organize persistence.ts * Switch to simpler promise handling * Switch document list storage from localStorage to IndexedDB * Track document auto-save status to avoid re-auto-saving unnecessarily * Add button to clear storage on crash * Bump document version and test file * Switch to IDB-Keyval instead of raw IDB transactions
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"homepage": "https://graphite.rs",
|
||||
"dependencies": {
|
||||
"class-transformer": "^0.5.0",
|
||||
"idb-keyval": "^6.2.0",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"vue": "^3.2.26"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user