amitwh
9ad484744a
feat(renderer): useAppStore extended with modal discriminated union
2026-06-05 18:28:02 +05:30
Amit Haridas
813582aa8d
feat(renderer): command store persists userBindings (Phase 6)
...
- add userBindings map (commandId -> combo string)
- setUserBinding / clearUserBinding / getUserBinding actions
- persist middleware with partialize: handlers are runtime-only,
userBindings are serialized
- TDD: 7 persistence tests + existing 10 command-store tests still pass
- 162/162 total tests pass
2026-06-05 16:02:26 +05:30
Amit Haridas
c93747c476
feat(renderer): command store (action registry for menu/shortcut/toolbar)
...
- useCommandStore: register/unregister/registerMany/dispatch/get
- keyed by id (e.g. 'file.open', 'view.toggleSidebar')
- TDD: 10 unit tests covering register, dispatch, unregister, batch
- foundation for Phase 6 native menu + toolbar wiring
2026-06-05 15:49:45 +05:30
amitwh
5e5bab3da9
feat(renderer): persist last-opened folder (mc-file-store) + restore on mount
2026-06-05 15:36:59 +05:30
amitwh
3598d06240
feat(preload): add file.list, file.pickFolder, file.pickFile convenience methods
2026-06-05 15:13:16 +05:30
amitwh
17f318dd75
fix(renderer): drop redundant ternary, add loadChildren idempotence test
2026-06-05 14:50:56 +05:30
amitwh
fa5a46d5ac
feat(renderer): file store with FileNode tree, openTabs, lazy loadChildren
2026-06-05 14:42:08 +05:30
amitwh
d81d8c28d2
test(renderer): remove non-existent html property from preview-store reset
2026-06-05 13:07:06 +05:30
amitwh
559d09cad9
feat(renderer): preview store with 300ms debounced source
2026-06-05 13:04:39 +05:30
amitwh
4c0b7d6e84
feat(renderer): editor store with buffers, dirty state, cursor (immer)
2026-06-05 12:21:48 +05:30
amitwh
6525de7667
feat(renderer): add useAppStore with sidebar/preview/zen/pane-sizes
2026-06-05 11:30:25 +05:30