Skip to content

fix(mobile): keep the new thread composer in place - #1052

Merged
nixuuu merged 1 commit into
devfrom
fix/prevent-composer-layout-shift
Nov 20, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/prevent-composer-layout-shift

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 20, 2026

Copy link
Copy Markdown
Member

Change

Reserve one row under the native New thread composer for the worktree and branch controls. Delayed Git discovery fills the row in place, keeping the heading and message field steady. Long labels truncate on one line.

Verification

  • On an Android 16 emulator with deliberately delayed Git refs, the heading and message field moved 0 px. Checked light mode at 411 dp and dark mode at 300 and 411 dp, including system text scaled to 150% and 200% and a non-Git workspace.
  • Selected a base branch and an existing worktree through their pickers. Long worktree and branch names stayed on one line at 300 dp. The worker and model labels elsewhere in the composer clipped at 300 dp with 150% text.
  • The copy audit (§8) covered the removal of the standalone “Manage projects” shortcut from New thread. Project management is available in Settings → Projects.
  • The mobile typecheck, lint on both edited files, and git diff --check passed locally. Repository-wide checks are left to CI. iOS verification remains open.

Fixes: #238

@nixuuu
nixuuu enabled auto-merge (squash) November 20, 2026 09:56
@nixuuu
nixuuu merged commit 2f89910 into dev Nov 20, 2026
8 checks passed
@nixuuu
nixuuu deleted the fix/prevent-composer-layout-shift branch November 20, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant