Commit Graph

11 Commits

Author SHA1 Message Date
Xiaohan-Tian cca874a516 feat: persist playhead position and restore centered timeline on project load 2026-07-07 17:18:01 -07:00
Xiaohan-Tian a3a0f2f4ad feat: added conversation history feature 2026-06-03 22:56:05 -07:00
Xiaohan-Tian 528e4ca7f9 feat: persist global track visibility status and metronome status 2026-06-02 23:25:30 -07:00
Xiaohan-Tian 27948771de fix: default project main grid's zoom level to 2x 2026-05-24 23:20:49 -07:00
Xiaohan-Tian 1879df8033 feat: implement global chord track 2026-05-24 23:06:08 -07:00
Xiaohan-Tian 8eb3f5d84d feat: implemented global key signature track 2026-05-23 14:44:48 -07:00
Xiaohan-Tian fb3c6cde70 feat: implemented global marker track 2026-05-23 12:56:43 -07:00
Xiaohan-Tian a0fe283ab5 feat: persist piano roll zoom level into project; fixed an issue in the horizontal auto-scrolling logic in piano roll window 2026-05-18 22:21:00 -07:00
Xiaohan-Tian 9c197ecd08 feat: persist track mute/solo status 2026-05-17 13:06:47 -07:00
Xiaohan-Tian cd90dc1c99 fix: linter errors 2026-05-01 14:36:56 -07:00
Xiaohan-Tian 2d3ea33ce6 refactor: migrate project storage from IndexedDB to OPFS with folder-based structure
- Replace monolithic KGStorage with KGProjectStorage (OPFS) and KGConfigStorage (IndexedDB)
- Each project stored as folder: project.json + meta.json + media/
- Add KGConfigUpgrader with V1 upgrader to auto-migrate existing IndexedDB projects to OPFS
- Request persistent storage via navigator.storage.persist() to prevent browser eviction
- Show loading spinner during one-time migration
- Enforce safe project name characters (letters, numbers, space, hyphen, underscore, period, parens)
- Export projects as .kgstudio zip bundles instead of raw JSON
- Import supports .kgstudio bundles (with meta.json validation) and legacy JSON files
- Auto-deduplicate project names on import with (1), (2), etc. suffix
- Add OPFS shell debugger (pwd, ls, cd, cat, dl) accessible via KGDebugger.opfs()
- Add ESLint semi rule for consistent semicolons
- Delete KGStorage.ts — all logic absorbed by new storage classes
- Add jszip dependency for zip export/import
2026-04-09 19:25:08 -07:00