Skip to content

SSF-123 Admin Pantry Application Review Frontend - #107

Merged
Juwang110 merged 12 commits into
mainfrom
jw/SSF-123-pantry-application-review-frontend
Mar 14, 2026
Merged

Juwang110 merged 12 commits into
mainfrom
jw/SSF-123-pantry-application-review-frontend

Conversation

@Juwang110

Copy link
Copy Markdown

ℹ️ Issue

Closes https://vidushimisra.atlassian.net/jira/software/projects/SSF/boards/1?selectedIssue=SSF-123

📝 Description

This short PR simply updates the Admin Pantry Application Review Frontend to match the new design. I added sorting logic based on date applied and filtering logic based on pantry name. The view details link goes to the corresponding pantry application details page.

/approve-pantries

✔️ Verification

I verified the design matches the figma and the approve/deny pantry flow still works as intended. I verified the data displayed on the frontend matches the db.

Screenshot 2026-02-15 201515

🏕️ (Optional) Future Work / Notes

This PR is based off of #91 so it is subject to change.

@maxn990 maxn990 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Gonna approve since this matches figma and code looks good!

Just had one thought though-

I noticed there is no check to see if there are zero pending applications, is there anything we want to display in this case? I didn't see anything on figma pertaining to this @madisonweiss @Yurika-Kan @sam-schu

@madisonweiss

madisonweiss commented Feb 17, 2026 •

Copy link
Copy Markdown

Gonna approve since this matches figma and code looks good!

Just had one thought though-

I noticed there is no check to see if there are zero pending applications, is there anything we want to display in this case? I didn't see anything on figma pertaining to this @madisonweiss @Yurika-Kan @sam-schu

Hi! This is a good point - it'll probably just be the empty table but I'll ask Priya right now.

await ApiClient.updatePantry(application.pantryId, 'approve');
navigate('/approve-pantries');
} catch (err) {
alert('Error approving application: ' + err);

@madisonweiss madisonweiss Feb 17, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can we replace all chakra alerts with Chakra UI alert components to keep in line with this PR?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Since my other PR defines and uses my new FloatingAlert component, I'll refactor this if that PR gets merged into main first, or I will refactor that PR if this gets merged into main first

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

lgtm!

@Juwang110
Juwang110 merged commit f84ef00 into main Mar 14, 2026
4 checks passed
@Juwang110
Juwang110 deleted the jw/SSF-123-pantry-application-review-frontend branch March 14, 2026 15:09
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.

5 participants