## Summary
Add reporting and data export/import capabilities for inventory management.
## Upstream Issues
- https://github.com/Donkie/Spoolman/issues/779 - Reporting
- https://github.com/Donkie/Spoolman/issues/566 (3 👍) - CSV import/export
## Requested Reports
### 1. Filaments Without Spools
List filaments that have no associated spools (unused/depleted types).
### 2. Filaments by Manufacturer
Grouped list of all filaments organized by vendor/manufacturer.
### 3. Filaments by Material
Grouped list organized by material type (PLA, PETG, etc.).
### 4. Full Spool Inventory
Exportable list of all spools with key details:
- Name, material, color
- Remaining weight/length
- Location
- Last used date
### 5. Low Stock Report
Spools below configurable threshold (e.g., < 100g).
### 6. Location Inventory
Filament inventory grouped by storage location.
## Export Formats
- **CSV** (spreadsheet compatible) - for Excel/Google Sheets editing
- **PDF** (printable)
- **JSON** (API/backup) - already done in #10
## CSV Import (Bulk Data Entry)
- Import spools from CSV/Excel
- Match columns to fields
- Preview before import
- Handle duplicates (skip/update/create new)
- Great for users migrating from spreadsheets
## Implementation
### Backend
- Add `/api/v1/reports/{report_type}` endpoints
- Support format query param (`?format=csv`)
- Add `/api/v1/spool/import-csv` endpoint
- Use existing query filters
### Frontend
- Reports page/section
- Report type selector
- Filter options
- Download buttons for each format
- CSV import wizard with column mapping
## Related
- #10 Database Import/Export (JSON backup - DONE)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Add reporting and data export/import capabilities for inventory management.
Upstream Issues
Requested Reports
1. Filaments Without Spools
List filaments that have no associated spools (unused/depleted types).
2. Filaments by Manufacturer
Grouped list of all filaments organized by vendor/manufacturer.
3. Filaments by Material
Grouped list organized by material type (PLA, PETG, etc.).
4. Full Spool Inventory
Exportable list of all spools with key details:
5. Low Stock Report
Spools below configurable threshold (e.g., < 100g).
6. Location Inventory
Filament inventory grouped by storage location.
Export Formats
CSV Import (Bulk Data Entry)
Implementation
Backend
/api/v1/reports/{report_type}endpoints?format=csv)/api/v1/spool/import-csvendpointFrontend
Related