You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(alert-dashboard): move the Hub ops pages onto Section and ui-columns - #5546
Hub ops pages still drew .panel blocks with hand-built headings; they now use the shared Section and .ui-columns (H3a).
What
Section-page signals, service detail, AI page, review lists/trend/incident blocks, product signals and the Storm page use Section; signal/service/review columns use .ui-columns.
Local grid rules, .spend-panel, .incident-panel, .signal-columns, .service-layout, .review-lists deleted. .panel, .panel-heading, .list-panel stay for H3b (reports, traces, brim) and the platform meter cards.
Tests migrated one for one (expect counts: ops.spec 1 changed assertion became 2; unit specs unchanged counts).
Demo
Page
Before
After
AI (light)
AI (dark)
AI (phone)
Maintenance (light)
Maintenance (dark)
Maintenance (phone)
Service detail (light)
Service detail (dark)
Service detail (phone)
Review (light)
Review (dark)
Review (phone)
Verification
bunx turbo run build typecheck test lint --filter=@shepherdjerred/alert-dashboard: pass (416 unit tests)
bun run test:e2e (alert-dashboard): 161 pass; the suite has no visual snapshots
bunx lefthook run pre-commit: pass
Not run: verify:extended, live checks; conformance allowlist unchanged (no counts moved)
…umns
Why
The ops pages still drew `.panel` blocks with hand-built headings. The layout
rule is HeaderBar, FigureStrip, then hairline-divided Sections.
What
- Section-page signals, service detail (signals, catalog, changes), AI page
(spend, quota, tool usage, other signals), review lists and trend/incident
blocks, product signals and the Storm page use the shared Section.
- Signal columns, service layout and review lists use `.ui-columns`; their
local grid rules, `.spend-panel` and `.incident-panel` are deleted.
- `.panel`, `.panel-heading`, `.list-panel` stay: reports, traces, brim and
platform meter cards (H3b) still use them.
- Quota and tool tables are labelled with aria-label since Section owns the
heading id. Unit and e2e assertions migrated one for one.
Verification
- bunx turbo run build typecheck test lint --filter=@shepherdjerred/alert-dashboard: pass
- bun run test:e2e in packages/alert-dashboard: 161 pass (no visual snapshots)
- bunx lefthook run pre-commit: pass
- Not run: verify:extended, live checks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The alert dashboard replaces custom panel markup with shared section components across AI and operations pages. Table accessible labels, layout styles, and end-to-end assertions are updated to match the new markup.
Changes: Alert dashboard sections
Layer / File(s)
Summary
AI panel sections packages/alert-dashboard/src/client/ops/ai-page.tsx, packages/alert-dashboard/src/client/ops/ai-quota-table.tsx, packages/alert-dashboard/src/client/ops/ai-quota-table.test.tsx, packages/alert-dashboard/src/client/ops/ai-tool-spend.tsx, packages/alert-dashboard/src/client/ops/ai-tool-spend.test.tsx
AI spend, quota, and other-signal panels now use the shared Section component. Quota and tool-spend tables use explicit aria-label values instead of heading references.
Trend, incident, product, Storm, review, signal, and service panels now use shared section components. Trend and incident panels no longer accept or receive explicit heading IDs.
Layout styles and end-to-end checks packages/alert-dashboard/src/styles/globals.css, packages/alert-dashboard/e2e/ops.spec.ts
Styles update grid selectors and spend-note spacing. The end-to-end test checks for shared section panels and verifies the Maintenance heading and numeric count.
This restructures Hub ops pages onto the shared Section layout without changing the data shown. No concrete functional or availability risk was found, and the author reports passing unit and e2e tests. Visual spacing was not verified.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "feat(alert-dashboard): move the Hub ops pages onto Section and ui-columns" matches the main change in the changeset. The PR moves Hub ops pages from hand-built panel markup to the shared Se…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "feat(alert-dashboard): move the Hub ops pages onto Section and ui-columns" matches the main change in the changeset. The PR moves Hub ops pages from hand-built panel markup to the shared Section component and the ui-columns layout class. The title is specific and does not list files. It does not mention the removed CSS rules, but it does not need to cover every detail.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Fix failing CI checks
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Hub ops pages still drew
.panelblocks with hand-built headings; they now use the sharedSectionand.ui-columns(H3a).What
Section; signal/service/review columns use.ui-columns..spend-panel,.incident-panel,.signal-columns,.service-layout,.review-listsdeleted..panel,.panel-heading,.list-panelstay for H3b (reports, traces, brim) and the platform meter cards.Demo
Verification
bunx turbo run build typecheck test lint --filter=@shepherdjerred/alert-dashboard: pass (416 unit tests)bun run test:e2e(alert-dashboard): 161 pass; the suite has no visual snapshotsbunx lefthook run pre-commit: passverify:extended, live checks; conformance allowlist unchanged (no counts moved)🤖 Generated with Claude Code
Summary by CodeRabbit