Operator guideENnotificationslist

Notifications / List

Notification-template inventory built from linked email-template rows, with create navigation, edit navigation, HTML preview, and linked status toggle.

Reader view

Clean portal guidance

This page keeps the operator explanation, field and action descriptions, and screenshots visible without exposing repo paths, raw sidecars, or editorial-only implementation details.

Narrative content

Page body

What this page shows

This page is the operator inventory for notification templates. It is the main place to create a new notification template, open the edit flow, inspect the linked email HTML, and switch the linked email-template row on or off.

The route is visually a notifications page, but the row dataset comes from the shared email-template inventory and then filters to rows where notificationId is present.

How the page is organized

The list keeps the same accordion grouping as the email-template inventory. Each section is keyed by the backend template family and then filtered so only notification-linked rows are shown.

For every row, the operator sees:

  • linked email-template ID
  • internal label
  • linked notificationId
  • row actions for status toggle, edit, and HTML preview

Important actions

  • Create: opens the notification create form
  • Download: exports the shared email-template dataset through the backend CSV branch
  • Activate / Deactivate: toggles the linked email-template isActive flag
  • Edit Notification: opens the notification edit form by notificationId
  • View Email HTML: opens the linked email-template HTML preview modal

Why operators get confused here

The list is driven by email-template data

Even though the route label is Notifications, the inventory does not call a standalone notifications catalog endpoint. It uses get-all-email-templates and filters rows that already have notificationId.

That is why the first visible identifier is still the email-template ID, not the notification primary key.

Status belongs to the linked email-template row

The row-level activate or deactivate action goes through update-email-template and flips isActive. It is a linked template status, not a direct notification-record status mutation.

Preview shows the linked email shell

The modal preview renders template.templateCode.EN from the linked email-template record. It does not preview the notification JSON content itself.

Known caveats

  • The list reuses the shared email-template CSV export. There is no dedicated notifications export flow on this route.
  • Edit navigation is notification-specific and uses /notifications/edit/:notificationId.
  • Notification statistics routes exist in the backend, but they are not the primary source for this inventory page.

Verification status

  • status: verified_backend
  • main verified routes:
    • GET /api/admin/get-all-email-templates
    • PUT /api/admin/update-email-template
    • GET /api/admin/notifications/:notificationId
Field dictionary

Fields

field

Template Family

Groups linked notification rows by the shared email-template family coming from the backend order list.

Data Type
grouped-label
field

ID

Internal email-template identifier used for linked template status updates and preview inspection.

Data Type
integer
field

Label

Human-readable name of the linked notification template family.

Data Type
string
field

Notification ID

Notification record identifier used to open the dedicated notification edit flow.

Data Type
integer
field

Linked Email Status

Shows whether the linked email-template row is active for delivery-related use.

Data Type
boolean
field

Linked Email HTML Preview

Stored HTML body from the linked email-template record, rendered in the frontend modal for quick inspection.

Data Type
html
Operational notes

Notes

item

The notifications list route reads the shared email-template catalog and then filters rows where `notificationId` is present.

item

The row-level activate or deactivate action uses `update-email-template` and toggles the linked email-template `isActive` value.

item

The preview modal is FE-only and renders linked email-template HTML. There is no dedicated backend preview route for this page.

Related references

Related pages

pageNotifications

Operator workspace for notification-template inventory, linked email-template status, and notification create or edit workflow.

pageNotifications / Form

Create and edit workflow for one notification template, including localized content, sender avatar, and priority settings.

pageActivity Tag Rules / List

Main inventory for activity-driven tag rules, with search, activity and status filters, grouped rows, clone, edit, and run actions.

pageAffiliate Deals / List

Searchable table of affiliate deal rows with PID filter, create action, dashboard shortcut, and edit/delete row actions.

pageAffiliate Payment Settings / List

Affiliate payment settings inventory page for reviewing configured rows and opening saved records.

pageAffiliate Settings / List

Affiliate inventory list used to review saved affiliates and open detail or report flows.