← Back to Pull requests

Slide the Sections along on each Section change #111

Open
unknown opened this pull request with 265 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 15, 2026 01:52 UTC
Author

What changes

  • Play header: the previous, current and next Sections move together when the Section changes. The current title shrinks and slides into the Previous column, the next title grows and slides into the middle, the old previous slides out to the left, and the Section after that slides in from the right. Colours fade with the move (the next one stays accent while it is coming up). It only slides when the new Section is the one that was showing as next; a Jump elsewhere or a repeat swaps without sliding.

  • Section list: one highlight slides from the old row to the new one (380 ms, easing out) while the list keeps scrolling the current Section to the middle, instead of the colour jumping between rows.

  • The slide maths (src/lib/section-carousel.ts) is a worklet with tests; the header lives in src/components/playback/section-carousel.tsx.
  • Checked

  • Typecheck, lint and all 598 tests pass.

  • On the iOS simulator, frames captured through Count-in → Intro and Intro → Verse 1:

  • - The titles slid and resized as described: mid-slide, Intro was shrinking toward the left while Verse 1 grew into the middle and Chorus came in from the right edge.
    - The list highlight moved from Intro to Verse 1 and settled under it.
  • Reanimated timings follow the system Reduce Motion setting, so the moves jump straight to the end for people who turn motion off.
  • 🤖 Generated with Claude Code

    https://claude.ai/code/session_016wo3hcre6oGRpwXKJ3ZwKS

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

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    New Features
    Playback now displays sections in an animated carousel, showing the current section alongside the previous and next section titles when available.
    The next section label can use an accent colour to indicate its status.
    Style
    * The section list now animates a highlight behind the selected row, moving it between sections and fading it out when no section is selected.

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

    Diff: 265 lines (+198 / -67) across 3 files Reviewer: coderabbitai[bot] Review duration: 8m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.39) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 265 lines diff across 3 files
    0.39
    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%
    42%
    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.334
    Real PR Conversation Timeline
    1 comments
    "Review active on #111"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% 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: 39.3% (MEDIUM) · Higher = larger blast radius
    39.3%
    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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 22.4% · Safe to merge
    22.4%