Repository navigation
fix(terminal): a desktop has no keyboard button under the terminal - #372
Conversation
0.3.44 (#334) showed the key bar on a fine-pointer desktop with only the keyboard button that switches between the input line and direct typing, so a whole bar under the terminal held one button. The bar is hidden on a desktop again, and the button is rendered only on a touch screen, as before. A desktop chooses the input mode in Settings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughDesktop terminals no longer show a one-button key bar. The key-bar direct-typing toggle remains available on touch screens. Desktop users select input modes in Settings, and the regression checks use Settings for desktop mode changes. ChangesTerminal Input Mode
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The desktop and touch control descriptions match the inspected behavior; no issue identified here prevents merging. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Change
0.3.44 (#334) made the input line and direct typing a choice on a desktop too. To offer it there, the key bar was shown on a fine-pointer desktop at 769 px and wider with every key hidden except the keyboard button that switches the two. The result is a full-width bar under the terminal that holds one button, on a device that has a hardware keyboard and never showed that bar before.
KeyBar.css), as it was up to 0.3.43.coarse), as before fix(terminal): preserve IME input, drafts and attachment readiness #334. A desktop window 768 px wide or narrower still shows the key bar, as it always did, without that button.docs/terminal-input.mdand the changelog are updated.Validation
scripts/terminal-input-regression.ts(the desktop step ofui-regression.ts, 1280 wide) switched modes by clicking the removed button. It now switches through the Settings select, and first asserts that.key-baris not visible and that no "Type straight into the terminal" button exists.bun scripts/ui-regression.ts: 45 PASS, exit 0, includingterminal input: desktop mode, …andtouch terminal input line sends whole lines, Enter alone, and yields to direct typing(the touch button). An earlier run of the same code stopped atTimed out: suggestion painted, a step before the terminal input ones that waits on a shellprintfin a test pane; the rerun passed unchanged.bun run typecheck,bun run build: pass.bun run test:unit: 1059 pass, 3 skip.🤖 Generated with Claude Code