bdc47dde7f
GSD-Unit: M001/S06/T01
1.1 KiB
1.1 KiB
S01: Smarter Gmail import and matching
Goal: Finish S01 by turning the existing job-aware Gmail import flow into a live linked-thread continuity loop for one job workspace. Demo: After this: User can connect Gmail, review likely messages or threads for a job, import a message or full thread, and trust linked Gmail threads to stay current on that job without manual re-import.
Tasks
- T01: Add linked Gmail thread refresh to the backend contract —
- Files: JobTrackerApi/Controllers/GmailController.cs, JobTrackerApi/Services/GmailOAuthService.cs, JobTrackerApi.Tests/GmailControllerTests.cs, JobTrackerApi/Program.cs
- Verify:
dotnet test JobTrackerApi.Tests/JobTrackerApi.Tests.csproj --filter GmailControllerTests
- T02: Surface live Gmail thread continuity in the job workspace —
- Files: job-tracker-ui/src/components/Correspondence.tsx, job-tracker-ui/src/types.ts, job-tracker-ui/src/correspondence-gmail-import.test.tsx, job-tracker-ui/src/components/JobDetailsDialog.tsx
- Verify:
CI=true npm --prefix job-tracker-ui test -- --watch=false --runTestsByPath src/correspondence-gmail-import.test.tsx