Commit Graph

4 Commits

Author SHA1 Message Date
yaroslav k
1f3184baf6 undo: header buttons, shortcuts, wiring
- App provides HistoryHandle as context (both build modes; stacks stay
  empty on the server) and passes it to persist::init_hydrated
- persist: init_hydrated starts undo tracking after the localStorage
  load (first captured state = saved state, not mock); clear_all and
  apply_import call undo::before_replace so they are undoable
- header: Отменить/Вернуть buttons with disabled states driven by the
  reactive stack depths; Ctrl+Z / Ctrl+Shift+Z / Ctrl+Y via a window
  keydown listener that skips editable targets (browser owns those)
- SCSS: disabled control buttons dim out
2026-08-16 12:31:22 +03:00
YK
ef5fb1dfa2 expand header 2025-09-13 16:28:33 +03:00
YK
474f3c33af button mixin 2025-09-12 10:20:17 +03:00
YK
51eab50cf5 split styles 2025-09-12 08:07:54 +03:00