shoc-frontend-new/src/app/(protected)/settings
Codex Review Integration 90a3c24846 fix(services): source Trade picker from canonical catalog (SH-304)
The Trade select was fed from the editable DropdownOptions "Trade"
category, whose legacy seed values ("Plumbing", "General", ...) are not
in the backend TradeCatalog. ServicesRegistryService.RequireCanonicalTrade
rejects any non-canonical trade with 400 TradeInvalid, so Add Service and
Save Changes failed for legacy names and an admin editing the Trade
dropdown could break service creation at any time.

Source the picker from the server-owned canonical Trade reference on
Vendor/facets (the same list the vendor roster form uses), key the icon
defaults to the canonical names, and keep the edited service's stored
trade selectable if it was later deactivated so editing never silently
blanks the field.
2026-09-17 14:14:48 -03:00
..
_components fix(services): source Trade picker from canonical catalog (SH-304) 2026-09-17 14:14:48 -03:00
dropdowns.tsx refactor(ui): enforce maintainable conditional feedback 2026-07-24 11:32:58 -03:00
services.tsx refactor(services): split registry management view 2026-09-16 19:05:02 -03:00
task-templates.tsx refactor(ui): enforce maintainable conditional feedback 2026-07-24 11:32:58 -03:00