Files
buzz/mobile/test/features/search
Tom Brow 6793cbd25b fix(mobile): focus the search field when search opens (#9120)
Opening search from Home now focuses the search field, so the keyboard
comes up right away and you can start typing without tapping the field
first. This applies when `SearchPage` opens as its own route; the
embedded variant is unchanged. Closing with X and reopening works as
before (the previous query is kept and the field is focused again).

### Validation

- Extended the existing open-and-close journey in
`search_page_test.dart`: it now opens search without tapping the field
and asserts the field has focus and the keyboard is shown. The step
fails with the production change reverted.
- Full mobile test suite and checks passed in the pre-push hook.
- Automated run on an iOS 27 simulator (iPhone 17 Pro) signed in to a
real community: opened search from Home (keyboard up, caret in the
field), typed a query and got channel and message results, closed with
X, reopened (keyboard up again). The recording contains internal
community content, so it was shared internally rather than here.
- Human testing waived under the author's standing exception; the
automated simulator run above covers it.

buzz-review-completed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Tom Brow <tomb@squareup.com>
Co-authored-by: Tom Brow <tomb@squareup.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:49:48 -08:00
..