Files
buzz/mobile/test
Tom Brow 38a5d9a1ff mobile: tap the settings version footer to copy it (#9021)
## Summary

The version line at the bottom of mobile Settings (for example `v0.27.0
(36)`) couldn't be copied, which made it awkward to paste into bug
reports. Tapping it now copies the whole string and shows a "Version
copied" toast, matching the existing "Copy public key" row. It's
keyboard-focusable and has a 48dp tap target. Partial selection isn't
supported; it's whole-string only.

![Settings after tapping the version: a Version copied
toast](https://github.com/user-attachments/assets/007a10ed-61e5-47a2-b0a3-1f09f522e565)

### Related issue

N/A

### Validation

- Added test: tapping the footer, or reaching it with Tab and pressing
Enter, puts `v0.16.0 (432)` on the clipboard and shows the toast. The
test also checks that the tap target is at least 48dp tall.
- `just mobile-check` and `just mobile-test` pass.
- Automated simulator run (debug build, iOS 27): opened Settings, tapped
the version, confirmed via `simctl pbpaste` that the clipboard held the
exact footer text and the toast appeared; then confirmed the neighboring
"Copy public key" row still copies the npub and Settings still closes.
Human testing waived per the mobile testing exception. A full recording
was posted in Buzz instead of here because it shows internal channel
names.

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



buzz-review-completed

---------

Signed-off-by: Tom Brow <tomb@squareup.com>
Co-authored-by: Tom Brow <tomb@squareup.com>
Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@buzz.block.builderlab.xyz>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:39:44 -08:00
..