Skip to content

[SSF 241] - Admin Food Manufacturer Management Page#203

Open
dburkhart07 wants to merge 2 commits into
mainfrom
ddb/SSF-241-fm-management-page
Open

[SSF 241] - Admin Food Manufacturer Management Page#203
dburkhart07 wants to merge 2 commits into
mainfrom
ddb/SSF-241-fm-management-page

Conversation

@dburkhart07

Copy link
Copy Markdown

ℹ️ Issue

Closes #241

📝 Description

  • Created frontend page for admin viewing food manufacturers according to design
  • Added editability for the food manufacturer applications from the admin, integrating with the existing edit endpoint

✔️ Verification

  • Smoke tested page
image image image

🏕️ (Optional) Future Work / Notes

N/A

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

@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.

found same bug as pantry management page! #201 (comment)

polishments to a refined dish

label: 'Manufacturers',
children: [
{
label: 'Food Manufacturer Management',

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.

nit can we shorten this to Manufacturer Management

cursor="pointer"
onClick={() => navigate(ROUTES.ADMIN_DONATION)}
>
View Donations

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.

can we have the same functionality as pantry management page where this leads to the Donation management page with a filter for the clicked donation row's food manufacturer?

</Text>
)}
{application.secondaryContactPhone && (
{!isApplicationMode && isEditing ? (

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.

clicking edit mode flashes "Application not found"

this mounts editableFMApplication on isEditing & child refetches getFoodManufacturer on mount in editableFMApplication~ during that fetch the fallback shows the misleading error msg

can we pass the loaded record down as initialApplication

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.

2 participants