feat(panel): adaptive monitoring poll intervals (v1.x closure phase 1)
test / test (push) Has been cancelled
test / test (push) Has been cancelled
Replace fixed 5 s hx-trigger polling with data-poll markers and panel.js scheduling: 5 s while active, 30 s when idle, none when tab is hidden. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,6 +30,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); version
|
||||
|
||||
### Changed
|
||||
|
||||
- Monitoring screens (status, mail queue, system log, deliveries) use adaptive
|
||||
HTMX polling: 5 s while the operator is active on the page, 30 s when the tab
|
||||
is visible but idle, and no requests while the tab is hidden. Scheduling
|
||||
lives in `panel.js` (`data-poll` markers) instead of `hx-trigger="every …"`,
|
||||
which would need `unsafe-eval` under the panel's CSP.
|
||||
- The delivery page is laid out in two columns: what the journal recorded on
|
||||
the left, what happened to the message on the right, and the delivery log at
|
||||
full width under both. The facts the page used to stack one per line — domain,
|
||||
|
||||
Reference in New Issue
Block a user