Skip to content

Disable autocapitalization in mobile terminal composer - #6647

Merged
saddlepaddle merged 1 commit into
mainfrom
mobile-composer-caps
Aug 19, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
mobile-composer-caps

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add an optional SwiftUI textInputAutocapitalization override to the shared mobile GlassComposer
  • Set terminal composers to never so mobile terminal prompts do not auto-capitalize by default
  • Leave the home composer unchanged so it keeps the platform default capitalization behavior

Validation

  • bun run --cwd apps/mobile lint
  • git diff --check
  • bun run --cwd apps/mobile typecheck still has existing unrelated mobile/shared type errors; no diagnostics mention GlassComposer, TerminalComposer, or textInputAutocapitalization
  • Loaded this branch in the iOS simulator through Metro on port 8092; terminal journey was blocked by the current org's Pro gate before reaching workspace terminals

Summary by cubic

Disables autocapitalization in the mobile terminal composer to avoid unintended capital letters in commands. Previously terminal input followed the platform default; now terminal uses “never,” while the home composer and others keep platform defaults.

  • Adds optional textInputAutocapitalization prop to GlassComposer, passed to SwiftUI’s textInputAutocapitalization modifier from @expo/ui/swift-ui/modifiers when provided.
  • Sets textInputAutocapitalization="never" in TerminalComposer.
  • No migration required; existing composers are unchanged unless the new prop is set.

Written for commit c89cac2. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • New Features

    • Added configurable text autocapitalization for composer text fields.
    • Terminal input now keeps capitalization unchanged, improving command entry and preventing unintended uppercase characters.
  • Bug Fixes

    • Improved text-entry behavior by ensuring terminal commands are entered exactly as typed.

@saddlepaddle
saddlepaddle merged commit 62b0f68 into main Aug 19, 2026
12 of 14 checks passed
@coderabbitai

coderabbitai Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fd81ed7a-fe05-4606-962e-aa56951defd4

📥 Commits

Reviewing files that changed from the base of the PR and between e483672 and c89cac2.

📒 Files selected for processing (2)
  • apps/mobile/screens/(authenticated)/components/GlassComposer/GlassComposer.tsx
  • apps/mobile/screens/(authenticated)/workspace/[id]/components/TerminalComposer/TerminalComposer.tsx

📝 Walkthrough

Walkthrough

GlassComposer now supports an optional text autocapitalization setting. TerminalComposer uses this setting to disable automatic capitalization for terminal input.

Changes

Composer autocapitalization

Layer / File(s) Summary
GlassComposer autocapitalization API
apps/mobile/screens/(authenticated)/components/GlassComposer/GlassComposer.tsx
GlassComposerProps now includes an optional autocapitalization setting. GlassComposer applies the SwiftUI modifier only when a value is provided.
TerminalComposer input setting
apps/mobile/screens/(authenticated)/workspace/[id]/components/TerminalComposer/TerminalComposer.tsx
TerminalComposer sets autocapitalization to never for terminal input.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mobile-composer-caps

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.

❤️ Share

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

@github-actions

github-actions Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) ✅ View Branch
Vercel API (Vercel) ✅ Open Preview
Vercel Web (Vercel) ✅ Open Preview
Vercel Marketing (Vercel) ✅ Open Preview
Vercel Admin (Vercel) ✅ Open Preview
Vercel Docs (Vercel) ✅ Open Preview

Preview updates automatically with new commits

This branch was previously deployed

1 inactive deployment
preview — c89cac27 Deployed Aug 19, 2026 by saddlepaddle via Deploy Marketing #8090
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