Skip to content

fix(staged): let mobile keyboards auto-capitalize the new project name - #1008

Merged
matt2e merged 1 commit into
mainfrom
capitalise-title
Nov 1, 2026
Merged

matt2e merged 1 commit into
mainfrom
capitalise-title

Conversation

@matt2e

@matt2e matt2e commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

On iPhone, typing a project name in the New Project form never capitalized the first letter, unlike other text fields in the app.

The Name input in NewProjectForm.svelte set autocapitalize="off" (added alongside the autocorrect/spellcheck opt-outs), which tells iOS and Android keyboards to suppress auto-capitalization entirely. This switches it to autocapitalize="sentences" so the native keyboard capitalizes the first letter of the title.

  • The value is not transformed in JS; this only affects the native keyboard behaviour.
  • autocorrect and spellcheck stay off since the field also accepts pasted GitHub URLs.
  • Other fields that legitimately disable autocapitalize (branch picker, subpath, repo search, action commands) are unchanged.

Test plan

  • On iOS, open New Project and start typing a name: the first letter should be capitalized by the keyboard.
  • Paste a GitHub URL into the Name field and confirm it is still recognized and not autocorrected.

🤖 Generated with Claude Code

On iPhone, typing a project name in the New Project form never
capitalized the first letter, unlike other text fields in the app.

Root cause: the Name input in NewProjectForm.svelte explicitly set
autocapitalize="off" (added alongside autocorrect/spellcheck opt-outs in
the UI polish pass), which tells iOS and Android keyboards to suppress
auto-capitalization entirely. The shared Input component adds no such
attribute, so the suppression was local to this one field.

Switch the attribute to autocapitalize="sentences" so the native
keyboard capitalizes the first letter of the title. The value is not
touched in JS; autocorrect and spellcheck stay off since the field also
accepts pasted GitHub URLs. Other fields that legitimately disable
autocapitalize (branch picker, subpath, repo search, action commands)
are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T00:47:19.395788Z 041eb39 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@matt2e
matt2e merged commit bb3cbbd into main Nov 1, 2026
4 checks passed
@matt2e
matt2e deleted the capitalise-title branch November 1, 2026 03:06
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