Skip to content

feat(incidents): move the Incidents UI onto the shared console look - #5552

Open
shepherdjerred wants to merge 2 commits into
mainfrom
look-incidents-ui
Open

shepherdjerred wants to merge 2 commits into
mainfrom
look-incidents-ui

Conversation

@shepherdjerred

@shepherdjerred shepherdjerred commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Why

The Incidents pages (mounted in Hub) predate the new console vocabulary: bordered cards, severity pills, a local timeline, native dialogs and hand-built fields.

What

  • HeaderBar with NavTabs (Open, Maintenance, History), FigureStrip, Section, FilterBar and one .ui-table per list.
  • StatusGlyph replaces the .inc-sev pills; Chip for systems and kinds; DescriptionList for incident facts; the shared Timeline for events.
  • Banner for notices and the duplicate-declaration prompt; State for loading, empty and error; shared Dialog, Field, Fieldset, Checkbox, RadioGroup, Textarea and FormActions for declare, update, resolve and hand-off.
  • Shared DescriptionList (console-ui): items align to the start, so a tall neighbour no longer pushes a value to the bottom of its cell.
  • Hub Home block is one table with group rows.
  • incidents.css goes from 723 lines to about 80 layout-only lines; the conformance allowlist (37 bare-element selectors) is now empty.

Demo

Before | After

List, light:

Before After

List, dark:

Before After

Detail, light:

Before After

Detail facts with a long Suspect URL, after the shared DescriptionList fix (items align to the start instead of stretching; "Components" and "Creator" now sit under their labels):

Declare, light:

Before After

Action dialog, dark:

Before After

Hub Home block, light:

Before After

Phone (375px), list and detail:

Before After

Verification

  • bunx turbo run typecheck lint test --filter=@shepherdjerred/incidents: pass
  • bun run test:e2e in packages/alert-dashboard: 161 passed (incidents spec: 7, expect( count 52 before and after)
  • bunx turbo run build typecheck test lint for incidents and console-ui (includes the vocabulary and conformance tests): pass
  • bunx lefthook run pre-commit (includes jscpd): pass
  • bun run verify:extended -- --filter='...[origin/main...HEAD]': exit 0
  • Not run: bun run e2e:affected, live acceptance after deploy

@shepherdjerred

Copy link
Copy Markdown
Owner Author

This change is part of the following stack:

Change managed by git-spice.

@greptile-apps

greptile-apps Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Important

Review skipped

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.

Run configuration

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
  • 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.

Share

@shepherdjerred
shepherdjerred marked this pull request as ready for review December 3, 2026 06:39
@shepherdjerred

Copy link
Copy Markdown
Owner Author

@codex review

Automated re-review request for 1c1a0e6 from the CI review gate.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T06:43:16.951785Z 7221bc7 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@shepherdjerred

Copy link
Copy Markdown
Owner Author

@codex review

Automated re-review request for 7221bc7 from the CI review gate.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 7221bc7002

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

shepherdjerred and others added 2 commits December 2, 2026 23:48
Why
The Incidents pages (mounted in Hub) predate the new vocabulary: bordered
cards, uppercase-style severity pills, a local timeline, native dialogs and
hand-built fields.

What
- HeaderBar with NavTabs for Open/Maintenance/History, FigureStrip, Section,
  FilterBar and one .ui-table per list (stacks on a phone).
- StatusGlyph (glyph + word) replaces the .inc-sev pills; Chip for systems
  and kinds; DescriptionList for incident facts; shared Timeline for events.
- Banner for notices and the duplicate-declaration prompt; State for
  loading/empty/error; shared Dialog, Field, Fieldset, Checkbox, RadioGroup,
  Textarea and FormActions for declare, update, resolve and hand-off.
- Home block is one table with group rows. incidents.css shrinks from 723 to
  about 80 layout-only lines; the conformance allowlist (37 bare-element
  selectors) is now empty.
- Hub e2e incidents spec: class selectors migrated to roles one for one.

Verification
- bunx turbo run typecheck lint test --filter=@shepherdjerred/incidents: pass
- bun run test:e2e in packages/alert-dashboard: 161 passed
- bunx lefthook run pre-commit: pass
- Not run: extended tier, e2e:affected, live acceptance

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Why
A tall neighbour stretched a grid row and pushed a short value to the bottom
of its .ui-dl-item.

What
.ui-dl-item uses align-content: start and the grid layout align-items: start,
in the existing ui.components layer.

Verification
Incident detail screenshot with a long Suspect URL; console-ui build,
typecheck, test (vocabulary and conformance) and lint pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant