feat(console): status filter, own monitor order, page limits and smaller fixes #157

Merged
Sebi merged 4 commits from feat/dashboard-status-filter into main 2026-11-25 22:43:21 +00:00
4 Commits
Author SHA1 Message Date
Sebastian UnterschützandClaude Opus 5.5 b0d4bcc002 feat(console): sort the monitor list and put monitors in an order of one's own
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 10m49s
ci / test (pull_request) Successful in 14m39s
ci / build (pull_request) Canceled after 14m22s
ci / image (pull_request) Canceled after 0s
The monitor list gets a sort switcher: the organization's own order, by
default, or by name, status (problems first), uptime (worst first) or
latency (slowest first). The choice is remembered in a cookie; paging
follows it.

"Arrange monitors" shows the whole tree with each group's monitors to
drag, or move with up and down, into the order wanted; every change is
saved at once through PUT /api/v1/org/monitors/order, which needs write
access to every monitor given and is audited. Monitors without a position
follow the positioned ones, by name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-25 23:35:02 +01:00
Sebastian UnterschützandClaude Opus 5.5 ca852c8299 feat(limits): limit the monitors shown on one status page
Platform admins set a default for how many monitors a status page may
show, and an override per organization, like the other limits. Saving a
page with more gives 422 page_monitor_limit; a page beyond a lowered
limit keeps its monitors but cannot grow. The page editor names the
limit and the organization's usage lists it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-25 23:21:26 +01:00
Sebastian UnterschützandClaude Opus 5.5 4cde0f7e56 feat(console): add or remove all monitors of a status page, skip signup when signed in
The status page editor gets "Add all" and "Remove all" above its monitor
list. Opening the signup page while signed in leads to the monitor list,
as the login page already did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-25 23:19:27 +01:00
Sebastian UnterschützandClaude Opus 5.5 feaa1e930d feat(console): filter the monitor list by status
The status counts above the monitor list are now links: one shows only
the monitors of that status as a flat list, the active one shows all
again. The filter combines with the search and the range and is kept by
the search form and the pager; an unknown status shows everything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-25 23:18:09 +01:00