Summary
Implement the "Quick draft" dashboard widget per doc 05 §2.2. Small form: title + content textarea + "Save draft" button. Submit POSTs /api/v1/posts with status=draft. On success, clear the form and show a confirmation toast linking to the editor.
Design reference
- docs/05-admin-api.md §2.2 (Dashboard home / Default widgets)
Acceptance criteria
Dependencies
Depends on REST API skeleton.
Complexity
XS
Summary
Implement the "Quick draft" dashboard widget per doc 05 §2.2. Small form: title + content textarea + "Save draft" button. Submit POSTs
/api/v1/postswithstatus=draft. On success, clear the form and show a confirmation toast linking to the editor.Design reference
Acceptance criteria
md)POST /api/v1/postswith{title, content, status: "draft"}/admin/posts/<new_id>edit_posts— widget not rendered without itDependencies
Depends on REST API skeleton.
Complexity
XS