Alerts allow you to display important information to the administrators who use the Dashboard. They can be used to notify users about pending tasks, system status, or any conditions that require attention.
This API is further documented in the DashboardAlertDefinition API reference
To create a custom alert, you need to define a DashboardAlertDefinition object and register it with the Dashboard.
Let's take the built-in "pending search index updates" as an example, since it demonstrates many features you'll also use in your own custom alerts.
This alert is the registered in your dashboard extensions extry point:
Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.
Talk to the team