GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): the unfolded Duo sidebar no longer pops back in while resizing Files by juliusmarminge · Pull Request #33510 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Nov 9, 2026

Copy link
Copy Markdown
Member

On the unfolded Duo, dragging the Files inspector divider could pop the sidebar back in partway through the drag, squeezing the thread between the sidebar and the inspector.

The native workspace steps the sidebar aside when the inspector leaves the page too narrow. That check compared the full window width against the columns, but UIKit keeps the Duo's 76 pt system bar out of its columns. At inspector widths where the sidebar no longer fit, the check still let it back in. deriveWorkspacePaneLayout now subtracts the horizontal safe area on the native workspace. AdaptiveWorkspaceLayout passes it in, the same way nativeInspectorColumnWidth already gets it.

The existing table in layout.test.ts gains the unfolded Duo row (951 wide, 76 pt safe area). It fails on main and passes here.

Evidence

iPhone Duo simulator, unfolded landscape, mid-drag of the Files divider:

Divider drag: before, the sidebar pops back in and squeezes the thread; after, the sidebar stays aside

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge @claude
fix(mobile): the unfolded Duo sidebar no longer pops back in while re…
23f25ae
…sizing Files

The check that steps the sidebar aside for the native inspector compared
the window width against the columns, but UIKit keeps the Duo's system
bar out of its columns. At inspector widths where the sidebar no longer
fit, the check still let it back in, squeezing the thread mid-drag.
Subtract the horizontal safe area on the native workspace.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 9, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 9, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 23f25ae

Macroscope's review found this PR approvable — The native sidebar visibility calculation now accounts for horizontal safe-area insets while Files is open, preventing it from reappearing prematurely during resizing. This is a bounded presentation fix that leaves saved preferences and nonnative behavior unchanged.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added the 🚀 Mobile Continuous Deployment Trigger Expo preview build label Nov 9, 2026 — with GitCafe Production
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Native workspace pane sizing now accounts for horizontal safe-area insets when calculating whether an inspector suppresses the sidebar. The layout component passes the computed width to both pane-layout calculations, and tests cover safe-area and inspector-width cases.

Changes: Native layout sizing

Layer / File(s) Summary
Safe-area-aware sidebar suppression
apps/mobile/src/lib/layout.ts, apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx, apps/mobile/src/lib/layout.test.ts
deriveWorkspacePaneLayout subtracts horizontal safe-area width for native workspaces. The layout component passes the width to inspector sizing and both pane-layout calls. Tests cover safe-area and inspector-width cases.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • pingdotgg/t3code#27218: Adds native inspector-width state and passes the width into the same layout helper.
  • pingdotgg/t3code#24985: Introduces the resizable iOS inspector and native-workspace sidebar suppression.
  • pingdotgg/t3code#24951: Adds orientation-specific Duo sidebar visibility and inspector-driven suppression in landscape.

Suggested labels: bugfix, 📱 Native Change, size:XS

Suggested reviewers: macroscopeapp

Merge Risk: Minimal · up to 23f25

The sidebar-fit calculation now accounts for native safe-area width. No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title clearly summarizes the main change: preventing the unfolded Duo sidebar from reappearing while the Files inspector is resized.
Description check Passed The description explains the problem, the safe-area adjustment, and the focused test result. It also includes UI evidence. It does not provide a separate scope and approval statement, but the remainin…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, the safe-area adjustment, and the focused test result. It also includes UI evidence. It does not provide a separate scope and approval statement, but the remaining content is mostly complete.

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
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: t3/duo-sidebar-safe-area
  • File: .coderabbit.config.ts
  • Commit: 23f25ae
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 6cbd5678-97c6-4780-b458-e22b59a0a724
Commits

Reviewing files that changed from the base of the PR and between 077fd62 and 23f25ae.

Files selected for processing: 3

  • apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
  • apps/mobile/src/lib/layout.test.ts
  • apps/mobile/src/lib/layout.ts

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Expo continuous deployment is ready!

  • Project → t3-code
  • Platforms → android, ios
  • Scheme → t3code-preview
  🤖 Android 🍎 iOS
