37 lines
727 B
Plaintext
37 lines
727 B
Plaintext
---
|
|
title: Dashboard notifier
|
|
description: Retain AO notifications in the local web dashboard.
|
|
---
|
|
|
|
The dashboard notifier records AO notifications in a local JSONL store and streams
|
|
the latest retained records to the web dashboard over the existing local mux
|
|
WebSocket.
|
|
|
|
```yaml
|
|
notifiers:
|
|
dashboard:
|
|
plugin: dashboard
|
|
limit: 50
|
|
|
|
notificationRouting:
|
|
urgent: [dashboard]
|
|
action: [dashboard]
|
|
```
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
ao setup dashboard
|
|
ao setup dashboard --limit 100 --routing-preset all
|
|
ao setup dashboard --status
|
|
```
|
|
|
|
`limit` controls how many recent notifications are retained for browser reloads
|
|
and dashboard restarts. The default is `50`.
|
|
|
|
## Test
|
|
|
|
```bash
|
|
ao notify test --to dashboard --template basic
|
|
```
|