M9-S6: seller obligation fulfillment#110
Merged
Merged
Conversation
…racking form The seller's first actor surface since S4b. Adds obligation lifecycle tracking at /obligations with status-driven display (AwaitingShipment, Escalated, Shipped, Fulfilled, Disputed), a provide-tracking dialog (react-hook-form + Zod), and BidderGroupNotification parsing so obligation pushes (ObligationFulfilled, TrackingInfoProvided) drive live cache invalidation. 84 → 117 seller tests (+33).
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.
Summary
/obligations— status-driven display for all fiveObligationStatusstates (AwaitingShipment, Escalated, Shipped, Fulfilled, Disputed) with deadline countdown, reminder banner, and terminal outcomesreact-hook-form+ Zod validation, driving the existingPOST /api/obligations/trackingendpoint — the seller's first actor surface since S4bObligationFulfilled,TrackingInfoProvided) arrive via the BiddingHubSeller tests: 84 → 117 (+33). Bidder 25, ops 47 baselines preserved. Zero backend changes.
Narratives implemented: 006 Moments 1–4 (happy-path obligation lifecycle) + 007 Moments 1–3 (escalation → late-tracking recovery UX).
Test plan
npm run build(TypeScript strict + Vite) passes for seller appdotnet build— 0 errors, 0.csfiles touchedGET /api/obligations/status→ 200,POST /api/obligations/tracking→ 202localhost:5175/api/obligations/status