fix(mobile): restore Android tablet thread controls, clean up header
What Changed
- restore the compact T3 Code brand lockup in the Android split-view thread sidebar
- align the lockup with the primary thread-title column
- use the shared settings control instead of the divergent Android-native gear glyph
- expose the existing Android new-task FAB inside the persistent sidebar and keep list rows clear of it
- remove the empty Android detail pane's blank native-header wash
- keep the focused new-thread composer and toolbar attached to the Android keyboard, matching existing threads
Why
Android tablets and unfolded foldables use a separate split-view sidebar once the window reaches 720dp × 600dp. That sidebar had drifted from the phone surface: it showed a hardcoded “Threads” title, a different settings icon, and no persistent way to start a task.
The new-thread screen also used padding-based keyboard avoidance while existing threads used a frame-synced sticky composer. On a foldable, the IME could cover the new-thread toolbar even though the existing-thread toolbar remained visible.
The empty split-view detail route still mounted a blank Android native header, leaving a lighter strip and divider above the otherwise uniform detail background.
This addresses the header, settings, and new-task portions of #5338. Sidebar collapse is intentionally outside this focused PR.
UI Changes
| Before | After |
|---|---|
![]() |
![]() |
Both captures use the same deterministic dark-mode Threads fixture on an unfolded Pixel 9 Pro Fold AVD at its native 2076×2152 display size. Every “After” capture below was regenerated from the exact PR head (1a9de543f) using the production/Alpha variant in one emulator session.
Final baseline and empty-detail proof
New thread with keyboard open
Verification
pnpm --filter @t3tools/mobile typecheck- targeted formatting and lint for the changed mobile files
git diff --check- matched before/after pass on the real
pixel_9_pro_foldAndroid hardware profile - focused new-thread pass with the IME open; editor and toolbar accessibility bounds remain above the keyboard
- one fresh Codex review and one Claude Opus counter-review; the actionable animation and large-font clipping findings were addressed
Checklist
- [x] This PR is small and focused
- [x] I explained what changed and why
- [x] I included before/after screenshots for the UI changes
- [x] No new animation behavior was introduced
Model: GPT-5.6 Sol | Harness: Codex in T3 Code
[!NOTE] Low Risk UI and navigation chrome only on Android mobile; no auth, data, or backend changes.
Overview Android split-view gets thread-list parity with phone: the persistent sidebar shows the T3 Code lockup instead of “Threads”, drops the scroll-linked gradient wash for a solid header, and uses the shared settings control after removing the Android-only header actions module.
The new-task FAB is wired through
AndroidHomeFabLayouton the adaptive sidebar (not only the home route), with extra list bottom padding so rows clear the FAB. Split-view home hides the empty detail pane’s native stack header on Android; leaving split view explicitly turns the compact brand header back on.New thread on Android moves the composer from padding-based
KeyboardAvoidingViewtoKeyboardStickyViewso the toolbar stays above the IME like existing threads.CompactBrandTitlegains optionalallowFontScaling(on for iOS nav titles, off in the sidebar lockup).Reviewed by Cursor Bugbot for commit 9a05d3a04121d84e6458ff1d110f17603a69015b. Bugbot is set up for automated code reviews on this repo. Configure here.
[!NOTE]
Restore Android tablet thread controls and clean up sidebar header
- Restores the Android FAB overlay on the thread navigation sidebar pane in split view, wiring it to navigate to
NewTaskSheetviaAndroidHomeFabLayoutin AdaptiveWorkspaceLayout.tsx.- Replaces the scroll-driven gradient wash header in ThreadNavigationSidebar.tsx with a solid-background
CompactBrandTitleheader; removes the deleted Android-specificSidebarHeaderActionsfile.- Hides the native stack header on Android in split view and explicitly restores it when leaving split view in HomeRouteScreen.tsx.
- Switches the new task composer on Android from
KeyboardAvoidingViewtoKeyboardStickyViewso controls stay anchored to the keyboard.- Adds
allowFontScalingprop toCompactBrandTitle, disabled on Android and enabled on iOS.Macroscope summarized 9a05d3a.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
05a0935f-8aa0-4579-9f9f-c57877b2037aYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- [ ] 🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Approvability
Verdict: Approved at b040b6b
Macroscope's review found this PR approvable — This PR restores Android tablet thread controls (FAB button) and simplifies header styling by removing scroll-based gradient effects. Changes are entirely UI/layout focused with no security, schema, or significant runtime behavior impact.
You can add or adjust custom eligibility rules. Learn more.
I had this same thing happen.
Confirming this also affects the Redmi Pad 2 (Android tablet, 2560x1600, server t3 v0.0.33): in landscape split view there's no New Thread button and no sidebar toggle in the thread header; portrait works fine. This PR would fix the New Thread part for me. Repro + screenshot in #5338 (https://github.com/pingdotgg/t3code/issues/5338#issuecomment-5322652697). Note the branch is currently showing as conflicting with main.

