Steps: edit route and step list #9

Closed
opened 2026-11-01 16:19:34 +01:00 by miko · 1 comment
Owner

Part of #1

Blocked by: #8

What

Editing steps of a guide (glossary: Step).

Acceptance criteria

  • Prisma model Step (guideId, position, title?, content JSON, version, updatedAt)
  • /guides/<id>/edit: step list on the left (add, delete, drag & drop reorder), active step editor on the right
  • Optional step title (reading view falls back to "Step n", translated)
  • Step content via Editor.js and the renderer from #8
  • Explicit save per step; warning when switching with unsaved changes
  • Optimistic locking per step
  • Reading view renders steps in order with numbers

Vocabulary: GLOSSARY.md. Decisions: docs/adr/.

Part of #1 Blocked by: #8 ## What Editing steps of a guide (glossary: Step). ## Acceptance criteria - [ ] Prisma model `Step` (guideId, position, title?, content JSON, version, updatedAt) - [ ] `/guides/<id>/edit`: step list on the left (add, delete, drag & drop reorder), active step editor on the right - [ ] Optional step title (reading view falls back to "Step n", translated) - [ ] Step content via Editor.js and the renderer from #8 - [ ] Explicit save per step; warning when switching with unsaved changes - [ ] Optimistic locking per step - [ ] Reading view renders steps in order with numbers Vocabulary: `GLOSSARY.md`. Decisions: `docs/adr/`.
Author
Owner

Implemented in PR #23 (feature/9-steps → development). "Step n" is not translated yet; that waits for Lingui (#3). Browser back/forward is not intercepted by the unsaved-changes warning.

Implemented in PR #23 (feature/9-steps → development). "Step n" is not translated yet; that waits for Lingui (#3). Browser back/forward is not intercepted by the unsaved-changes warning.
miko closed this issue 2026-11-01 20:05:29 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MassiveDynamic/kataba#9
No description provided.