Files
spoolman2/spoolman
tonym d804329b77 feat: Add spool adjustment history tracking (#6)
Track history of all spool weight/length adjustments with timestamps and comments:

Backend:
- Add SpoolAdjustment database model with spool_id, timestamp, type, value, comment
- Add Alembic migration for spool_adjustment table
- Add SpoolAdjustment Pydantic model for API responses
- Update use_weight, use_length, and measure functions to record adjustments
- Add GET /api/v1/spool/{id}/adjustments endpoint for history retrieval
- Add optional comment parameter to use/measure endpoints

Frontend:
- Add ISpoolAdjustment interface to spool model
- Add collapsible adjustment history table to spool show page
- Display timestamp, type (weight/length), amount, and comment
- Add translation keys for history table

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 20:18:56 -06:00
..
2024-12-12 22:42:22 +03:00
2023-04-02 19:19:15 +02:00
2023-12-29 11:33:34 +01:00
2024-05-22 20:15:39 +02:00
2024-05-23 19:42:27 +02:00
2025-06-08 12:00:10 +02:00
2025-02-24 21:20:27 +01:00
2025-06-08 12:00:10 +02:00
2024-05-23 19:42:27 +02:00