Felipe Coury
1544ffc79d
Add configuration support for TUI input presets ( #54379 )
...
## What changed
Add `tui.presets` entries keyed by a single digit from `0` to `9`, each with an `input` prompt or slash command and an optional `label`. Expose presets in the configuration schema, load them into runtime configuration, and preserve them in TUI local settings.
Reject invalid slots, blank inputs, shell commands beginning with `!` after leading whitespace, and inputs exceeding 8,000 UTF-8 bytes.
## Testing
Extend the runtime configuration test to verify loading both a slash command with a label and a prompt without one.
GitOrigin-RevId: d2911e540bc50f05b4a5224abf17ce4ef5a18ea3
2026-10-15 19:01:43 +00:00
..
2026-10-08 22:27:00 +00:00
2026-10-05 22:52:14 +00:00
2026-10-02 23:26:27 +00:00
2026-09-03 02:09:10 +00:00
2026-09-03 02:09:10 +00:00
2026-08-05 18:09:26 +00:00
2026-09-09 03:17:48 +00:00
2026-10-05 22:52:14 +00:00
2026-10-05 22:52:14 +00:00
2026-08-21 21:41:55 +00:00
2026-08-21 21:41:55 +00:00
2026-10-06 03:35:55 +00:00
2026-10-06 03:35:55 +00:00
2026-08-03 17:29:42 +00:00
2026-06-02 13:18:59 -07:00
2026-09-04 10:12:03 +00:00
2026-08-21 21:41:55 +00:00
2026-08-21 21:41:55 +00:00
2026-08-10 11:22:55 +00:00
2026-10-08 17:48:32 +00:00
2026-10-08 21:18:24 +00:00
2026-08-07 23:43:14 +00:00
2026-08-10 11:22:55 +00:00
2026-09-10 23:08:23 +00:00
2026-09-29 16:10:27 +00:00
2026-09-29 16:10:27 +00:00
2026-09-16 14:56:47 +00:00
2026-09-16 14:56:47 +00:00
2026-08-28 23:03:05 +00:00
2026-08-09 00:57:15 +00:00
2026-08-20 20:08:11 +00:00
2026-08-20 14:13:56 +00:00
2026-08-20 14:13:56 +00:00
2026-10-02 16:37:30 +00:00
2026-10-05 22:52:14 +00:00
2026-08-20 05:24:56 +00:00
2026-07-31 16:28:22 +00:00
2026-09-29 14:46:33 +00:00
2026-09-29 14:46:33 +00:00
2026-09-24 20:39:37 +00:00
2026-08-17 16:20:52 +00:00
2026-09-24 20:39:37 +00:00
2026-09-29 13:08:37 +00:00
2026-09-24 18:09:23 +00:00
2026-09-24 18:09:23 +00:00
2026-09-10 21:41:39 +00:00
2026-09-10 21:41:39 +00:00
2026-08-24 19:52:27 +00:00
2026-09-11 00:03:40 +00:00
2026-09-11 00:03:40 +00:00
2026-09-19 00:00:01 +00:00
2026-04-30 14:26:14 -07:00
2026-10-08 16:27:10 +00:00
2026-03-25 12:57:42 -07:00
2026-09-24 19:44:50 +00:00
2026-09-24 19:44:50 +00:00
2026-08-16 20:27:05 +00:00
2026-10-13 07:32:21 +00:00
2026-07-21 18:23:26 +00:00
2026-07-21 18:23:26 +00:00
2026-10-06 21:29:35 +00:00
2026-10-06 21:29:35 +00:00
2026-09-09 17:45:17 +00:00
2026-09-29 13:58:09 +00:00
2026-10-03 05:16:04 +00:00
2026-10-03 05:16:04 +00:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-10-02 23:26:27 +00:00
2026-09-20 16:16:46 +00:00
2026-10-01 06:59:13 +00:00
2026-10-13 19:55:22 +00:00
2026-10-02 06:50:10 +00:00
2026-09-22 16:34:07 +00:00
2026-10-08 18:42:58 +00:00
2026-10-15 19:01:43 +00:00