Skip to main content

SecurityAlertsManageTable

packages/engagement/components/organisms/SecurityAlertsManageTable.js · Tier: organism · Module: engagement · Rendering: Client Component ('use client')

Purpose​

A client island that renders the alerts table for backoffice/admin users. Each row opens a detail modal on click; a separate per-row "delete" button fires the destructive server action behind a confirmation modal.

Props​

PropTypeRequiredDefaultDescription
alertsArray<object>yes—The alerts to list.
areasRecord<number, { zoneName, neighbourhoodName }>yes—Resolved area names.
tobjectyes—Table dictionary.
tSeverityRecord<string,string>yes—Severity labels.
tCenterobjectyes—Alert-centre dictionary.
langstringyes—Locale.

Composition​

  • Uses: molecules/core/Modal, atoms/core/Icon/Button, the delete action, useState/useTransition.
  • Used by: organisms/engagement/SecurityAlertsManageView.

Internationalisation​

Copy via t / tSeverity / tCenter.

Accessibility​

Row detail + delete confirmation are accessible core/Modals; delete is a labelled button.

organisms/engagement/SecurityAlertsManageView, molecules/engagement/SecurityAlertCard.