docs: Update CLAUDE.md with Issue #6 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
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
23
CLAUDE.md
23
CLAUDE.md
@@ -131,7 +131,7 @@ This is a fork with UX improvements. Issues are tracked on the Gitea instance ab
|
|||||||
| 3 | QR Code Sizing Fixes | ✅ DONE |
|
| 3 | QR Code Sizing Fixes | ✅ DONE |
|
||||||
| 4 | Layout Max-Width | ✅ DONE |
|
| 4 | Layout Max-Width | ✅ DONE |
|
||||||
| 5 | Temperature Ranges | ✅ DONE |
|
| 5 | Temperature Ranges | ✅ DONE |
|
||||||
| 6 | Spool Adjustment History | 🔄 NEXT |
|
| 6 | Spool Adjustment History | ✅ DONE |
|
||||||
| 7 | 3dfilamentprofiles Integration | Open |
|
| 7 | 3dfilamentprofiles Integration | Open |
|
||||||
|
|
||||||
### Issue #1 Complete - Inline Creation Modals
|
### Issue #1 Complete - Inline Creation Modals
|
||||||
@@ -198,13 +198,18 @@ Files:
|
|||||||
- `client/src/pages/filaments/create.tsx` - Form updates
|
- `client/src/pages/filaments/create.tsx` - Form updates
|
||||||
- `client/src/pages/printing/spoolQrCodePrintingDialog.tsx` - Template tags
|
- `client/src/pages/printing/spoolQrCodePrintingDialog.tsx` - Template tags
|
||||||
|
|
||||||
### Issue #6 Next - Spool Adjustment History
|
### Issue #6 Complete - Spool Adjustment History
|
||||||
|
|
||||||
Track history of all spool weight adjustments with timestamps and comments.
|
Track history of all spool weight/length adjustments with timestamps and comments.
|
||||||
|
|
||||||
Plan:
|
Backend:
|
||||||
- New table `SpoolAdjustment` with: spool_id, timestamp, type, value, comment
|
- `spoolman/database/models.py` - Added `SpoolAdjustment` model with relationship to Spool
|
||||||
- Relationship to Spool model with cascade delete
|
- `migrations/versions/2025_01_15_0300-*.py` - Migration for spool_adjustment table
|
||||||
- API endpoint to list adjustment history
|
- `spoolman/api/v1/models.py` - Added `SpoolAdjustment` Pydantic model
|
||||||
- Optional comment field in use/adjust endpoints
|
- `spoolman/api/v1/spool.py` - Added comment field to use/measure endpoints, GET /spool/{id}/adjustments endpoint
|
||||||
- Frontend: History section in spool show page
|
- `spoolman/database/spool.py` - Updated use_weight, use_length, measure functions to record adjustments
|
||||||
|
|
||||||
|
Frontend:
|
||||||
|
- `client/src/pages/spools/model.tsx` - Added `ISpoolAdjustment` interface
|
||||||
|
- `client/src/pages/spools/show.tsx` - Collapsible adjustment history table
|
||||||
|
- `client/public/locales/en/common.json` - Translation keys for history table
|
||||||
|
|||||||
Reference in New Issue
Block a user