WFDASH-WEBAPP/docs
Dave b212d0fcd8 feat(manager): a mobile orders board for the managers at /manager
A hidden, installable PWA: one link, opened on a phone, showing where
every order is. New / Processing / Completed, with a tap-to-preview
popup and the invoice/line detail Gary needs. Read-only, and NOT in
the sidebar — the route lives outside `(app)`, so `<Sidebar />` never
renders there.

The preview popup is reused, not rebuilt: the service emits
`UniversalHit`s and the page hands them to the existing
`SearchPreviewDialog`, so the manager gets the desk's quick-overview
verbatim.

Also fixes the /orders Completed tab, which was matching ZERO orders.
`delivered_at` is stamped on only 2 of 12,957 delivered lines and the
business stopped writing `delivered` on 2026-08-14 (the live pipeline
now ends at `invoiced` / `checked_in`), so the old filter never
matched. "Settled" is now defined once — `SETTLED_STATUSES` +
`SETTLED_DATE_FIELDS` — and dated per status: `invoiced_date` for
invoiced (the only properly stamped field, 2,199 lines), `delivered_at`
for delivered, `updated` only where no dedicated column exists.

`delivery_note` and `checked_in` move into `completed` as instructed,
and the standalone `post_processing` tab is retired (a DN is not a
stage of its own). `invoiced` stays in `collected` as well, so
invoiced orders don't vanish from the workflow tabs.

Completed tab: 0 -> 341 orders over 30 days, 112 over 7.
2026-10-26 23:09:01 +02:00
..
agents docs(hermes): bump tool count + add 'three quote-creation tools' callout 2026-08-27 07:50:17 +02:00
api-reference feat(quotes): add person_hint for customer resolution in forwarded emails 2026-08-27 11:11:44 +02:00
audit docs(quote-assistant): runbook accuracy, MCP tool listed in API docs 2026-10-16 23:42:44 +02:00
bugs docs(bugs): add post-mortem for MCP initialize handshake bug 2026-08-05 01:53:02 +02:00
example-quotes
pocketbase
sops refactor(sops): streamline SOP documents for roles, consolidating content into quickstart guides for easier reference 2026-09-03 17:57:49 +02:00
superpowers docs(plan): AI order assistant implementation plan 2026-10-24 11:41:21 +02:00
theme-preview
0136daf3-3ebd-4bca-876e-316271a40303.jsonl
AGENT_INSTRUCTIONS.md docs(mcp): document stock_items.set_pricing and create pricing fields 2026-10-01 01:02:44 +02:00
api-mcp-layer.md docs(quote-assistant): runbook accuracy, MCP tool listed in API docs 2026-10-16 23:42:44 +02:00
collection-ai-checks.md feat(collection-confirm): collected stock orders go through Collection Confirm 2026-10-19 17:03:33 +02:00
collection-return-to-pool.md feat(collection): return mistaken pickups to pool 2026-10-21 03:37:01 +02:00
core-recheck-matrix.md
counter-pwa.md feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
deliveries-n8n-workflow.md
dev-guide.md
django-nextjs-parity-backlog.md
driver-app-data-source.md
manager-orders.md feat(manager): a mobile orders board for the managers at /manager 2026-10-26 23:09:01 +02:00
migration-audit.md
n8n-ai-insights-prompt.md
n8n-mcp-setup.md
n8n-watchdog-agent-instructions.md fix(quotes-intake): clamp email_body to PB's 5000-char cap 2026-09-08 10:28:20 +02:00
order-assistant.md feat(orders): quote matching is AI-only 2026-10-24 20:49:26 +02:00
order-items-schema-standard.md
order-workflow-rules.md
orders-first-rollout.md
pricelist-extraction.md
qa-review.md
qa-review.verify.md
quote-assistant.md docs: the size-aware POS matcher and the exact/closest rule 2026-10-24 23:09:53 +02:00
quotes-email-monitor.md feat(quotes): resolve customer from person_hint when rep forwards email 2026-08-27 10:45:51 +02:00
quotes-outbound-attachments-deploy.md feat(quotes): split attachments into internal vs outbound with operator upload UI 2026-09-09 13:43:56 +02:00
rep-performance-data-source.md feat(audit): implement audit trail for delivery notes and orders 2026-09-30 01:48:44 +02:00
SHIPPED.md
tv-dashboard.md feat(tv-dashboard): enhance TV dashboard with driver stops and performance metrics 2026-08-19 10:16:49 +02:00
wfdash-v5-deployment.md