homelabby/web
Mikkel Georgsen 1867846a9f feat(03-03): API client, TanStack Query hooks, layout shell, inventory item components
- web/src/lib/api.ts: typed fetch wrappers for GET /api/inventory and GET /api/inventory/:id
- web/src/hooks/useInventory.ts: useInventory + useInventoryItem TanStack Query hooks
- web/src/components/inventory/StatusBadge.tsx: catalog_status → Badge variant mapping
- web/src/components/inventory/ItemCard.tsx: grid card with photo, HW ID, name, status, NetBox link
- web/src/components/inventory/ItemRow.tsx: list-mode row with status color indicator
- web/src/components/layout/TopBar.tsx: sticky nav with HWLab volt brand, Add Item + Scan buttons
- web/src/components/layout/AppShell.tsx: TopBar + main content wrapper
2026-04-10 06:21:43 +00:00
..
dist feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
src feat(03-03): API client, TanStack Query hooks, layout shell, inventory item components 2026-04-10 06:21:43 +00:00
components.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
index.html feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
package-lock.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
package.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
postcss.config.cjs feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tailwind.config.ts feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.app.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
tsconfig.node.json feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00
vite.config.ts feat(03-01): bootstrap React+TS frontend with ClickHouse design system 2026-04-10 06:16:46 +00:00