docs: Update CLAUDE.md with Issue #5 completion
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
- Mark Issue #5 (Temperature Ranges) as complete - Add Issue #6 (Spool Adjustment History) as next up - Document implementation details for Issue #5 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
35
CLAUDE.md
35
CLAUDE.md
@@ -130,8 +130,8 @@ This is a fork with UX improvements. Issues are tracked on the Gitea instance ab
|
||||
| 2 | Smart Density Defaults | ✅ DONE |
|
||||
| 3 | QR Code Sizing Fixes | ✅ DONE |
|
||||
| 4 | Layout Max-Width | ✅ DONE |
|
||||
| 5 | Temperature Ranges | 🔄 NEXT |
|
||||
| 6 | Spool Adjustment History | Open |
|
||||
| 5 | Temperature Ranges | ✅ DONE |
|
||||
| 6 | Spool Adjustment History | 🔄 NEXT |
|
||||
| 7 | 3dfilamentprofiles Integration | Open |
|
||||
|
||||
### Issue #1 Complete - Inline Creation Modals
|
||||
@@ -182,12 +182,29 @@ Changes:
|
||||
- Added 800px max-width for forms via CSS override in `overrides.css`
|
||||
- Content is centered on wide screens
|
||||
|
||||
### Issue #5 Next - Temperature Ranges
|
||||
### Issue #5 Complete - Temperature Ranges
|
||||
|
||||
Store extruder and bed temperatures as min/max ranges:
|
||||
- Added 4 new DB columns: `settings_extruder_temp_min/max`, `settings_bed_temp_min/max`
|
||||
- Old single-value columns kept for backward compatibility (deprecated)
|
||||
- Alembic migration copies existing values to both min and max
|
||||
- Frontend uses Space.Compact with min/max input pairs
|
||||
- Label template shows ranges: "ET: 190-220 °C"
|
||||
|
||||
Files:
|
||||
- `spoolman/database/models.py` - New columns
|
||||
- `migrations/versions/2025_01_15_0200-*.py` - Migration
|
||||
- `spoolman/api/v1/models.py`, `filament.py` - API changes
|
||||
- `client/src/pages/filaments/create.tsx` - Form updates
|
||||
- `client/src/pages/printing/spoolQrCodePrintingDialog.tsx` - Template tags
|
||||
|
||||
### Issue #6 Next - Spool Adjustment History
|
||||
|
||||
Track history of all spool weight adjustments with timestamps and comments.
|
||||
|
||||
Plan:
|
||||
- Convert single temp values to min/max ranges for better label printing
|
||||
- Add new database columns: `settings_extruder_temp_min/max`, `settings_bed_temp_min/max`
|
||||
- Create Alembic migration to handle data migration
|
||||
- Update API models and endpoints
|
||||
- Update frontend forms to use range inputs
|
||||
- Update label template to show ranges like "190-210°C"
|
||||
- New table `SpoolAdjustment` with: spool_id, timestamp, type, value, comment
|
||||
- Relationship to Spool model with cascade delete
|
||||
- API endpoint to list adjustment history
|
||||
- Optional comment field in use/adjust endpoints
|
||||
- Frontend: History section in spool show page
|
||||
|
||||
Reference in New Issue
Block a user