docs: Update CLAUDE.md with UX improvement progress
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
- Added issue tracking table - Documented Issue #1 completion (inline creation modals) - Added Issue #2 implementation plan (smart density defaults) - Added material density reference table Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
40
CLAUDE.md
40
CLAUDE.md
@@ -118,5 +118,45 @@ Environment variables (see `.env.example`):
|
||||
|
||||
- **URL:** http://192.168.0.5:3022/tonym/spoolman2
|
||||
- **API Token:** 8a04b3cb5dbb54e2d895b707305523c3ad83a945
|
||||
- **Upstream:** https://github.com/Donkie/Spoolman (remote: `upstream`)
|
||||
|
||||
This is a fork with UX improvements. Issues are tracked on the Gitea instance above.
|
||||
|
||||
## UX Improvement Issues
|
||||
|
||||
| # | Title | Status |
|
||||
|---|-------|--------|
|
||||
| 1 | Inline Creation Modals | ✅ DONE |
|
||||
| 2 | Smart Density Defaults | 🔄 NEXT |
|
||||
| 3 | QR Code Sizing Fixes | Open |
|
||||
| 4 | Layout Max-Width | Open |
|
||||
| 5 | Temperature Ranges | Open |
|
||||
| 6 | Spool Adjustment History | Open |
|
||||
| 7 | 3dfilamentprofiles Integration | Open |
|
||||
|
||||
### Issue #1 Complete - Inline Creation Modals
|
||||
|
||||
Added ability to create filament/vendor inline without leaving the page:
|
||||
- `client/src/components/vendorCreateModal.tsx` - Quick vendor creation
|
||||
- `client/src/components/filamentCreateModal.tsx` - Quick filament creation with nested vendor modal
|
||||
- Modified spool create to add "Create Filament" in dropdown
|
||||
- Modified filament create to add "Create Manufacturer" in dropdown
|
||||
- Uses `dropdownRender` pattern (same as location select)
|
||||
- Uses `useInvalidate` to refresh lists after creation
|
||||
|
||||
### Issue #2 Next - Smart Density Defaults
|
||||
|
||||
Plan: Auto-fill density based on material type
|
||||
- Create `client/src/utils/materialDefaults.ts` with density lookup table
|
||||
- Convert material field to AutoComplete (dropdown + free text)
|
||||
- Fuzzy matching: "PLA Silk" → PLA (1.24 g/cm³)
|
||||
- Default diameter: 1.75mm, default density: 1.24 (PLA)
|
||||
- Apply to FilamentCreateModal too
|
||||
- Do NOT auto-fill on edit page (preserve user customizations)
|
||||
|
||||
Material densities:
|
||||
```
|
||||
PLA: 1.24, ABS: 1.04, PETG: 1.27, NYLON: 1.52, TPU: 1.21
|
||||
PC: 1.3, Wood: 1.28, CF: 1.3, PC/ABS: 1.19, HIPS: 1.03
|
||||
PVA: 1.23, ASA: 1.05, PP: 0.9, POM: 1.4, PMMA: 1.18, FPE: 2.16
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user