- Add BlockSnapshot Prisma model (html, css, version, changelog) + migration
- Add API endpoints: POST/GET /blocks/snapshots, GET /blocks/snapshots/:id
- BlockMetaBar: version dropdown, HTML capture on save, onSnapshotSelect prop
- "Сохранить версию" now captures innerHTML snapshot + CSS and stores in DB
- Selecting archived version shows stored HTML snapshot instead of live component
- Yellow banner "Архивная версия" with link to return to current
- Split all 8 block pages into Server Component (metadata) + Client Component
- Add data-block-capture attribute for snapshot capture targeting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add "Сохранить версию" button to BlockMetaBar that persists current
version + changelog from code to PostgreSQL via PATCH API
- Update navigation page: menu items section now renders like live example
with underlined links, hover dropdowns, and submenus
- Restore uncommitted changes from previous session (thirsty-mayer worktree):
navigation v1.3 with dropdowns, updated hero/ceo/doctors/reviews/news/
contact-forms/footer blocks, navData.ts extraction, seed updates
- Extract nav menu data to shared navData.ts module
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Moved /components/navigation → /blocks/navigation
- Updated Sidebar: navigation is now first item in "Блоки"
- Updated PreviewClient block path
- Updated seed block path
- Updated SPRINTS.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>