shoc-backend/TODO.md

60 lines
2.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SHOC — TODO
## Vendor Portal (Next Priority)
- [ ] Change dispatch email Accept button to "View Work Order" linking to vendor portal
- [ ] Vendor web portal — public pages authenticated by dispatch token
- [ ] Vendor can view their dispatches, accept, update status, complete sign-offs, fill checklists
- [ ] No login required — token-based access from email link
- [ ] Per-WO template selection in multi-WO dispatch
## Dispatch & Vendor Communication
- [x] Dispatch detail modal — view/edit status, dates, NTE, description
- [x] Dispatch number — auto-generated DSP-00001
- [x] DispatchId on Comments — tie vendor comments to specific dispatches
- [x] Vendor activity feed per dispatch
- [x] Internal user → vendor email
- [x] Cancel dispatch button
- [x] Checklist items with template support
- [x] Two-party sign-offs (Customer + Vendor)
- [x] Dispatcher verification gate
- [x] Vendor accept via email link
- [x] Time tracking / wait indicators
- [x] Multi-WO dispatch
- [ ] **Front API integration** — replace SendGrid/SES with Front inbox (vendors@seahaven.com)
- [ ] Add ability for dispatcher to assign a template checklist after initial dispatch
- [ ] Resend dispatch email button
## Work Order List
- [ ] Pinned Actions column — CSS grid doesn't support sticky horizontal scroll, revisit
## Pages Not Yet Built
- [ ] `/profile` — My Profile page (linked from user dropdown)
- [ ] `/settings` — Account Settings page (linked from user dropdown)
- [ ] `/change-password` — Change Password page (linked from user dropdown)
## Controllers Not Yet Built
- [ ] `CalendarController` — backend CRUD for calendar/events (frontend pages exist)
## Dashboard
- [ ] Priority Analysis table — needs backend endpoint to calculate age buckets by severity
- [ ] Invoice Analysis table — placeholder data, no backend yet
## Data & Integration
- [ ] Customer NTE — wire to PO database (placeholder on WO view page)
- [ ] Vendor PO detailed format — line items, billing address, payment terms, expiration, T&C
- [ ] PDF generation for Vendor PO — QuestPDF or similar
- [ ] Address-based distance calculation — upgrade from zip-to-zip to geocoded addresses
- [ ] Backfill location zip codes from address strings during sync
## Deployment
- [ ] When SHOC deploys, switch workorder-ingest Lambda from DynamoDB to direct SHOC API calls
- [ ] Retire DynamoDB sync bridge
- [ ] GitHub branch protection — requires paid plan for private repos
### Work Orders Board — Phase 7 ops (after engineering on `feat/work-orders-phase-7`)
- [ ] Staging: dry-run migrations Phase0–Phase6 + smoke multi-consumidor
- [ ] Staging: E2E SHOC (board + slide-over + completion-doc)
- [ ] Create CloudWatch alerts from `docs/work-orders/phase-7/cloudwatch-alerts.md`
- [ ] Name Lambda cutover owner; dual-run then `Sync:Enabled=false`
- [ ] Piloto 1–2 dispatchers → UAT → 100% rollout; Blazor sunset date
- [ ] Sign GO/DONE in `docs/work-orders/phase-7/phase-7-gates-signoff.md`