feat(sidebar): hide Deliveries and DN Scanner; Delivery Pool replaces them

Both pages still open by URL (/deliveries, /scan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dave 2026-10-31 10:26:35 +02:00
parent 65036a8a6a
commit 61fb2669e0

View file

@ -23,7 +23,6 @@ import {
Moon,
Package,
Plus,
QrCode,
Search,
Settings as SettingsIcon,
ShoppingCart,
@ -117,22 +116,12 @@ const logisticsItems: NavEntry[] = [
const operationsItems: NavEntry[] = [
{ href: "/invoicing", label: "Invoicing", icon: FileText },
{ href: "/delivery-notes", label: "Delivery Notes", icon: ClipboardList },
// Post-invoice physical-delivery queue. Tracks the
// invoiced → with_driver → checked_in lifecycle. Picked
// up from the Invoicing page once the office hits
// "Mark invoiced", lives here until the driver brings
// back the signed paper and the operator types the
// reference number. n8n will eventually auto-complete
// these (docs/deliveries-n8n-workflow.md).
{ href: "/deliveries", label: "Deliveries", icon: Truck },
// Invoiced lines waiting to go out, one card per invoice: assign a
// driver, upload the signed copy to complete. Replaces /deliveries
// once the office trusts it (docs/superpowers/specs/2026-10-30-delivery-pool-design.md).
// driver, upload the signed copy to complete
// (docs/superpowers/specs/2026-10-30-delivery-pool-design.md).
// It replaced /deliveries; that page and the /scan DN scanner were
// taken out of the sidebar on 2026-10-31 but still open by URL.
{ href: "/delivery-pool", label: "Delivery Pool", icon: Truck },
// Counter-side scanner for the printed delivery-note QR. Separate
// standalone PWA at /scan (it declares its own manifest), linked
// here so the office can find it from the CRM too.
{ href: "/scan", label: "DN Scanner", icon: QrCode },
];
// Stock is its own top-level group (not nested under Operations) so the