Requested Changes + New Lil Features#200
Open
Yurika-Kan wants to merge 20 commits into
Open
Conversation
dburkhart07
approved these changes
Jun 28, 2026
Add a shippingCostPaidBySsf flag to orders (migration + entity + bulk tracking DTO) and surface it through manufacturer donation details and pantry stats. SSF-paid shipping is now excluded from totalShippingCost and reported separately as totalShippingCostPaidBySsf. Also adds the foodRescueLbs pantry stat. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add foodManufacturerId to CreateDonationDto and pass it from the new donation and resubmit donation forms. Also tweaks the fair-market-value column header copy on the new donation form. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Display the recurring-reminders indicator and the list of upcoming reminder email dates for recurring donations in the donation details modal. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Route pending pantry applications to PANTRY_APPLICATION_DETAILS (keyed by applicationId) instead of PANTRY_MANAGEMENT_DETAILS, which expected a pantryId and was being given an application id. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add Role.ADMIN to the /volunteers/:id/pantries endpoint so admins can read a volunteer's assigned pantries. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
c735f05 to
b621dd7
Compare
dburkhart07
requested changes
Jul 5, 2026
dburkhart07
left a comment
There was a problem hiding this comment.
3 small things. also getting some errors with closed donations in the adminOrderManagement page i think. since theres a lot of changes here, can you merge main so that we can smoke test all these pages in full?
- Remove foodManufacturerId from CreateDonationDto and its create-endpoint CheckOwnership. donations.service.create resolves the manufacturer from the authenticated user (req.user.id), so the body id and the ownership check were dead weight; @roles(FOODMANUFACTURER) already gates it. Also collapses a duplicate @roles decorator on the create handler. - Drop foodManufacturerId from the frontend CreateDonationDto type and the new/resubmit donation forms and their container props. - Replace the read-only "Make Donation Recurring Reminders" checkbox in the donation details modal with a bold "Recurring Donation" label. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts: # apps/frontend/src/components/forms/donationDetailsModal.tsx # apps/frontend/src/components/forms/newDonationFormModal.tsx
Follows the DTO field removal so donations.service.spec compiles. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Prettier cleanup of the over-indented recurrence lines left behind by dropping foodManufacturerId from CreateDonationDto. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dburkhart07
requested changes
Jul 7, 2026
dburkhart07
left a comment
There was a problem hiding this comment.
few things. see slack as well for other comments
Juwang110
requested changes
Jul 11, 2026
| @@ -624,6 +627,7 @@ export interface BulkUpdateTrackingCostDto { | |||
| orderId: number; | |||
| trackingLink?: string; | |||
There was a problem hiding this comment.
should this and shippingCost now have | null?
| width="13%" | ||
| > | ||
| Shipping Cost/Tax | ||
| Shipping/ Delivery Expenses |
| .join('')} | ||
| </ul> | ||
| <p> | ||
| We strongly recommend that clients read all ingredients and allergen labels before consuming any foods. |
There was a problem hiding this comment.
nit: there's an extra whitepace in line 223 at end, remove
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ℹ️ Issue
SSF-236
📝 Description
Changes:
Admin Donation Stats Page wording:
Admin Donation Management
Updated Wording:

FM Confirm Delivery Action Modal - new boolean checkbox determines if shipping cost was paid by SSF


Admin Dashboard Applications Bug:
FM Submit Donation Bug:
Login & Sign up Page:
Pantry/FM Application Form:
remove last checkbox: "By submitting this form, you agree to receive automated emails..."
auth gated GET /volunteers/:id/pantries to also allow ADMIN
✔️ Verification
🏕️ (Optional) Future Work / Notes