Benjamin Carlsson
c5b6bf1f21
Keep the composer responsive while opening new conversations ( #61383 )
...
## What changed
Show an editable draft while starting a new conversation in the TUI, including on another backend. Hand the draft to the conversation when it opens, keeping submission disabled during the transition.
If opening fails, show a failure hint and restore the draft to the current composer. Drain queued input and preserve delayed paste newlines before handing off the draft.
## Testing
Add regression tests for editing before thread startup completes, retaining drafts and consuming queued Enter keys after failure, and preserving multiline raw pastes across handoff.
GitOrigin-RevId: 40540306b4544c485d0dfe76aeda7a4c8b82b19b
2026-11-13 21:52:22 +00:00
..
2026-11-13 18:46:13 +00:00
2026-10-29 17:25:51 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 22:41:50 +00:00
2026-11-13 21:51:53 +00:00
2026-11-13 04:51:06 +00:00
2026-11-13 21:51:53 +00:00
2026-11-13 18:45:02 +00:00
2026-11-10 01:31:19 +00:00
2026-11-13 21:51:53 +00:00
2026-11-10 11:17:06 +00:00
2026-11-07 10:41:36 +00:00
2026-11-02 17:05:56 +00:00
2026-11-04 00:19:12 +00:00
2026-11-07 10:41:36 +00:00
2026-11-13 04:48:28 +00:00
2026-11-05 22:03:29 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 21:03:47 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 05:09:32 +00:00
2026-11-05 05:09:32 +00:00
2026-11-12 16:38:13 +00:00
2026-11-12 16:38:13 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 23:51:52 +00:00
2026-11-13 05:04:45 +00:00
2026-11-13 19:50:06 +00:00
2026-11-13 21:50:24 +00:00
2026-11-10 03:02:25 +00:00
2026-11-13 01:08:55 +00:00
2026-11-07 05:59:44 +00:00
2026-11-13 21:51:53 +00:00
2026-11-12 22:43:14 +00:00
2026-11-13 21:00:04 +00:00
2026-11-12 23:51:52 +00:00
2026-11-03 23:49:01 +00:00
2026-11-13 20:23:24 +00:00
2026-11-13 21:51:53 +00:00
2026-11-13 20:24:37 +00:00
2026-11-13 20:24:37 +00:00
2026-11-13 18:53:14 +00:00
2026-11-05 00:55:46 +00:00
2026-11-13 18:51:00 +00:00
2026-11-12 23:51:52 +00:00
2026-11-13 18:49:57 +00:00
2026-11-11 19:16:19 +00:00
2026-11-06 00:37:27 +00:00
2026-11-10 08:52:35 +00:00
2026-11-10 21:58:49 +00:00
2026-11-13 18:47:46 +00:00
2026-11-13 18:46:13 +00:00
2026-11-10 03:02:25 +00:00
2026-11-13 05:16:33 +00:00
2026-11-12 04:32:34 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 23:53:50 +00:00
2026-11-13 04:36:03 +00:00
2026-11-12 22:41:50 +00:00
2026-11-02 20:34:35 +00:00
2026-11-12 19:43:12 +00:00
2026-11-06 04:24:04 +00:00
2026-11-09 16:37:22 +00:00
2026-11-13 01:43:44 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 23:08:59 +00:00
2026-10-27 16:36:32 +00:00
2026-11-13 00:29:24 +00:00
2026-11-13 21:50:24 +00:00
2026-11-11 18:58:21 +00:00
2026-11-12 04:32:34 +00:00
2026-11-12 21:03:15 +00:00
2026-11-13 20:22:45 +00:00
2026-11-07 10:41:36 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 23:51:52 +00:00
2026-11-04 23:46:52 +00:00
2026-11-12 23:51:52 +00:00
2026-11-06 17:47:31 +00:00
2026-11-13 18:43:58 +00:00
2026-11-13 05:06:18 +00:00
2026-10-30 07:11:56 +00:00
2026-11-13 18:46:45 +00:00
2026-11-13 18:43:58 +00:00
2026-11-11 06:41:15 +00:00
2026-11-13 21:52:22 +00:00
2026-11-12 00:44:27 +00:00
2026-11-13 18:44:31 +00:00
2026-11-13 18:51:30 +00:00
2026-11-12 23:51:52 +00:00
2026-11-12 23:51:52 +00:00
2026-11-03 15:02:57 +00:00
2026-11-12 05:21:30 +00:00
2026-11-13 01:31:24 +00:00
2026-11-12 23:53:50 +00:00
2026-10-28 21:09:05 +00:00
2026-11-13 20:24:37 +00:00
2026-11-13 21:50:24 +00:00
2026-11-13 20:24:37 +00:00
2026-11-12 23:51:52 +00:00