bitshares / bitshares/bitshares-ui
Suggestion to abstract away IndexedDB requirement
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
Right now, the UI depends heavily on IndexedDB being available using it as a live DB during normal operation (and not only for persistance).
This causes problems in browsers that disable IndexedDB access in private/incognito mode such as Firefox.
I suggest we use an in-mem abstraction for data storage during normal operation and only use IndexedDB or localStorage for persistence between sessions.
One option would be something like: https://github.com/agershun/alasql
Contributor guide
Research direction
Start by locating the UI's IndexedDB usage and persistence paths; the issue names no files or tests. Compare the current live-storage behavior with an in-memory approach, then verify that sessions still persist through IndexedDB or localStorage and that normal operation works when IndexedDB is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database, frontend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100