add draft-then-publish workflow plan
All checks were successful
deploy / deploy (push) Successful in 53s

Plan for auto-saving drafts with explicit publish. Visitors always see
published version, admins see their drafts while editing. Removes need
for beforeunload warnings since work is never lost.

Planned to follow unified-editing-mode completion.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-03-09 11:07:46 +00:00
parent 0741095a84
commit ae0a149ecd
2 changed files with 199 additions and 0 deletions

View File

@@ -102,6 +102,17 @@ Extend the existing page editor (PageEditorHook + editor_sheet) to include theme
|---|---|---|---|
| 1 | Fix double radio button dots in theme editor | 30m | done |
### Draft-then-publish workflow ([plan](docs/plans/draft-publish-workflow.md))
Auto-save drafts, explicit publish. No more lost work or `beforeunload` warnings. Visitors always see published version.
| Phase | Description | Depends on | Est | Status |
|-------|-------------|------------|-----|--------|
| 1 | Page drafts (auto-save, publish/discard) | unified-editing-mode | 5h | planned |
| 2 | Theme drafts | Phase 1 | 4h | planned |
| 3 | Settings drafts | Phase 2 | 4h | planned |
| 4 | Polish (age indicator, conflict handling) | Phase 3 | 5h | planned |
### Platform site
| # | Task | Depends on | Est | Status |
@@ -150,3 +161,4 @@ All plans in [docs/plans/](docs/plans/). Completed plans are kept as architectur
| [unified-editing-mode.md](docs/plans/unified-editing-mode.md) | Planned |
| [profit-aware-pricing.md](docs/plans/profit-aware-pricing.md) | Planned |
| [security-hardening.md](docs/plans/security-hardening.md) | Planned |
| [draft-publish-workflow.md](docs/plans/draft-publish-workflow.md) | Planned |