[Story-1115] Name + bold the affected item in every settings-catalog toast

Story 1115Epic None14 files · +473/−74

PR #290 · pramaan-io/pramaan-app · merged 2026-06-10

Why this matters

The toast that forgot the name.

Archive, restore, delete, save — the popup never names the affected row. Forums fired no delete toast at all.

Bold in a settings page must not cost you a security review.

The fix — Every settings-catalog toast names the affected row, in bold, in every language.

How it flows

sequenceDiagram
  autonumber
  participant user as User
  participant hook as Action hook
  participant t as i18n rich
  participant toast as Toast UI
  user->>hook: click Delete on Acme GST Filing Type
  hook->>t: t.rich('deletedToast', { name, ...toastChunks })
  t->>t:  in JSON maps to real 
  t->>toast: toast.success(richNode)
  toast->>toast: Deleted — Acme GST Filing Type (bold)

Files changed (14)

File±
docs/walkthroughs/story-1115-walkthrough.html+260
messages/en.json ★+26 −21
messages/hi.json ★+26 −21
src/app/[locale]/(workspace)/clients/clients-client.test.tsx ★+23 −5
src/app/[locale]/(workspace)/clients/clients-client.tsx+13 −5
src/components/clients/client-detail-actions.tsx+15 −3
src/components/settings/filing-types/use-filing-type-actions.ts+18 −3
src/components/settings/forums/forums-list-page.tsx+10 −1
src/components/settings/matter-types/matter-template-detail-actions.tsx+12 −3
src/components/settings/matter-types/use-matter-template-actions.ts+15 −3
src/components/settings/matter-types/use-matter-template-form.ts+8 −3
src/components/settings/participant-labels/use-participant-label-actions.ts+18 −3
src/components/settings/proceeding-types/use-proceeding-type-actions.ts+18 −3
src/components/shared/toast-chunks.tsx+11