Skip to content

fix(web): status pages pass the design lint - #2014

Merged
JeremyFunk merged 1 commit into
mainfrom
fix/status-pages-design-lint
Oct 31, 2026
Merged

JeremyFunk merged 1 commit into
mainfrom
fix/status-pages-design-lint

Conversation

@Makisuo

@Makisuo Makisuo commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

main's TypeScript (effect-lint) job fails on 11 errors in apps/web/src/page/status-pages/. The status-pages stack (#1950, #1972) merged after #2002 turned the design rules into lint, so every PR inherits the failure (seen on #2013).

Each error maps to the token the rule names, at the same or a near-identical value:

  • rounded-[2px] → rounded-xs, rounded-[1px] → rounded-2xs (1px)
  • hover states get their active: twins (4 places)
  • border-destructive/40 → border-destructive-a4 (40%), bg-primary/5 → bg-primary-a1 (6%)
  • shadow-lg → shadow-popup on the floating save bar

Verified: oxlint -c .oxlintrc.effect.json --quiet apps/web exits 0 (was 11 errors). No layout change; values are token equivalents.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Style
    • Refined visual styling across status-page builder, editor, settings, and list views, including shadows, borders, and corner rounding.
    • Improved active-state feedback for status-page items and list rows with updated colors and link styling.
    • Updated preset-card colors and interaction styling for unselected cards.

The status-pages stack landed after the design rules became lint (#2002),
so main's effect-lint fails on 11 errors. Map each onto the token it
names: radius tokens for hand-picked corners, active: twins for hover
states, tone alpha steps (-a1, -a4) for /NN tones, shadow-popup for the
floating save bar.
@maple-review-bot

maple-review-bot Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Maple review

🟢 Confidence 10/10 · safe to merge. Six class-string swaps, each verified equal to the token it now names in tokens.css; no logic touched.
no findings · tests not needed · risk low

Replaces hand-picked values in the status-pages views with the design-system tokens the lint names (radii, tone alpha steps, shadow-popup) and adds the active: press twins. Rendering values are unchanged apart from the documented 5%→6% wash. Safe to merge.

0818a48 · What was checked, coverage and telemetry details are on the Maple / review check. Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a159049-ba93-46b3-ae69-a071a11ec1c2
Commits

Reviewing files that changed from the base of the PR and between b67f589 and 0818a48.

Files selected for processing: 6
  • apps/web/src/page/status-pages/builder/view.ts
  • apps/web/src/page/status-pages/editor/view-canvas.ts
  • apps/web/src/page/status-pages/editor/view-live.ts
  • apps/web/src/page/status-pages/editor/view-settings.ts
  • apps/web/src/page/status-pages/list/view.ts
  • apps/web/src/page/status-pages/shared/look.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

Walkthrough

Status-page builder, editor, list, and appearance views update utility classes for shadows, colors, borders, corner radii, and active states.

Changes: Status-page styling

Layer / File(s) Summary
Status-page view style updates
apps/web/src/page/status-pages/builder/view.ts, apps/web/src/page/status-pages/editor/view-canvas.ts, apps/web/src/page/status-pages/editor/view-live.ts, apps/web/src/page/status-pages/editor/view-settings.ts, apps/web/src/page/status-pages/list/view.ts, apps/web/src/page/status-pages/shared/look.ts
The views update shadow, color, border, and corner-radius utilities. Editor and list elements also add or adjust active-state styles.

Estimated code review effort: 2 (Simple) | ~7 minutes

Change: Other

Possibly related PRs

Suggested labels: preview:web

Merge Risk: Minimal · up to 0818a

No actionable merge-blocking risk remains in the reviewed styling changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the web status-pages changes and the primary objective of making them pass the design lint.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 6 files.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • 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.

Share

@JeremyFunk
JeremyFunk merged commit e32bf9d into main Oct 31, 2026
28 checks passed
@JeremyFunk
JeremyFunk deleted the fix/status-pages-design-lint branch October 31, 2026 10:36
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.

2 participants