WFDASH-WEBAPP/src/app/api/v1
Dave 3a59fa104c feat(item-intel): add new item intel popover and backend workflows
This commit replaces the legacy item history and AI insights system with a standardized, fuzzy-matched item intel workflow:
- Update AiItemHistoryTrigger component to support both quote and order items via the `collection` prop, replacing the old `insights` prop with `intel`
- Add full `ItemIntel` type definitions to `src/lib/types.ts` for the new standardized insight payload
- Create new REST API endpoints for fetching and computing item intel for `quote_items` and `order_items`
- Rewrite the MCP insight endpoint to use the new shared `item-intel-service` instead of legacy individual insight functions
- Reorder quotes page tabs to place Delivery Note quotes alongside New quotes for better daily operator workflow
- Add item intel triggers to quote process and order process pages
- Remove deprecated document-level `AiInsightsPanel` components from quote and order detail pages
- Add bulk backfill endpoint for populating intel across existing active items
2026-08-11 02:57:57 +02:00
..
ai/settings feat: add AI quote processing pipeline and admin settings UI 2026-08-09 16:17:29 +02:00
ai-insights feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
buyer-tasks fix(buyer-tasks): surface PO email_payload + attachments on group for resend modal prefill 2026-08-06 18:01:58 +02:00
collection-confirm feat(stock-purchase): split warehouse confirm from accountant booking 2026-08-06 23:01:15 +02:00
collection-map/items/[id]/assign feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
companies feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
customers feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
dashboard feat: add new order, invoice, and dashboard management tools 2026-08-05 23:00:54 +02:00
deliveries feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
delivery-notes feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
driver feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
files/[collection]/[recordId]/[filename] fix(orders): source attachments from order_attachements field 2026-07-29 17:41:29 +02:00
health feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
invoicing/stock-book feat(stock-purchase): split warehouse confirm from accountant booking 2026-08-06 23:01:15 +02:00
items/backfill-intel feat(item-intel): add new item intel popover and backend workflows 2026-08-11 02:57:57 +02:00
order-items feat(item-intel): add new item intel popover and backend workflows 2026-08-11 02:57:57 +02:00
orders feat: add new order, invoice, and dashboard management tools 2026-08-05 23:00:54 +02:00
purchase-orders feat(po): resend purchase order from sent / mail_failed / sending statuses 2026-08-04 20:05:52 +02:00
quote_items feat(item-intel): add new item intel popover and backend workflows 2026-08-11 02:57:57 +02:00
quotes feat: add AI quote processing pipeline and admin settings UI 2026-08-09 16:17:29 +02:00
sprint feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
stock feat: add split views, stock picking slips, and invoice viewer 2026-08-09 23:16:55 +02:00
stock-items/stocktake-pdf fix(api): make list-pdf routes browser-accessible 2026-08-03 18:12:38 +02:00
stock-purchases feat: add split views, stock picking slips, and invoice viewer 2026-08-09 23:16:55 +02:00
stock-quick-draft feat(stock-quick-draft): PATCH /api/v1/stock-quick-draft/line/[lineId] 2026-07-31 13:40:06 +02:00
suppliers feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
users feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00