Feat/admin console enhancements - #27
Conversation
Rounds out the admin console per ROLE_MATRIX: audit logs, order-group detail/progress, restaurant credit statements, packing codes CRUD, hub staff assignments, read-only route + hub inbound/discrepancy oversight, and invoices. Adds shared loading-state UI across data-fetching pages, a search+dropdown combobox on the product unit field, and branded 404/500 error pages. Hand-writes PackingCodes/Invoices API clients (contract regen needs Docker, unavailable in this environment). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rounds out M5 Orders for the admin console: every restaurant's orders (GET /orders, filterable by restaurant/status/date range) and a detail page, both read-only per ROLE_MATRIX. Wires the one documented admin override — cancelling any order in a cancellable status — via the same cancel-dialog pattern used for order groups. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… pages - Fix dashboard KPI card overflow (unformatted large numbers) and drop a redundant repeated subtitle. - Fix AuditLogsComponent overlapping the dashboard header when embedded as a tab (it carried a full-page absolute-position layout it no longer needs). - Localize the remaining English leaks on /admin/orders: missing status and payment-status i18n keys (draft, batched, not_applicable), and Angular Material's built-in MatPaginator labels app-wide via a new Transloco-backed MatPaginatorIntl provider. - Give every order status its own distinct pill color instead of several statuses sharing one (added indigo/teal/pink/lime variants). - Bring in restaurants + order-groups settings work already in the tree: routed restaurant create/detail pages (replacing the inline dialog and expand-panel), a routed order-group settings page (replacing the settings dialog), nav/route updates, and a normalized status-key fix shared by order-groups. Also translate the settings page's route-type dropdown, which was still showing raw enum values. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Code Review Could Not Complete
|
| Options | Enabled |
|---|---|
| Bug | ✅ |
| Performance | ✅ |
| Security | ✅ |
| Business Logic | ✅ |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (6)
📒 Files selected for processing (82)
📝 WalkthroughWalkthroughAdmin functionality is expanded with routed create/edit pages, catalog and logistics management, order and invoice oversight, order-group detail workflows, restaurant and user administration, error pages, translated pagination, shared loading states, navigation updates, and new visual styles. ChangesAdmin platform and shared infrastructure
Catalog and logistics management
Operational administration
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit