Ian MacLeod
c126b0d8ef
Add inline Other answers to async question choices ( #42897 )
...
## Why
Async questions with suggested choices only accepted those choices. Allow users to write an alternative answer directly in the question pane.
## What changed
- Append an editable Other choice. Typing or pasting opens it, while number shortcuts still submit named choices.
- Preserve custom drafts when switching choices, reject blank Other submissions, and distinguish the input from a suggested choice named Other.
- Support Vim editing and search in question inputs while keeping arrow keys available for choice navigation.
- Wrap custom answers inline, cap the editor height, and keep the input visible in narrow layouts.
## Testing
Add interaction tests and snapshots covering custom answer delivery, draft preservation, selector key repeats, blank answers, remapped shortcuts, Vim editing and search, and narrow or wrapped layouts.
GitOrigin-RevId: 0e9aa9fcd2410e8da25f5ca43bdef94cbb9253b8
2026-09-05 00:49:07 +00:00
..
2026-09-04 21:17:25 +00:00
2026-09-02 04:06:44 +00:00
2026-09-04 15:58:02 +00:00
2026-08-31 00:20:06 +00:00
2026-09-05 00:49:07 +00:00
2026-09-05 00:49:07 +00:00
2026-08-30 13:42:42 +00:00
2026-08-31 18:34:10 +00:00
2026-08-25 20:51:34 +00:00
2026-09-04 03:30:21 +00:00
2026-08-17 16:34:21 +00:00
2026-08-29 06:05:28 +00:00
2026-09-04 23:56:25 +00:00
2026-09-05 00:15:42 +00:00
2026-09-04 01:46:55 +00:00
2026-09-02 04:20:38 +00:00
2026-09-01 00:12:22 +00:00
2026-08-17 16:58:24 +00:00
2026-09-03 01:46:37 +00:00
2026-08-17 19:59:22 +00:00
2026-08-14 16:33:28 +00:00
2026-09-05 00:15:42 +00:00
2026-09-04 02:24:54 +00:00
2026-09-02 18:03:55 +00:00
2026-09-04 01:46:55 +00:00
2026-08-24 20:04:52 +00:00
2026-08-25 12:20:41 +00:00
2026-09-02 18:34:27 +00:00
2026-09-03 16:21:10 +00:00
2026-09-02 04:06:44 +00:00
2026-09-03 05:15:20 +00:00
2026-09-04 20:38:08 +00:00
2026-07-22 23:45:45 +00:00
2026-09-03 01:26:35 +00:00
2026-09-04 21:17:25 +00:00
2026-09-04 12:20:57 +00:00
2026-08-26 21:39:05 +00:00
2026-09-04 01:46:55 +00:00
2026-09-04 01:46:55 +00:00
2026-09-04 19:56:31 +00:00
2026-08-31 00:20:06 +00:00
2026-09-02 21:50:51 +00:00
2026-08-04 16:53:33 +00:00
2026-09-05 00:15:42 +00:00
2026-08-18 00:31:51 +00:00
2026-09-04 20:38:08 +00:00
2026-09-04 20:38:08 +00:00
2026-09-04 20:38:08 +00:00
2026-09-03 00:45:48 +00:00
2026-08-20 06:57:00 +00:00
2026-08-17 21:06:34 +00:00
2026-09-04 00:39:56 +00:00
2026-09-02 04:20:38 +00:00
2026-09-03 01:26:35 +00:00
2026-09-04 03:30:21 +00:00
2026-09-04 03:30:21 +00:00
2026-09-03 02:09:10 +00:00
2026-09-01 17:37:47 +00:00
2026-08-31 21:36:49 +00:00
2026-09-02 04:20:38 +00:00
2026-09-03 06:02:25 +00:00
2026-09-04 04:55:40 +00:00
2026-09-04 04:55:40 +00:00
2026-09-03 16:21:10 +00:00
2026-09-03 16:21:10 +00:00
2026-08-04 16:53:33 +00:00
2026-09-04 00:31:51 +00:00
2026-07-29 03:50:00 +00:00
2026-08-13 04:08:23 +00:00
2026-09-03 16:21:10 +00:00
2026-08-24 20:04:52 +00:00
2026-09-04 23:56:25 +00:00
2026-09-05 00:15:42 +00:00
2026-09-05 00:15:42 +00:00
2026-09-04 20:38:08 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-08-24 21:39:48 +00:00
2026-09-04 20:18:13 +00:00
2026-09-04 23:56:25 +00:00
2026-08-25 18:27:42 +00:00
2026-09-04 00:31:51 +00:00
2026-09-04 01:46:55 +00:00
2026-07-19 16:50:54 +00:00
2026-09-04 20:38:08 +00:00
2026-08-27 23:10:10 +00:00
2026-09-03 00:45:48 +00:00
2026-08-25 20:51:34 +00:00
2026-08-17 17:10:16 +00:00
2026-08-25 10:17:03 +00:00
2026-08-05 20:44:03 +00:00
2026-09-03 06:02:25 +00:00
2026-08-14 20:30:30 +00:00
2026-09-03 01:51:14 +00:00
2026-09-03 05:24:31 +00:00
2026-09-03 05:24:31 +00:00
2026-09-02 22:45:19 +00:00
2026-09-02 22:45:19 +00:00
2026-09-04 21:17:25 +00:00
2026-07-29 13:53:15 +00:00
2026-09-02 04:20:38 +00:00
2026-08-19 02:45:45 +00:00
2026-09-03 01:26:35 +00:00
2026-09-04 20:38:08 +00:00
2026-08-25 17:17:01 +00:00
2026-08-17 22:44:37 +00:00
2026-08-19 02:45:45 +00:00
2026-08-14 20:59:34 +00:00
2026-08-20 07:25:40 +00:00
2026-09-02 04:20:38 +00:00
2026-08-17 17:10:16 +00:00
2026-07-20 15:44:37 +00:00
2026-08-25 21:03:11 +00:00
2026-08-16 05:59:34 +00:00
2026-09-02 04:20:38 +00:00
2026-09-02 04:20:38 +00:00
2026-09-04 10:12:03 +00:00
2026-08-14 20:38:52 +00:00
2026-08-14 20:38:52 +00:00
2026-09-02 18:03:55 +00:00
2026-08-22 05:54:43 +00:00
2026-08-24 02:46:56 +00:00
2026-09-03 06:02:25 +00:00
2026-09-02 02:09:35 +00:00
2026-09-02 23:37:39 +00:00
2026-08-25 22:05:48 +00:00
2026-08-25 22:05:48 +00:00
2026-08-25 12:20:41 +00:00
2026-08-25 12:20:41 +00:00
2026-08-13 00:30:08 +00:00
2026-07-29 14:01:31 +00:00
2026-09-02 04:20:38 +00:00
2026-08-29 06:05:28 +00:00
2026-08-04 19:05:45 +00:00
2026-08-15 17:30:13 +00:00
2026-09-04 00:39:56 +00:00
2026-08-20 07:25:40 +00:00
2026-08-25 20:51:34 +00:00
2026-09-01 15:12:53 +00:00
2026-08-25 20:51:34 +00:00
2026-09-01 15:12:53 +00:00
2026-08-30 00:42:00 +00:00
2026-07-29 14:01:31 +00:00
2026-09-02 16:49:45 +00:00
2026-07-29 14:01:31 +00:00