Appearance
A.6: Notification Templates
Summary
Admins create, edit, preview, and delete notification templates used for in-app notification rendering.
Role
- Primary: Admin
- Secondary: System
Entry Point
- List tab:
/admin/system-settings?tab=notifications - Detail:
/admin/system-settings/notification-templates/:templateId
Preconditions
- User is authenticated as admin.
Steps
- Admin opens notification templates.
- Admin creates or opens a template.
- Admin edits key, language, title/body content, and metadata.
- Admin previews rendered notification content.
- Admin saves or deletes the template.
Diagram
Edge Cases
- Template missing: Runtime templated notification sending fails or logs an error depending on caller.
- Language fallback: Runtime delivery falls back to English when available.
- Delete: Deleting a template can affect in-app notification generation.
Current Implementation Notes
- Frontend:
frontend/src/app/pages/admin/system-settings.tsx,frontend/src/app/pages/admin/notification-template-detail.tsx - Backend:
backend/internal/services/in_app_notification_service.go
Screenshot Status
- Not captured.