-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Complexity: Medium (150 points)
Description
Create a modal component for party members to accept or reject escrow invitations with confirmation dialogs.
Requirements and Context
PartiesSection has accept/reject buttons but they're non-functional
Users need clear UI to review escrow terms before accepting
Modal should show escrow summary and require explicit confirmation
Connects to backend POST /escrows/:id/parties/:partyId/accept|reject
Suggested Execution
Create PartyAcceptanceModal.tsx in apps/frontend/components/escrow/modals/
Add escrow summary display with amount, parties, conditions
Implement accept/reject handlers with API calls
Add loading states and error handling
Update PartiesSection to use the modal
Test and Commit
Test modal open/close behavior
Test accept and reject flows with mock API
Verify loading and error states display correctly
Example Commit Message
feat(frontend): add party invitation acceptance modal component