Fingerprint 123dfdb9555f5a505edd9601a5b1456544a5035f 215358921d92bdf6266d079084efdb5e88ef111c
Build Details Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: 123dfdb9555f5a505edd9601a5b1456544a5035f
App version: 2.2.0
Git commit: c059f9999b0b54ea1e0a506ef486983db068e603
Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: 215358921d92bdf6266d079084efdb5e88ef111c
App version: 2.2.0
Git commit: c059f9999b0b54ea1e0a506ef486983db068e603
Update Details Update Permalink
DetailsBranch: pr-33510
Runtime version: 123dfdb9555f5a505edd9601a5b1456544a5035f
Git commit: c059f9999b0b54ea1e0a506ef486983db068e603
Update Permalink
DetailsBranch: pr-33510
Runtime version: 215358921d92bdf6266d079084efdb5e88ef111c
Git commit: c059f9999b0b54ea1e0a506ef486983db068e603
Update QR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge merged commit 2da1b74 into main Nov 9, 2026
37 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the t3/duo-sidebar-safe-area branch November 9, 2026 19:57
@shivamhwp shivamhwp mentioned this pull request Nov 9, 2026
fix(mobile): wide Android tablets keep the sidebar while typing #31161
Closed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 9, 2026
@github-actions
nightly: 0.1.8-nightly.20261109.4433
d62d89e
**v0.1.8-nightly.20261109.4433** · 13 changes from 4 contributors

- **Claude Fable 5.2.** Choose Claude Fable 5.2 from the model picker.
- **Faster model discovery.** Opening the model picker checks for new models and surfaces the Claude Code update needed to use them.

### Plus 8 more bug fixes.

<details>
<summary>Full changelog</summary>

## What's Changed
* fix(mobile): the thread feed re-wraps once when an iOS column resizes by @juliusmarminge in pingdotgg/t3code#33459
* fix(speech): match reference benchmarks to transcription hardware by @UtkarshUsername in pingdotgg/t3code#31956
* feat(models): add Claude Fable 5.2 by @t3dotgg in pingdotgg/t3code#33500
* fix(mobile): the chat inset resets after the keyboard closes while frozen by @juliusmarminge in pingdotgg/t3code#33501
* fix(mobile): a full swipe on a thread row finishes even if the pan is cancelled by @juliusmarminge in pingdotgg/t3code#33492
* fix(client): finishing a long background thread no longer freezes the app by @juliusmarminge in pingdotgg/t3code#33503
* feat(models): the model picker checks for new models when it opens by @t3dotgg in pingdotgg/t3code#33511
* fix(desktop): close focused DevTools with Cmd+W by @Yash-Singh1 in pingdotgg/t3code#33518
* chore(mobile): update react-native-pdf-jsi to 6.1.0 and link it on Android only by @juliusmarminge in pingdotgg/t3code#33504
* fix(mobile): the unfolded Duo sidebar no longer pops back in while resizing Files by @juliusmarminge in pingdotgg/t3code#33510
* fix(models): new models also surface the CLI update that supports them by @t3dotgg in pingdotgg/t3code#33515
* fix(web): clicked workspace areas no longer show the focus ring after a stray key by @t3dotgg in pingdotgg/t3code#33525
* chore(server): update Claude Agent SDK to 0.3.321 by @t3dotgg in pingdotgg/t3code#33530


**Full Changelog**: pingdotgg/t3code@v0.1.8-nightly.20261109.4429...v0.1.8-nightly.20261109.4433

</details>


Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.8-nightly.20261109.4433
@ziyadakl ziyadakl mentioned this pull request Nov 10, 2026
sync: upstream 2026-11-10 (261 commits) ziyadakl/t3code#64
Merged
@maria-rcks maria-rcks mentioned this pull request Nov 10, 2026
perf(mobile): shell-first opens and quieter lists for feel-faster paths #32375
Closed
5 tasks
@adampeterhiggins adampeterhiggins mentioned this pull request Nov 10, 2026
chore: merge upstream/main into fork (2026-11-10) adampeterhiggins/t3code#565
Merged
2 tasks done
incognitojam pushed a commit to incognitojam/styal that referenced this pull request Nov 18, 2026
@juliusmarminge @claude @incognitojam
fix(mobile): the unfolded Duo sidebar no longer pops back in while re…
6a0fa30
…sizing Files (pingdotgg#33510)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 2da1b74)
Upstream-PR: 33510
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

🚀 Mobile Continuous Deployment Trigger Expo preview build size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.