wacrm/src/app/(dashboard)
Arnas Donauskas ee8da11985
feat(contacts): allow bulk-deleting selected contacts (#239)
Add row selection to the contacts table so multiple contacts can be
deleted at once instead of one at a time.

- New Checkbox UI primitive wrapping @base-ui/react/checkbox, matching
  the switch.tsx token conventions (incl. indeterminate state).
- Header select-all + per-row checkboxes; row-checkbox clicks stop
  propagation so they don't open the detail sheet.
- Bulk action bar with selected count, Clear, and a role-gated
  "Delete selected" action.
- handleBulkDelete via .delete().in('id', ids) — RLS already restricts
  deletes to account members, so no migration/API route is needed.
- Selection is page-scoped and resets whenever the contact set reloads.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 16:44:41 +03:00
..
automations feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
broadcasts feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
contacts feat(contacts): allow bulk-deleting selected contacts (#239) 2026-06-17 16:44:41 +03:00
dashboard feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
flows feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
inbox fix(multi-user): share whatsapp_config + templates by account 2026-06-01 14:01:46 +03:00
pipelines feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
settings feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
dashboard-shell.tsx feat(theme): add light/dark mode toggle (#243) 2026-06-16 17:29:46 +03:00
layout.tsx Revert "feat(i18n): re-attempt next-intl with hardened artifact tracing" 2026-05-31 21:05:34 +03:00