codersforcauses / codersforcauses/repair-lab

Filter repairs from repairer request list

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
backend difficulty:easy frontend
Dominant language
TypeScript
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## Basic Information
- Add to `/api/event/[id]/repair-request` to filter by status
- This will take an array of `RepairStatus`es
- On the page, only show repair requests that are `PENDING` and `ACCEPTED`
- The request body might look like ```{ status: ["PENDING", "ACCEPTED"] }```

## Other Information
- Stretch goal, add the ability to filter and toggle the visibility of these on the frontend

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at /api/event/[id]/repair-request and trace the repairer request list page, looking for the existing RepairStatus handling and request loading code. The work is done when the endpoint accepts a status array and the page shows only PENDING and ACCEPTED requests; the frontend visibility toggle is identified as a stretch goal.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.