Overview
The equipment tracking system manages loaning items to attendees and tracking returns. Currently supports sleeping bags and hardware kits. Access the sleeping bag dashboard at/admin/sleeping-bags.
Equipment Types
SLEEPING_BAG
Sleeping bags provided for overnight attendees.HARDWARE
Electronics and development kits (Arduino, Raspberry Pi, sensors, etc.)Equipment Actions
Equipment Logs
Every checkout and return creates an EquipmentLog:- userId - Who received/returned the item
- adminId - Which organizer processed the transaction
- timestamp - When the action occurred
- items - JSON object for hardware kits (what specific items)
- notes - Any special notes (e.g., “damaged upon return”)
Sleeping Bag Workflow
Check-Out Process
Scan user QR code at thesleepingBagborrow station:
- User must be CHECKED_IN to the event
- User cannot have an unreturned sleeping bag
Return Process
Scan user QR code at thesleepingBagreturn station:
- User must have an unreturned sleeping bag (checkouts > returns)
Determining Current Status
The system counts checkouts vs returns:If a user loses a sleeping bag and checks out a second one, the system tracks this. They would need to return twice (once they find the first bag).
Sleeping Bag Dashboard
The/admin/sleeping-bags page provides comprehensive tracking:
Statistics Cards
- Currently Checked Out: Active loans (checkouts - returns)
- Total Checkouts: All-time checkout count
- Total Returns: All-time return count
Unreturned Bags Tab
Shows all users currently holding sleeping bags:| User | Given Out By | Checked Out |
|---|---|---|
| John Smith | Admin Name | 1/15 11:30 PM |
| Jane Doe | Admin Name | 1/16 2:00 AM |
- Track who has bags before closing
- Follow up with users to return bags
- Identify which admin processed the checkout
Activity Log Tab
Complete history of all checkouts and returns with filters: Action Filter- All Actions
- Checked Out only
- Returned only
Find by user name or email Columns
- User (name, email, avatar)
- Action (CHECK_OUT badge or RETURN badge)
- Processed By (admin who scanned)
- Timestamp (date and time)
Infinite Scroll
Logs load 50 at a time for performance on large events.Hardware Tracking
While HARDWARE is a defined equipment type, the current implementation focuses on sleeping bags. To extend for hardware:Recommended Implementation
- Create hardware checkout stations:
- Use the
itemsJSON field:
- Track inventory:
Mobile Interface
The sleeping bag dashboard is fully responsive: Desktop: Table view with sortable columns Mobile: Card-based layout with:- User avatar and name
- Action badge
- Admin info
- Timestamp
- Swipeable cards
Error Handling
Checkout Errors
Already has bag- User has unreturned sleeping bag
- Check unreturned bags list to verify
- User must check in to event first
Return Errors
No bag checked out- User trying to return but has no active checkout
- May have already returned it
Admin Accountability
Every transaction records which admin processed it viaadminId. This provides:
- Accountability if items go missing
- Training feedback for new volunteers
- Workload tracking to recognize active volunteers
Best Practices
For Sleeping Bags
- Set up dedicated stations at sleeping area entrance/exit
- Assign 2+ volunteers to handle checkout/returns
- Number the bags (1-100) for physical inventory
- Check dashboard before closing to identify unreturned bags
- Add notes for damaged items:
For Hardware
- Use items JSON to track specific components
- Add project notes to understand usage
- Take deposits (not tracked in system, handle separately)
- Inspect returns before marking as returned
- Track by kit instead of individual components
Analytics
Peak Usage Times
Return Rate
Active Volunteers
Related Pages
- Event Management - Similar QR scanning workflow
- User Management - Assign scanner permissions
- Admin Dashboard - Overview statistics