Site map
Who it is for
Staff (admins).
What you can do
- Switch between Edit layout and Occupancy view.
- Drag units to move them and resize them with handles.
- Zoom, pan, and fit the map to the units.
- Click a unit to open its details.
- See units colored by status.
How it works
- Route:
/admin/facilities/[id]/map(rendered bycomponents/storage/FacilityDashboard.tsxwith tab "map"). - The editor is
components/storage/SiteMap.tsx, which usesreact-rnd. - Position changes are saved with
updateRoomPositioninactions/storage.ts. - The map size comes from the facility's map width and height.
Limits
- The staff map edits positions; the public map does not.
- Dragging and resizing are disabled in Occupancy view.
- Units without saved positions are not shown until placed.
Lockyard