PR #302 · pramaan-io/pramaan-app · merged 2026-06-11
A lawyer picks a proceeding type that was retired last year. The template saves it. Now the matter references something that no longer exists.
Why hiding archived catalog entries matters
Existing selections vanish without warning
The fix — Hide archived from new picks, keep them visible on templates that already use them.
sequenceDiagram autonumber participant catalog as Catalog participant picker as Picker participant template as Template catalog->>picker: send each item with availability flag picker->>picker: filter out archived items from the browsable list picker->>picker: but if item is in template's current selection, keep it visible picker->>template: final chip list — active picks, plus already-selected archived ones