1.9 KiB
1.9 KiB
title, status, files, verification
| title | status | files | verification | |||||
|---|---|---|---|---|---|---|---|---|
| T02 summary | done |
|
|
Refined the Follow-up tab so it exposes the thread and saved-package grounding behind the draft instead of behaving like a generic email form.
What changed:
job-tracker-ui/src/types.ts- added a typed
FollowUpDraftcontract aligned to the richer backend response
- added a typed
job-tracker-ui/src/components/JobDetailsDialog.tsx- switched the follow-up state to the shared typed DTO
- added a follow-up context panel showing thread subject, last sender, context summary, and context signals
- clarified the manual-send boundary directly in the recipient/body helper text
- kept the draft editable before send while making the send-and-log behavior explicit
job-tracker-ui/src/job-details-followup-drafts.test.tsx- added focused frontend proof that the Follow-up tab shows thread grounding, keeps sending manual, and posts the edited draft through the send/log endpoint
Verification:
- Focused follow-up workspace test passed:
CI=true npm --prefix job-tracker-ui test -- --watch=false --runTestsByPath src/job-details-followup-drafts.test.tsx - Production frontend build passed:
CI=true npm --prefix job-tracker-ui run build
Runtime note:
- Browser-based local UAT against this worktree was attempted but blocked by environment issues: port 3000 is served by an external nginx bundle unrelated to this worktree, the CRA dev server crashed under Node 25 in
fork-ts-checker, and the browser harness did not successfully execute the locally served static bundle. Automated verification for the implemented code paths still passed.