Overview
The dashboard currently shows a fixed set of summary cards and charts. Different users care about different metrics — a MANAGER wants to see their department's maintenance schedule while a USER wants quick access to their assigned assets. Allowing personalisation improves the relevance of the dashboard for every role.
Context
- Dashboard page:
frontend/app/(dashboard)/dashboard/page.tsx
dnd-kit is already installed and can power drag-and-drop card reordering
- User preferences (widget order and visibility) should be stored in
localStorage keyed by user.id
- The set of available widgets: Summary Stats, Assets by Status chart, Assets by Category chart, Recent Assets table, Upcoming Maintenance, My Assigned Assets, Low Stock Alerts, Overdue Checkouts
Acceptance Criteria
Overview
The dashboard currently shows a fixed set of summary cards and charts. Different users care about different metrics — a MANAGER wants to see their department's maintenance schedule while a USER wants quick access to their assigned assets. Allowing personalisation improves the relevance of the dashboard for every role.
Context
frontend/app/(dashboard)/dashboard/page.tsxdnd-kitis already installed and can power drag-and-drop card reorderinglocalStoragekeyed byuser.idAcceptance Criteria
dnd-kituseSortable; the layout updates live as cards are draggedlocalStorageand exits edit mode