Skip to content

fix(logbook): stop the keyboard title-casing a flight's name and launch - #220

Merged
aeharding merged 1 commit into
mainfrom
fix/no-word-autocapitalize
Aug 9, 2026
Merged

fix(logbook): stop the keyboard title-casing a flight's name and launch#220
aeharding merged 1 commit into
mainfrom
fix/no-word-autocapitalize

Conversation

@aeharding

Copy link
Copy Markdown
Owner

The Name and Launch fields carried autocapitalize="words", so iOS
capitalized every word as the pilot typed: "south field, second lap"
came out "South Field, Second Lap". Those fields are prose, not titles.
Now sentences (capitalize the first letter, leave the rest alone).
Notes was already sentences.

Two copies of the same form had to change: FlightFields (detail page +
the sheet a landing raises) and the desktop FlightSeat, which
duplicates the fields rather than importing them. Unifying them is a
separate cleanup.

Test

Gates green locally: tsc, eslint --max-warnings 0, format:check,
check:css, vitest (456), playwright (100 passed; first-paint.spec
needs a pnpm build first in a fresh worktree, green after).

Attribute-only change; the effect is the iOS keyboard's shift state, so
the real check is on device: type a lowercase two-word launch and see it
stay lowercase.

autocapitalize="words" made iOS capitalize every word a pilot typed, so
"south field, second lap" came out "South Field, Second Lap". Names and
launches are prose, not titles: sentences capitalizes the first letter
and leaves the rest to the pilot.

Both copies of the fields change: FlightFields (detail page + the sheet a
landing raises) and the desktop FlightSeat, which duplicates them.
@aeharding
aeharding merged commit db060fb into main Aug 9, 2026
6 of 7 checks passed
@aeharding
aeharding deleted the fix/no-word-autocapitalize branch August 9, 2026 14:50
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