SFU-Blueprint / Pedals

Apache License 2.0
2 stars 0 forks source link

/manage/people Editing Functionality #62

Closed dangminhduc1101 closed 1 month ago

dangminhduc1101 commented 2 months ago

Problem

The editing functionality for /manage/people has not been implemented yet.

Instructions

  1. Pull the latest updates from the develop branch.
  2. Start the server by running npm run dev (if needed, navigate to the src/ folder and run npm ci), then go to localhost:3000/manage/people.
  3. Implement the editing functionality by updating EditPeopleGrid.tsx and the API route in route.ts to handle PATCH requests.
  4. Submit a pull request and tag @dangminhduc1101 for review.

Reference Code

For examples, you can refer to the edit functionality in EditShiftGrid.tsx and route.ts.