You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: inventory UX improvements and split/history fixes (#112)
Summary
A batch of inventory UX fixes and improvements.
Inventory sorting
Default sort: updated_at DESC, name ASC, entity_id ASC - most recently active items float to top
Category schema import
_infer_category_schemas was using "dropdown" instead of "select" for low-cardinality fields - fixed
Price import
_price_total back-calculation no longer hard-errors when qty=0; falls back to qty=1
Split / transform / merge activity history
Operation noise events suppressed from activity feed
Each operation shows exactly one clean summary row
Added item.transform label and detail handler
Split UX
Fixed ValueError on uuid.UUID(parent_location_id) - replaced with _parse_uuid() helper
QTY column header: QTY Carat (clean, no abbreviation in parens)
Weight column header: Weight (Carat) with unit name
When sell_by is a weight unit: child weight is static/derived (grey italic)
When sell_by is pieces: pieces column hidden (redundant with QTY)
Navigation
Category tabs and status cards strip skus and q from URL - clicking a tab after a split/merge result returns to clean catalog view