Skip to content

[SSF-134]: Update FM Management Frontend#104

Open
dburkhart07 wants to merge 31 commits intomainfrom
ddb/SSF-134-update-fm-management-frontend
Open

[SSF-134]: Update FM Management Frontend#104
dburkhart07 wants to merge 31 commits intomainfrom
ddb/SSF-134-update-fm-management-frontend

Conversation

@dburkhart07
Copy link

ℹ️ Issue

Closes #134

📝 Description

  • Created frontend design for the FM Management, including the page and new donation modal
  • Adjusted the backend to add a food rescue field, which is now available in the modal
  • Used some specific date calculations to ensure that a UI-friendly date picker is easily converted to an understandable format in our donation entity for recurring donations.

✔️ Verification

Took screenshots of the pages:
image
image
image

Verified each updated endpoint worked on Postman

🏕️ (Optional) Future Work / Notes

We will need to update this later on when we go to finish up the Action Required tab.

@@ -42,46 +49,30 @@ export class DonationsController {
type: 'object',
properties: {
foodManufacturerId: { type: 'integer', example: 1 },
Copy link
Author

Choose a reason for hiding this comment

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

NOTE FOR PR Reviewer: We deleted this since it does not make sense to have either of these fields here in creating a donation. The status will always be the same, as will the date donated.

Copy link
Author

@dburkhart07 dburkhart07 left a comment

Choose a reason for hiding this comment

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

Leaving comment for PR reviewer

@amywng amywng self-requested a review February 15, 2026 22:45
@dburkhart07 dburkhart07 requested a review from amywng February 16, 2026 20:04
};
setCurrentPages(initialPages);
} catch (error) {
alert('Error fetching donations: ' + error);
Copy link
Member

Choose a reason for hiding this comment

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

might need to change depending on when justin's alert pr goes in

Copy link
Author

Choose a reason for hiding this comment

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

will keep this comment unresolved till then.

Copy link
Member

@amywng amywng left a comment

Choose a reason for hiding this comment

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

and frontend things! 💐

>
<Flex align="center" gap={2}>
<Checkbox.Root
checked={repeatOn[day]}
Copy link
Member

Choose a reason for hiding this comment

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

i think this dropdown should take up the entire width of the field

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants