feat(settings): project type editor in the Settings hub (MAPPS-173) #151
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-173-project-type-editor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
MAPPS-173: the client editor for project types, wired to the
project_typeslookup table + CRUD that shipped in PMS-322. This finishes the MAPPS-169 standard-type editors.A Project Types card in the hub's "Service & Asset Types" group links to
/settings/project-types: a paginated list with a create/edit/delete modal, admin-gated, refetching on tenant switch, reusing the sharedsave_lookup/delete_lookup/SettingFormModal/ActiveBadgehelpers.Fields match the server DTO:
name,is_default,is_active,sort_order(is_systemis server-owned and never sent).System rows
PMS-322 seeds
client/internalasis_systemrows, which the server refuses to delete. The editor honors that:deletableprop onSettingFormModal, defaulted totrueso the other eight editors are unchanged),Notes
cargo clippy --all-targets -- -D warnings).Test plan
/settings: "Project Types" appears under "Service & Asset Types".client/internalrow: name field is disabled, no Delete button, but toggling default/active and changing sort order still saves.