fix(ui): add accessible operational colors - #2226
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Warning Review limit reached
Next review available in: 21 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (29)
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. Comment |
Reviewer's GuideIntroduces a shared light-theme operationalStatusColors palette and applies it across web and mobile operational UI (query panels, sync/provider status, processing/recompute indicators, and error fallback) to meet WCAG contrast and accessibility expectations while preserving existing status color APIs. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR Summary by QodoAdd WCAG-compliant operational status colors across web and mobile UI
AI Description
Diagram
High-Level Assessment
Files changed (27)
|
Mobile PreviewScan to open on device:
To test on device:
|
|
Storybook previews for This comment updates automatically on each PR push. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
186 rules✅ Skills:
fix-provider, write-tests, cloudflare 1.
|
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Review follow-up for Qodo optional finding “Inline styles in QueryStatePanel”: skipped with rationale. The inline declarations apply runtime values from the canonical cross-platform |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
Summary
operationalStatusColorspalette with paired foreground, surface, border, and indicator roles while preserving every existing color aliasTDD plan
docs/superpowers/plans/2026-07-27-accessible-operational-colors.mdValidation
pnpm test— 888 files passed, 2 skipped; 14,106 tests passed, 21 skippedpnpm test:changedon the exact combined head — 211 files / 2,873 tests passedpnpm tsc --noEmit— passedpnpm lintreached SQLFluff, then stopped because the instructed no-Docker environment has no ClickHouse listener at127.0.0.1:8123; exact-head CI owns that container-backed gateFixes #2068
Summary by Sourcery
Introduce a shared light-theme operational status palette and apply it across web and mobile status presenters for accessible, non-color-only state feedback.
New Features:
operationalStatusColorspalette for neutral/info/success/warning/danger operational states with foreground, surface, border, and indicator roles.Bug Fixes:
Enhancements:
Tests:
Summary by cubic
Add a shared light-theme palette
operationalStatusColorsand apply it across web and mobile error, processing, recompute, and sync UI. Fixes #2068 by meeting WCAG contrast and replacing color-only indicators with visible labels, symbols, and retry actions.New Features
operationalStatusColors(neutral/info/success/warning/danger with foreground/surface/border/indicator) from@dofek/scoring/colorsand re-export via mobiletheme.QueryStatePanel(adds optionalcontextLabel),ErrorBoundary,RecomputeStatusIndicator,SourceProcessingStatusCard,StatusDot, and provider sync UI to the shared roles while keeping the existingstatusColorsAPI intact.Bug Fixes
Written for commit eb79842. Summary will update on new commits.