Skip to content

[Frontend] Add a dedicated create flow #295

@Kaylahray

Description

@Kaylahray

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

  • Users can create both giveaway and help request posts from a guided flow.
  • Validation errors are visible before submission.
  • Successful creation refreshes the feed without a full reload.

Submission Guidelines

  • Branch: feat/create-flow
  • Depends on: POST /api/posts
  • PR: feat(frontend): add guided post creation flow

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions