diff --git a/CLAUDE.md b/CLAUDE.md index bb5873a..7994a2f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -144,7 +144,7 @@ This is a fork with UX improvements. Issues are tracked on the Gitea instance ab | 16 | Filter Spools by Color | ✅ DONE | | 17 | Image Attachments for Filaments | **Open** | | 18 | QR Code Labels for Filaments | **Open** | -| 19 | Integration with filamentcolors.xyz | **Open** | +| 19 | Integration with filamentcolors.xyz | ✅ DONE | | 20 | Gallery View for Spools (Color Grid) | ✅ DONE | | 21 | QR Code Version/Complexity Config | **Open** | | 23 | Reporting & Data Export | **Open** | @@ -588,6 +588,20 @@ Added cost analytics endpoint and total spent / avg cost per kg stats. - `client/src/pages/home/components/QuickStats.tsx` - Added "Total Spent" and "Avg Cost/kg" stat cards - `client/src/pages/home/components/UsageAnalytics.tsx` - Added cost per material in breakdown cards +### Issue #19 Complete - filamentcolors.xyz Integration + +Color lookup from filamentcolors.xyz database (2134 swatches, 317 manufacturers). + +**Backend:** +- `spoolman/api/v1/other.py` - Proxy endpoints: + - `GET /filamentcolors/manufacturers` - List all manufacturers + - `GET /filamentcolors/search` - Search swatches by manufacturer, color, filament type + +**Frontend:** +- `client/src/components/filamentColorLookup.tsx` - Modal with manufacturer filter + color grid +- Added search button next to ColorPicker on filament create and edit forms +- Click a swatch to apply its measured hex color + ### Bug Fixes - **Filament Select Refresh**: Fixed race condition where form value was set before options re-rendered. Uses `pendingFilamentId` state + useEffect.