Skip to content

feat(mobile): add standalone Shift key to shortcut bar - #30024

Open
innocarpe wants to merge 1 commit into
stablyai:mainfrom
innocarpe:orca-ios-shift-shortcut-20261017
Open

innocarpe wants to merge 1 commit into
stablyai:mainfrom
innocarpe:orca-ios-shift-shortcut-20261017

Conversation

@innocarpe

Copy link
Copy Markdown
Contributor

ELI5

The mobile terminal shortcut bar can send Shift+Tab, but not Shift by itself. This adds a Shift key for terminal apps with modifier-only shortcuts.

What Changed

  • Adds a built-in Shift key beside Shift+Tab.
  • Sends a Kitty keyboard protocol Left Shift press and release event pair.
  • The existing settings screen exposes the new key through its visibility toggle and drag-to-reorder list.

Why

Codex's follow-up question shortcut now uses Shift. iPhone users without a hardware keyboard need a tap target that sends this modifier event. The built-in key uses the existing shortcut bar and settings flow.

Linked Issue

Fixes #30023

Visual Proof

Not captured. The new key uses the existing settings-row and shortcut-bar components; no iOS app or simulator was launched for this change.

Testing

  • git diff --check passed.
  • Automated tests, iOS simulator runs, and manual interaction checks were not run.

AI Disclosure

OpenAI Codex (GPT-6) assisted with this change.

Review

The change is limited to the built-in key list consumed by the existing settings and bar. The sequence sends Kitty LEFT_SHIFT (57441) press with Shift active, then its release. Modifier-only events require the focused terminal app to enable the Kitty keyboard protocol.

Agent skill upstream boundary

  • Not applicable; this change copies or mechanically translates no upstream skill-installer material.

Notes

The key list is shared by mobile platforms. No desktop host, RPC, or remote transport behavior changes in this patch; the encoded Shift event depends on terminal-app protocol support.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • Before/after screenshots or videos attached for UI changes
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass locally or CI will cover

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

We couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting @coderabbitai full review.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7ce53db6-1fe5-4dc5-aa3a-9fa68c073fd9
📥 Commits

Reviewing files that changed from the base of the PR and between fa962dd and f8a25ceaf72a2a5b1d3f95edca663b321ba29fd2.

📒 Files selected for processing: 1
  • mobile/src/terminal/terminal-key-definitions.ts

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

📝 Walkthrough

The terminal accessory key definitions now include a standalone Shift key. Its visible and accessibility labels are “Shift.” Its byte sequence sends Kitty keyboard protocol Shift press and release events.

Priority: ⬇️ Low

Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to f8a25

The new Shift key is available in settings and the terminal dock for apps supporting the Kitty keyboard protocol. No actionable merge-blocking risk is established; automated tests and iOS interaction checks were not run.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: adding a standalone Shift key to the mobile shortcut bar.
Description check Passed The description covers the change, rationale, linked issue, implementation details, limitations, and testing status. It is mostly complete, but it lacks required visual proof and does not use the temp…
Linked Issues check Passed Issue #30023 requires a built-in standalone Shift key in the configurable mobile terminal shortcut bar. The change adds id: 'shift' with label and accessibility label Shift. Its bytes send Kitty L…
Out of Scope Changes check Passed The reviewed change adds only the standalone Shift definition in mobile/src/terminal/terminal-key-definitions.ts. The change supports the linked issue and does not add unrelated desktop, RPC, remote…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Full details: Description check

Explanation

The description covers the change, rationale, linked issue, implementation details, limitations, and testing status. It is mostly complete, but it lacks required visual proof and does not use the template's exact N/A format when explaining why proof was not captured.

Full details: Linked Issues check

Explanation

Issue #30023 requires a built-in standalone Shift key in the configurable mobile terminal shortcut bar. The change adds id: 'shift' with label and accessibility label Shift. Its bytes send Kitty Left Shift key code 57441 as a press and release pair. The PR summary states that the shared key list already supplies visibility toggling and drag-to-reorder behavior through the existing settings flow. No unmet coding requirement remains.

Full details: Out of Scope Changes check

Explanation

The reviewed change adds only the standalone Shift definition in mobile/src/terminal/terminal-key-definitions.ts. The change supports the linked issue and does not add unrelated desktop, RPC, remote transport, or other feature behavior.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@innocarpe
innocarpe force-pushed the orca-ios-shift-shortcut-20261017 branch 3 times, most recently from 5400df2 to 1b7179a Compare October 22, 2026 00:00

This branch has not been deployed

No deployments
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.

[Feature]: Add a standalone Shift key to the mobile terminal shortcut bar

1 participant