← Back to Pull requests

fix: the Options provider row keeps its height beside the local key hint #356

Merged
trueline-zcode-agent[bot] merged 3 files (27 lines) on Nov 27, 2026 22:42 UTC
View on GitHub
trueline-zcode-agent[bot] trueline-zcode-agent[bot] commented on Nov 27, 2026 22:31 UTC
Author

Closes #355

On the Options dialog, the local providers' optional API-key hint makes the two-column provider row's second cell taller than the first, and the grid's default align-items: stretch grew the provider field to the row height — the LLM Provider select rendered about twice its height with a large gap under its label. Hosted providers (no hint) and the narrow-viewport sheet (one column) never showed it.

What changes

  • The dialog's two-column provider row (.ui-options-grid) composes items-start, so each .ui-field keeps its content size and the row stays top-aligned. The sheet's one-column reading is unaffected (its rows are content-sized already).

  • A focused test pins the alignment the row composes with — jsdom cannot measure layout, so the class is the contract.

  • Changeset for the patch release notes.
  • Testing

  • npm run ci green on the landed tree: 103 files / 1408 tests, Chrome build and Storybook included.

  • Verified visually via headless Chrome over the fresh Storybook build: the Ollama dialog renders the select at its normal height with the fields top-aligned (before: ~82px select with a ~32px gap under its label); the Gemini dialog and the narrow sheet are unchanged.
  • <!-- agent-bot-write: ghw_5d51f259bc32ddaa session=d320085c0c7d bot=trueline-zcode-agent[bot] conversation_id=sess_41c1cd06-c3b3-45db-88f0-02def761de30 conversation_id_source=self-reported -->

    Diff: 27 lines (+25 / -2) across 3 files Reviewer: qwts Review duration: 10m
    All Vouch review confidence checks passed
    Residual risk 0.08 = Change Risk (0.31) × (1 − Review Confidence (0.73)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.31 · 27 lines diff across 3 files
    0.31
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.61 · 1 substantive comment(s)
    0.61
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    72%
    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.199
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    3 items
    chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 27, 2026 22:31 UTC
    Bot

    <!-- codex-pull-request-review-summary -->
    <!-- codex-review-state:v1 {"code_review":{"commit_sha":"a71b4ebee8771de95c9fa9fe5d450671cfbee7a7","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

    <details>
    <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

    This comment shows the latest Codex review activity on this pull request.

    | Review | Status | Commit | Review trigger |
    | --- | --- | --- | --- |
    | 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-27T22:32:29.108146Z">2026-11-27T22:32:29.108146Z</relative-time> | a71b4eb | PR opened |

    <details> <summary>ℹ️ About Codex in GitHub</summary>
    <br/>

    Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    qwts qwts approved these changes on Nov 27, 2026 22:42 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    trueline-zcode-agent[bot] trueline-zcode-agent[bot]
    Labels
    risk: low confidence: 72.9% 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: 30.9% (LOW) · Higher = larger blast radius
    30.9%
    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: 72.9% · Lower = rushed or shallow review
    72.9%
    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: 8.4% · Safe to merge
    8.4%