Skip to content

[SSF 239] - Edit/Delete Orders Frontend#202

Merged
dburkhart07 merged 13 commits into
mainfrom
ddb/SSF-239-edit-delete-orders
Jul 6, 2026
Merged

[SSF 239] - Edit/Delete Orders Frontend#202
dburkhart07 merged 13 commits into
mainfrom
ddb/SSF-239-edit-delete-orders

Conversation

@dburkhart07

Copy link
Copy Markdown

ℹ️ Issue

Closes #239

📝 Description

  • Added new endpoint to get all the donation items for a food manufacturer
  • Adjusted endpoint to get all orders for a volunteer, as it was not working properly
  • Implemented frontend edit and delete order logic

✔️ Verification

  • Ensured backend worked properly and updated allocations accordingly
  • Smoke tested frontend page
image image image

🏕️ (Optional) Future Work / Notes

Pending clarification on if deleting/closing an order is the same thing

@Yurika-Kan Yurika-Kan self-requested a review July 1, 2026 08:15

@Yurika-Kan Yurika-Kan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty darn great! hefty but mighty.

addressed a calculation bug & nit frontend things~

Comment thread apps/frontend/src/components/forms/orderDetailsModal.tsx Outdated
Comment thread apps/frontend/src/components/forms/orderDetailsModal.tsx Outdated
Comment thread apps/frontend/src/components/forms/volunteerCloseOrderModal.tsx Outdated
@Juwang110 Juwang110 self-requested a review July 3, 2026 22:01
@dburkhart07 dburkhart07 requested a review from Yurika-Kan July 4, 2026 22:10

@Juwang110 Juwang110 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me! Just one small design thing

[OrderStatus.SHIPPED]: [],
[OrderStatus.PENDING]: [],
[OrderStatus.DELIVERED]: [],
[OrderStatus.CLOSED]: [],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking it's a good idea for the closed section title to have a different bg color than Received, though not sure what that color could be.

@Yurika-Kan Yurika-Kan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

tested as volunteer, non volunteer, editing, adding, deleting items + errors

@dburkhart07 dburkhart07 merged commit a0ce90a into main Jul 6, 2026
4 checks passed
@dburkhart07 dburkhart07 deleted the ddb/SSF-239-edit-delete-orders branch July 6, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants