finally released!
the first time you restart kinopio you’ll see a log message that starts with 🥂 migrated from ls to idb
with some object details. you can also inspect your new indexeddb from the browser in the devtools storage tab. Besides that, things should not be noticeable.
implementation notes:
I used the idb-keyvalue lib to abstract away db things, but it wasn’t a drop in replacement because unlike ls, idb is async. A core assumption of the app is that local caching was synchronous (e.g. vuex mutations and vue computed values don’t support async), so this ended up being a huge project that refactored almost every part of the app to support async caching (cache uses indexedDB by pketh · Pull Request #569 · kinopio-club/kinopio-client · GitHub)