fix(chat): Return breaks lines on phones and align the activity line

On Android and iOS the keyboard's Return now inserts a newline and the
Send button sends; desktop keeps Enter to send. The Material activity
line drops TextButton's inset so it starts at the answer's edge now that
replies have no bubble.
This commit is contained in:
2026-10-30 20:07:27 +00:00
parent 027c2f800e
commit 44b2cff347
9 changed files with 349 additions and 174 deletions
+9
View File
@@ -30,3 +30,12 @@ Branch `chat/chatgpt-look`.
expand for details" activity label) fail on checks that predate this change.
The message probe's semantics dump does show the new `Copy` control.
- Not verified on a device.
## Follow-up: phone newline and activity alignment
- On Android and iOS (`chatEnterSends`), the keyboard's Return inserts a line
break (`TextInputAction.newline`) and Send sends; Ctrl/Cmd+Enter still sends.
Desktop keeps Enter to send and Shift+Enter for a newline. Desktop keyboard
tests run under `TargetPlatformVariant.only(TargetPlatform.linux)`.
- The Material activity line ("Ran 1 command ›") had TextButton's 12px inset,
which used to match the bubble padding; it now starts at the answer's edge.