feat: unified station mode with POS + repairs desk view

Phase 1: Station shell
- /station route replaces /pos (with redirect)
- Shared lock screen, activity tracking, auto-lock timer
- Permission-gated tab bar (POS | Repairs | Lessons)
- POSRegister embedded mode (skip lock/timer/topbar)
- Sidebar navigates to /station

Phase 2: Repairs station — front desk
- Status bar with count badges per status group, clickable filters
- Ticket queue panel with search and status filtering
- Ticket detail panel with status progress, notes, photos, line items
- Full stepped intake form: customer → item → problem/estimate → review
- Service template quick-add for line items

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ryan
2026-04-06 01:33:06 +00:00
parent abe75fb1fd
commit 082e388799
15 changed files with 1291 additions and 24 deletions

View File

@@ -1,14 +1,7 @@
import { createFileRoute } from '@tanstack/react-router'
import { POSRegister } from '@/components/pos/pos-register'
import { createFileRoute, redirect } from '@tanstack/react-router'
export const Route = createFileRoute('/pos')({
component: POSPage,
beforeLoad: () => {
throw redirect({ to: '/station' })
},
})
function POSPage() {
return (
<div className="h-screen w-screen overflow-hidden bg-background text-foreground">
<POSRegister />
</div>
)
}