Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): extend iPad sidebar background behind header #20149

Mergedjuliusmarmingemerged 1 commit intofeat/mobile-custom-segmented-control fromrefs/pull/20149/headmerged by juliusmarminge View on GitHub

juliusmarmingecommented

The split-view iPad sidebar used the screen background behind its header and tabs, but the drawer background below them. This left a visible color boundary above the thread list.

Use the drawer background for the whole sidebar container. iPhone and Android keep their existing background.

Before / after

Use the drawer background behind the pinned sidebar tabs and transparent header too, removing the color boundary above the list. This applies only to the split-view iPad sidebar.

BeforeAfter
Sidebar beforeSidebar after

iPadOS 26.5 verification

Built and installed the current native client on the iPad Pro 11-inch simulator. Iris light and dark retain the native rounded, inset sidebar, with a continuous drawer background behind the header and tabs.

LightDark
iPadOS 26.5 light sidebariPadOS 26.5 dark sidebar

Validation

  • Mobile typecheck and targeted lint pass.
  • Verified Iris light and dark on iPadOS 26.5; verified the header boundary on iPadOS 27.
  • React Doctor reports no issues.

Written with GPT-6.1 in the Codex harness.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. juliusmarminge added labelsmacroscope-review

    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration
      • Configuration used: Path: .coderabbit.config.ts
      • Review profile: CHILL
      • Plan: Team
      • Run ID: ee31fe01-1351-458a-89ff-cb604c8dd45f
      📥 Commits

      Reviewing files that changed from the base of the PR and between e1bfcf0e4d196b20fdf94bc9f5e57130eb26bd47 and d2fbf3078c2ba6fbf561a8c0ef5ace60a908e2fe.

      📒 Files selected for processing: 1
      • apps/mobile/src/features/workspace/WorkspaceRootScreen.tsx

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

      📝 Walkthrough

      The workspace root uses bg-drawer and applies top safe-area padding when sidebar tabs are active. Otherwise, it retains bg-screen.

      Changes: Workspace root styling

      Layer / File(s)Summary
      Sidebar-specific root styles
      apps/mobile/src/features/workspace/WorkspaceRootScreen.tsx
      The root view uses bg-drawer and top safe-area padding when sidebar tabs are active. Otherwise, it uses bg-screen.

      Priority: ⬇️ Low

      Estimated code review effort: 1 (Trivial) | ~3 minutes

      Change: Bug fix

      Merge Risk: ⚪ Minimal · up to d2fbf

      The change aligns the sidebar background with the drawer color; no merge-blocking behavior change was identified.

      Pre-merge checks: Passed 4
      Check nameStatusExplanation
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Title checkPassedThe title clearly describes the primary change: extending the iPad sidebar background behind the header.
      Description checkPassedThe description explains the problem, the change, platform scope, verification steps, and includes before/after and platform screenshots. It does not include the required Scope and approval section or…
      ✨ Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR
      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
      Comment `@coderabbitai help` to get the list of available commands.
    4. juliusmarminge merged thisba35822

    5. juliusmarminge closed this

Sign in to join this conversation.