Repository navigation
Tiffany/307 partner and staff signoff - #314
Conversation
✅ Deploy Preview for hope-for-haiti ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Greptile SummaryThis PR extends the sign-off workflow so that a partner representative can provide their name and signature alongside the staff member's signature. It adds two nullable columns ( Key changes:
Areas for improvement:
Score: 84 / 100 Confidence Score: 5/5Safe to merge — the only outstanding findings are P2 style suggestions with no runtime impact. The previously reported P1 Prisma crash (staffUserId spread) has been fixed. All remaining findings are non-blocking: a missing .min(1) on the API schema (client already validates) and an IIFE anti-pattern in two JSX map callbacks. No data-loss, security, or correctness issues were found. src/app/api/signOffs/route.ts (missing .min(1) on partnerSignerName); src/components/SignOffsTable.tsx and src/components/chips/ShipmentsLineItemChipGroup.tsx (IIFE pattern). Important Files Changed
|
|
thanks for putting all the validation checks in, code looks great. I just added a column so that partners can see their own signatures too |
Description
Resolves ticket number: #307
Explain what your code changes: Partners are now able to add their names and signatures during the signoffs process and when the signature is hovered over, we can see how it looks like.
List the steps you took to test your code:
Checklist