Description
Post creation is split across modals, but there is no dedicated create experience for composing a giveaway or help request with better validation, previews, and step-by-step guidance.
User Story
As a user,
I want to create a giveaway or help request through a guided flow,
so that I can complete the post confidently without missing required fields.
Requirements and Context
- Files:
app/components/create-post-modal.tsx, app/components/create-giveaway-modal.tsx, app/components/create-request-modal.tsx, app/feed/page.tsx
- Add a structured create flow with type selection, preview, and final confirmation
- Reuse the existing API route for post creation
- Surface validation errors before submission
Suggested Implementation
// CREATE FLOW
// 1. Choose post type.
// 2. Collect type-specific fields.
// 3. Preview the post.
// 4. Submit to /api/posts.
Acceptance Criteria
Submission Guidelines
- Branch:
feat/create-flow
- Depends on:
POST /api/posts
- PR:
feat(frontend): add guided post creation flow
Description
Post creation is split across modals, but there is no dedicated create experience for composing a giveaway or help request with better validation, previews, and step-by-step guidance.
User Story
As a user,
I want to create a giveaway or help request through a guided flow,
so that I can complete the post confidently without missing required fields.
Requirements and Context
app/components/create-post-modal.tsx,app/components/create-giveaway-modal.tsx,app/components/create-request-modal.tsx,app/feed/page.tsxSuggested Implementation
Acceptance Criteria
Submission Guidelines
feat/create-flowPOST /api/postsfeat(frontend): add guided post creation flow