feat(bins): clickable bin cards with dedicated detail page
Clicking a bin on Locations now navigates to /bins/:id, showing the bin's site/room/name, created/updated metadata, and a paginated DataTable of parts currently in the bin. Admins can rename or delete the bin from the detail page; the BinGrid kebab menu still works without triggering navigation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,7 @@ export const queryKeys = {
|
||||
all: ['bins'] as const,
|
||||
list: (filters?: Record<string, unknown>) =>
|
||||
[...queryKeys.bins.all, 'list', filters ?? {}] as const,
|
||||
detail: (id: string) => [...queryKeys.bins.all, 'detail', id] as const,
|
||||
},
|
||||
users: {
|
||||
all: ['users'] as const,
|
||||
|
||||
Reference in New Issue
Block a user