ghostguild-org/server
Jennie Robinson Faber 92e7dae74c
Some checks failed
Test / vitest (push) Successful in 11m48s
Test / playwright (push) Failing after 9m50s
Test / visual (push) Failing after 9m19s
Test / Notify on failure (push) Successful in 2s
feat(admin): add restore dismissed alerts flow
Admins can now surface dismissed alert types without waiting for the
underlying data to change. Adds a collapsible "Restore dismissed"
section below the active alerts with per-type checkboxes.

- ALERT_METADATA map in adminAlerts.js as the single source of truth
  for slug → title/severity; detectors refactored to reference it
- GET /api/admin/alerts/dismissed returns this admin's dismissals
  joined with metadata (title, severity, dismissedAt)
- POST /api/admin/alerts/restore deletes dismissals by alertType[],
  returns the deleted count
- AdminAlertsPanel fetches both active + dismissed; stays visible
  when either is non-empty; checkboxes + "Restore selected" button
- adminAlertRestoreSchema validates the POST body against the enum
- Auth guards test covers both new routes
2026-04-08 12:22:35 +01:00
..
api feat(admin): add restore dismissed alerts flow 2026-04-08 12:22:35 +01:00
config Lots of UI fixes 2025-10-08 19:02:24 +01:00
emails Refactor email templates to use plain text format and update sender addresses 2026-03-05 18:40:37 +00:00
middleware fix: use private helcimApiToken for all server-side Helcim API calls 2026-04-04 13:37:34 +01:00
migrations feat: pre-registrant management and invitation system 2026-04-06 14:46:11 +01:00
models feat(admin): add AdminAlertDismissal model 2026-04-08 11:00:31 +01:00
plugins fix: replace member.save() in invite.post.js and remove stale NUXT_PUBLIC_HELCIM_TOKEN env check 2026-04-04 14:02:06 +01:00
routes Switch wiki login email to plain text format 2026-03-11 14:13:59 +00:00
utils feat(admin): add restore dismissed alerts flow 2026-04-08 12:22:35 +01:00