Feedback on #165: paging all components of a status page at once confused visitors, because whole groups disappeared from most pages.
Paging per group: every group stays visible and shows its own first 25 components. Each group has its own previous/next and "Page x of y" (?p.<key>=N, e.g. p.0.2=3 for a nested group). Turning one group's page keeps the pages of the others, and links jump back to the group (#g-<key>). Group headings keep the status and count of the whole group.
Outages only: a checkbox "Outages only (n)" next to the search (?problems=1) shows only components that are down or degraded. Groups without any are left out, and with none at all the page says so. It combines with the search.
The search and filter show once the page has more components than fit on one page of a group, or while they are in use.
Single-file exports still list everything, without paging or filters.
Test plan
TestComponentPagingAndSearch is rewritten. It covers every group on its first page, paging one group while keeping the others' pages, clamping, the outages filter alone and with the search, the notice for no outages, and the search by component and group name.
go test ./internal/statuspage/ ./internal/web/ ./internal/i18n/ and the status page API tests pass.
## Summary
Feedback on #165: paging all components of a status page at once confused visitors, because whole groups disappeared from most pages.
- **Paging per group:** every group stays visible and shows its own first 25 components. Each group has its own previous/next and "Page x of y" (`?p.<key>=N`, e.g. `p.0.2=3` for a nested group). Turning one group's page keeps the pages of the others, and links jump back to the group (`#g-<key>`). Group headings keep the status and count of the whole group.
- **Outages only:** a checkbox "Outages only (n)" next to the search (`?problems=1`) shows only components that are down or degraded. Groups without any are left out, and with none at all the page says so. It combines with the search.
- The search and filter show once the page has more components than fit on one page of a group, or while they are in use.
- Single-file exports still list everything, without paging or filters.
## Test plan
- [x] `TestComponentPagingAndSearch` is rewritten. It covers every group on its first page, paging one group while keeping the others' pages, clamping, the outages filter alone and with the search, the notice for no outages, and the search by component and group name.
- [x] `go test ./internal/statuspage/ ./internal/web/ ./internal/i18n/` and the status page API tests pass.
- [x] `golangci-lint run ./...` (v2.15.0): 0 issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Paging all components of a status page at once left out whole groups on
every page, which confused visitors. Every group now shows its first 25
components and pages them on its own (?p.<group>=N), keeping the pages
of the other groups. Links jump back to the group.
Visitors can also show only the components with an outage or degraded
(?problems=1); groups without any are left out. The search stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi
merged commit 155d5c888b into main2026-11-28 18:25:29 +00:00
Sebi
deleted branch feat/statuspage-group-paging2026-11-28 18:25:32 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Feedback on #165: paging all components of a status page at once confused visitors, because whole groups disappeared from most pages.
?p.<key>=N, e.g.p.0.2=3for a nested group). Turning one group's page keeps the pages of the others, and links jump back to the group (#g-<key>). Group headings keep the status and count of the whole group.?problems=1) shows only components that are down or degraded. Groups without any are left out, and with none at all the page says so. It combines with the search.Test plan
TestComponentPagingAndSearchis rewritten. It covers every group on its first page, paging one group while keeping the others' pages, clamping, the outages filter alone and with the search, the notice for no outages, and the search by component and group name.go test ./internal/statuspage/ ./internal/web/ ./internal/i18n/and the status page API tests pass.golangci-lint run ./...(v2.15.0): 0 issues.🤖 Generated with Claude Code
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3