Files
chatballs/apps
AndreyandClaude Opus 4.8 e35e00ea8c refactor(ui): real ids in client/order detail URLs; drop mock route stubs
Client and order detail were addressed by in-session state only, with
hardcoded CUS-4702 / ORD-10519 placeholder paths — a browser refresh lost
the entity. Now the URL carries the numeric id like employees/products:
- routeFromPath/pathFromRoute parse and emit /departments/sales/clients/:id
  and /departments/sales/orders/:id; RouteState carries clientId/orderId.
- App seeds selected ids from the initial route and restores them on
  popstate, so deep-link + back/forward + refresh work.
- routes.ts breadcrumb labels for these are now generic ("Клиент"/"Заказ")
  instead of the fake name/code.

Memory: recorded the "don't propose FirePage content" preference.
Typecheck + vitest (17) green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 00:04:05 +03:00
..