← Back to Pull requests

Minor UI fixes and improvements #93

Closed
unknown closed this pull request without merging on Dec 20, 2022 17:47 UTC
View on GitHub
unknown unknown commented on Dec 17, 2022 00:12 UTC
Author

Optimized SVG icons


All SVG icons, excluding than the sword's path, have been optimized. In addition, the magnifier glass icons are now more legible (pixel-aligned on non-retina displays) and fit in better with other icons:

old zoom icons | new zoom icons
:-|:-
!old-zoom | !new-zoom

---

Fixed alignment issues in the PATH OPERATIONS panel


The third row now matches the previous two:

old layout (flex) | new layout (grid)
:-|:-
!old-layout | !new-layout

---

Responsive buttons in the PATH panel


Previously these buttons used text-align: center and a fixed margin for layout, so if the scrollbar was hidden, they would move towards center, increasing the margin on the sides. Now the left-aligned buttons stay in place, and only the right-aligned one moves when the scrollbar appears.

Additionally, the shadows cast by the buttons were clipped by overflow: hidden. Now this rule is only applied during animation, so the shadows are fully visible when the panel is expanded.

old buttons | new buttons
:-|:-
!old--scrollbar-visible | !new--scrollbar-visible
!old--scrollbar-hidden | !new--scrollbar-hidden

---

Various Firefox fixes


  • scrollbars now better match those in Chrome

  • buttons in the PATH panel now have consistent spacing between browsers

  • previously icons inside buttons would appear 1px below the center, due to how Firefox handles line-height – this has been fixed
  • old | new
    :-|:-
    !ff-old | !ff-new
    !ff-scrollbar-old | !ff-scrollbar-new

    Diff: 348 lines (+261 / -87) across 4 files Reviewer: Yqnn Review duration: 5375m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 348 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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
    Diff Size diff_size
    0.350
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #93"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 42.4% (MEDIUM) · Higher = larger blast radius
    42.4%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 18.4% · Safe to merge
    18.4%