Commit 02cfb53
committed
feat: snapshot restore point UX with undo/restore timeline
Replace per-edit undo buttons with a timeline of restore points:
- Initial PUC (snapshot 0) before first AI edit per session
- Summary card per response with Undo (latest) / Restore to this point
- Clicked restore point shows "Restored" with green highlight
- All buttons disabled during AI streaming
- Extract snapshot logic into AISnapshotStore module
Fix stale $messages reference via _$msgs() live DOM query helper
for deferred operations (click handlers, callbacks) after
SidebarTabs reparents the panel.1 parent 956227e commit 02cfb53
4 files changed
Lines changed: 763 additions & 132 deletions
File tree
- src
- core-ai
- styles
0 commit comments