PR #266 · pramaan-io/pramaan-app · merged 2026-06-08
When a single type vanishes, every matter that referenced it does too.
Proceeding Types settings — the page that guards the reference graph.
One careless click and the reference graph snaps.
The fix — Live, Archived, and a guarded delete — a proceeding type only leaves the system when nothing references it.
sequenceDiagram autonumber participant admin as Librarian (Admin) participant page as Catalog (Settings Page) participant api as Stacks (Backend Gateway) admin->>page: Open Proceeding Types page page->>page: Render Live + Archived tabs, search, pagination page->>page: Add / Edit opens a sheet form page->>api: Create or update request api->>page: Validation passed page->>api: Archive (reversible) page->>api: Delete request api-->>page: Conflict — referenced, blocked