Repository navigation
Put the phone input bar in flow below the output - #437
Closed
IvoryHeart wants to merge 1 commit into
Closed
IvoryHeart wants to merge 1 commit into
IvoryHeart wants to merge 1 commit into
Conversation
On phones, the floating Type button sat over the bottom-right of the terminal output and opened the dock without the keyboard. It becomes a messaging-style bar in the terminal's layout, below the output: a full- width Message field opens Composer with its draft focused, so one tap raises the keyboard, and a terminal button beside it opens Direct. The bar never covers output, names an unsent draft (Continue draft...), and during a long-press selection it stays hidden but keeps its height, so xterm does not resize and drop the selection. Its targets are 48px and scale with the UI. The other floating controls are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AWodzpMyqdBcX25EE9HhDG
IvoryHeart
force-pushed
the
mobile-input-bar
branch
from
October 16, 2026 21:11
7fc6313 to
af247e1
Compare
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Part of #435.
Summary
On phones, the floating Type button sits over the bottom-right of the terminal output and opens the dock without raising the keyboard. This PR replaces it with a messaging-style input bar placed in the terminal's layout, below the output:
.terminal-mainbecomes a column on phones, so the bar never covers terminal text.data-reserved,visibility: hidden). Without that, xterm resizes and the selection is lost.--ui-scale, like the existing touch targets.App.tsxloses the floating Type button and the draft state that only it used.mobile-nav.cssloses its styles. The initial JS shrinks to 801.0/802 KiB.FEATURES.mddescribes the bar.Relation to the other open PRs: #436 makes the existing Type button one-tap, while this PR replaces that button with the bar (which is one-tap too), so the two are alternatives for that button. #433 (system Back) is independent; the dock this bar opens is one of its layers.
Tests
TerminalView.inputMode.test.ts, new test "the phone input bar opens Composer with its draft focused, or Direct". It checks:Validation
bun run format:check,bun run lint,bun run typecheckandbun run typecheck:bunpass.bun run test:quick: 3719 pass, 0 fail.🤖 Generated with Claude Code
https://claude.ai/code/session_01AWodzpMyqdBcX25EE9HhDG