Skip to main content

SecurityAlertsManageView

packages/engagement/components/organisms/SecurityAlertsManageView.js · Tier: organism · Module: engagement · Rendering: Server Component

Purpose​

The management body for security alerts: an empty state when there are none, or the summary table (with click-through detail modal and per-row delete) plus pagination.

Props​

PropTypeRequiredDefaultDescription
langstringyes—Locale.
tobjectyes—security.manage dictionary.
tSeverityobjectyes—security.severity dictionary.
tCenterobjectyes—security.alertCenter dictionary (pagination labels).
alertsobject[]yes—The alerts.
areasRecord<string, { zoneName, neighbourhoodName }>yes—Resolved area names.
pagenumberyes—Page index.
totalPagesnumberyes—Total pages.

Composition​

  • Uses: organisms/engagement/SecurityAlertsManageTable, molecules/core/LocalizedPager (pagination), LocalizedLink.
  • Used by: the /security/alerts/manage page (staff).

Internationalisation​

Copy from security.manage / severity / alertCenter.

Accessibility​

Empty state and table are clearly labelled; the table delegates its modals.

organisms/engagement/SecurityAlertsManageTable, organisms/engagement/AlertCenterView.