← Back to Pull requests

Hold the parts beside every demo page in one panel #688

Open
unknown opened this pull request with 227 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 22, 2026 20:10 UTC
Author

#673. Every demo page, a tab's own page and each part, holds its parts in one panel beside the demo, and the reader can hide them.

What this does

  • One parts aside sits beside an article holding the page's opening, its own dials and its demo. The aside comes first in the page, so sight, focus and a screen reader meet the parts before the title, as the board's phone order does.

  • The aside's header carries the count and one Hide parts / Show parts button (aria-expanded, aria-controls on the list), so focus never moves when it is pressed. Hidden, the list leaves the page and the header is the sticky bar over the demo. At a desk the panel's column closes over 0.3s. The fold is the existing parts reader setting.

  • Every tab lists its parts as groups of entries, drawn by one PartsList and counted by one PartsCount; the four PartsIndex files and the four hand-typed size lines retire.

  • Pages write their parts as children, never as props: PartSection, PartOpening, PartTitle, PartBody and the foot, in reading order.

  • Retired: SidecarHeader, BesideAPart, the folded sidecar rules, the four PartsAndDials/PartsAndMinutes. TabSidecar stays for drag sort's dials.
  • How it's proved

  • Specs flipped from "the parts after the title" to "before it" ahead of the frame, red until it landed.

  • The panel journeys wait for each press and for the tab to land; a spec proves the accordions' buildIn returns the build, not the column.

  • Local, on this tip: tsc, oxlint, stylelint, eslint, and vitest (142 files, 2,285 tests). The full journeys and Lighthouse are CI's.

  • The lead accepted dc388c882; this tip is that branch rebased onto main with every commit unchanged.
  • What the card still owes

  • The frame around the panel (rail, header and tabs in view, the gutters returning in the same 0.3s) is #679's.
  • Diff: 227 lines (+170 / -57) across 2 files Reviewer: github-actions[bot] Review duration: 12m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 227 lines diff across 2 files
    0.37
    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.325
    Real PR Conversation Timeline
    1 comments
    "Review active on #688"
    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.9% (MEDIUM) · Higher = larger blast radius
    36.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: 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.7% · Safe to merge
    19.7%