2 Commits
Author SHA1 Message Date
grabowskiandClaude Sonnet 4.6 4eed83e4dd Add SI value sorting to parts: parse Ohms/Farads/Henrys/Hz numerically
Deploy to LXC / deploy (push) Failing after 14m27s
- New value_numeric column (double precision) stores parsed base-SI value
- parseValueNumeric() handles SI prefixes (p/n/µ/m/k/M/G) for F, H, Ω, Hz
- Computed on save in new/edit actions
- List page sortable by value_numeric (sorts within category, nulls last)
- Sort toggle added to filter bar

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-29 16:51:58 +07:00
grabowskiandClaude Sonnet 4.6 dc9217f3b6 Add Parts section: consumable stock inventory (caps, resistors, etc.)
Deploy to LXC / deploy (push) Failing after 13m44s
- New parts table with category, MPN, value, voltage, tolerance, power, mounting (THT/SMT), package, quantity, location
- /parts list (table view, category + mounting filters, colour-coded stock)
- /parts/new and /parts/[id]/edit with dynamic fields per category
- /parts/[id] detail with ± stock adjustment
- Sidebar nav entry and count badge
- Drizzle migration generated (run db:push to apply)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-29 16:32:21 +07:00