Refactor IndexedDb boilerplate.

This commit is contained in:
Chris McCormick 2026-01-05 15:24:03 +08:00
parent 2e6cd66f56
commit c3d93998d1
2 changed files with 12 additions and 29 deletions

View file

@ -17,12 +17,12 @@
- [ ] Consolidate menu creation (card menus and burger menu)
- [ ] Extract line parsing logic - separate parsing from state management
- [ ] Reduce IndexedDB boilerplate with generic DB operation wrapper
- [ ] Make createAddForm more generic to handle both columns and cards
- [ ] Extract and consolidate indent detection functions
## Done
- [x] Reduce IndexedDB boilerplate with generic DB operation wrapper
- [x] Simplify drop indicator logic
- [x] Extract file operations into higher-level abstraction
- [x] Consolidate modal logic into generic modal handler