Opening the new-event form now puts the cursor in the title field and raises the keyboard, so the user can type the name straight away instead of tapping the field first (issue #10). On by default — most events get a title — with a new "Focus title on new event" switch in Settings → New event form to turn it off. Only the create form auto-focuses: editing an existing event and opening a prefilled/imported form never grab focus (guarded by !isEditing && title blank). - SettingsPrefs: autofocusEventTitle (booleanPreferencesKey), default true. - Plumbed through SettingsViewModel/UiState (settings switch) and EventEditViewModel/UiState (read by the form). - EventEditScreen: a FocusRequester on the title InlineField, requested once per open from a LaunchedEffect when the guard holds. - Strings (en + de), unit test for the new pref default/round-trip. Bumps to 2.11.2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6.5 KiB
6.5 KiB