← Back to Pull requests

frontend: fix the spinner, dark buttons, autofill and empty aside #1638

Open
unknown opened this pull request with 200 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 03, 2026 21:21 UTC
Author

This PR fixes three UI bugs:

  • Spinner: the flakes search showed a bar loader, and the other searches showed a circle spinner. Now all searches show the circle spinner next to "Searching...". The bar loader rules (.loader, @keyframes load1, --loader-color) are removed.

  • Autofill: when the browser autofills the search input, it paints its own light blue background and black text. The browser does not let a page change this background, thus an inset box-shadow paints --search-input-background over it, and -webkit-text-fill-color sets --text-color. The new --search-input-background token is also the background of the search input in the dark theme.

  • Empty aside: when no result is found, the aside shows only if it has content. Thus the packages search shows no aside, and the flakes search keeps the aside with the category switch.
  • Test

    In headless Chromium, in the light and the dark theme:

  • With :autofill forced on the search input, the background is rgb(255, 255, 255) in the light theme and rgb(57, 57, 57) in the dark theme. The border does not change.

  • With added latency, a category switch and a new query on the flakes search, and a new query on the packages search, show the circle spinner next to "Searching...". No bar loader shows.

  • A query with no result shows no aside on the packages search, and the aside with the category switch on the flakes search.
  • elm-format --validate passes. elm-review gives the same findings as on main.

    Assisted-by: Claude:claude-opus-5-5

    https://claude.ai/code/session_01RbKyH4BqJsALnGLHTjmKKo

    Diff: 200 lines (+150 / -50) across 2 files Reviewer: Sigmanificient Review duration: 9377m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 200 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.317
    Real PR Conversation Timeline
    1 comments
    "Review active on #1638"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.2% (MEDIUM) · Higher = larger blast radius
    36.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 19.3% · Safe to merge
    19.3%