← Back to Pull requests

Fix oversized empty state height on partner programs page #4668

Closed
unknown closed this pull request without merging on Oct 13, 2026 15:50 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 08:44 UTC
Author

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->

Changes


  • Fixes ENG-1815

  • The partner programs empty state used SimpleEmptyState, which defaults to md:min-h-[calc(100vh-10rem)]. That full-viewport height is too tall when nested inside the programs tab panel (below search + tabs).

  • Override with md:min-h-0 and remove the redundant outer py-10 wrapper (padding already comes from SimpleEmptyState).
  • Test plan


  • Open partners Programs page with no enrollments on an Active/Applications/Invitations tab

  • Confirm empty state is compact (content-sized) instead of nearly full viewport height

  • Confirm search-with-no-results empty state is also compact

  • Spot-check other SimpleEmptyState usages (e.g. access denied pages) still use full-viewport min-height
  • After


    <img width="1532" height="780" alt="CleanShot 2026-10-12 at 2  28 03" src="https://github.com/user-attachments/assets/637ad9bf-b8f9-47e8-a29a-0af24625f1a3" />

    Before


    <img width="1426" height="1687" alt="CleanShot 2026-10-12 at 2  28 41" src="https://github.com/user-attachments/assets/333eafb8-8b8c-45ee-a6b5-670ae39c3e3b" />

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Style
    Adjusted the Programs page empty-state spacing and minimum height on medium-sized screens. The title, description, and graphic remain unchanged.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 199 lines (+149 / -50) across 2 files Reviewer: Joker666 Review duration: 1865m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 199 lines diff across 2 files
    0.41
    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%
    60%
    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.317
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #4668"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 41.1% (MEDIUM) · Higher = larger blast radius
    41.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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 16.2% · Safe to merge
    16.2%
    Repository