Skip to content

feat(problems): implement problem submission workflow and public discovery feed #7

Open

Description

@Icedmist

Summary

Build the core community problem reporting wizard and the public discovery feed with search, category filtering, and status pills.

Scope

  1. Problem Submission Wizard (app/problems/new/page.tsx):
    • Multi-step report form: Title, Category, Narrative Description, Location/Community, and optional file attachments.
    • Server-side validation using Zod.
  2. Public Discovery Feed (app/(public)/problems/page.tsx):
    • Problem cards displaying title, summary snippet, category badge, confirmation/support counts, and status badge.
    • Filter controls: Category, Status, and search input.
  3. Problem Detail View (app/(public)/problems/[id]/page.tsx):
    • Comprehensive problem view with evidence gallery, submitter profile, and status change history.

Acceptance Criteria

  • Authenticated users can submit a validated problem report.
  • Discovery feed queries and filters problems via Supabase client.
  • Responsive design works smoothly on mobile and desktop viewports.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions