← Back to Pull requests

refactor(ui): clean up landing page layout & update theme defaults #10

Merged
vaibhav4561 merged 3 files (301 lines) on Sep 19, 2026 18:57 UTC
View on GitHub
vaibhav4561 vaibhav4561 commented on Sep 19, 2026 18:54 UTC
Author

Summary


Refactors the landing page for a cleaner onboarding experience, updates connect card styling, sets Light Mode as default, and fixes visual badges across the app.

Key Changes


  • Landing Page Cleanup: Removed hero mockup card, problem section, final CTA box, and duplicate header/footer links.

  • Connect Card: Styled "Connect with GitHub" button in green (#1f883d) and Demo Mode link as a dark grey button box with white text.

  • Theme & Branding: Set Light Mode as default theme and added version badge (v2.1) near the logo.

  • UI Fixes: Refined badge contrast across dashboard pages and fixed SHAP graph sizing on PR detail pages.
  • Testing


  • pytest: 148/148 tests passed (100% pass rate).
  • fixes #1 , #2

    Diff: 301 lines (+101 / -200) across 3 files Reviewer: ankit-cybertron Review duration: 3m
    All Vouch review confidence checks passed
    Residual risk 0.38 = Change Risk (0.50) × (1 − Review Confidence (0.23)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 301 lines diff across 3 files
    0.50
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.00 · 1 substantive comment(s)
    0.00
    Model 3 · Review Timing & Attention
    Session adequacy: 42% · Reviewer familiarity: 35%
    23%
    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.350
    Diff Size diff_size
    0.342
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    2 items
    ankit-cybertron ankit-cybertron approved these changes on Sep 19, 2026 18:57 UTC
    Approved Reviewer

    LGTM

    Assignees
    vaibhav4561 vaibhav4561
    Labels
    risk: medium confidence: 23.3% 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: 50.1% (MEDIUM) · Higher = larger blast radius
    50.1%
    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: 23.3% · Lower = rushed or shallow review
    23.3%
    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: 38.4% · Moderate risk
    38.4%