sayan-oai
090144e0ec
[codex] Fix hyperlink-aware key-value table rendering ( #24825 )
...
## Why
The key/value markdown table renderer added in #24636 still operates on
`Line` values, while table cells and rendered table output now carry
`HyperlinkLine`. That mismatch breaks `codex-tui` compilation on `main`
and would risk losing semantic web-link annotations if corrected by
flattening the values.
## What changed
- Make key/value record rendering wrap and emit `HyperlinkLine` values
consistently with the existing grid renderer.
- Remap wrapped hyperlink ranges and shift them when value content is
prefixed by record-mode indentation or labels.
- Add focused coverage verifying key/value fallback output preserves
web-link destinations.
## Verification
- `just test -p codex-tui -E
'test(key_value_table_keeps_web_annotations) |
test(/table_renders_(key_value_records_when_compact_fragmentation_is_systemic_snapshot|stacked_key_value_records_when_path_column_becomes_too_narrow_snapshot|records_when_multiple_prose_columns_are_starved_snapshot)/)'`
2026-05-27 15:11:29 -07:00
..
2026-05-27 20:14:55 +00:00
2026-03-28 11:23:07 -06:00
2026-05-27 20:14:55 +00:00
2026-05-27 20:14:55 +00:00
2026-05-05 11:17:47 -07:00
2026-05-27 20:14:55 +00:00
2026-05-15 15:04:04 -07:00
2026-05-27 18:59:17 +00:00
2026-05-27 15:11:29 -07:00
2026-04-21 17:10:36 +00:00
2026-05-27 20:14:55 +00:00
2026-05-18 20:24:09 -03:00
2026-04-07 08:03:35 -07:00
2026-04-30 22:42:48 -07:00
2026-05-11 21:08:40 -03:00
2026-05-27 20:27:55 +00:00
2026-05-27 20:14:55 +00:00
2026-05-27 20:14:55 +00:00
2026-05-26 14:54:38 -03:00
2026-05-15 17:10:15 -07:00
2026-05-27 20:14:55 +00:00
2026-05-20 21:55:21 +00:00
2026-04-30 11:34:34 -07:00
2026-05-26 07:44:04 -07:00
2026-04-30 11:34:34 -07:00
2026-05-26 13:02:34 -07:00
2026-05-27 20:14:55 +00:00
2026-04-30 10:52:19 -07:00
2026-04-13 18:27:00 -07:00
2026-04-10 20:25:31 -07:00
2026-05-07 20:31:41 -07:00
2026-05-04 16:11:15 -03:00
2026-05-27 20:14:55 +00:00
2026-05-14 18:51:36 -07:00
2026-05-05 16:18:02 +00:00
2026-03-28 11:23:07 -06:00
2026-05-13 15:40:37 -07:00
2026-03-28 11:23:07 -06:00
2026-05-25 09:54:05 -07:00
2026-05-13 12:11:15 -03:00
2026-04-25 22:00:32 -03:00
2026-05-22 11:33:44 -07:00
2026-04-30 10:52:19 -07:00
2026-04-30 11:34:34 -07:00
2026-03-28 11:23:07 -06:00
2026-05-14 15:16:15 +02:00
2026-05-09 16:10:56 -03:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-05 17:09:25 -03:00
2026-05-11 21:08:40 -03:00
2026-05-18 11:28:53 -07:00
2026-05-09 21:17:30 +00:00
2026-05-01 09:39:48 -07:00
2026-05-27 20:14:55 +00:00
2026-05-13 15:33:27 +00:00
2026-05-27 18:59:17 +00:00
2026-05-27 18:59:17 +00:00
2026-05-27 20:14:55 +00:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-05-14 17:11:36 -04:00
2026-05-18 11:32:02 -07:00
2026-05-27 20:27:55 +00:00
2026-05-27 15:11:29 -07:00
2026-05-27 16:18:24 -03:00
2026-05-27 20:14:55 +00:00
2026-04-19 22:39:53 -07:00
2026-04-29 17:22:41 -07:00
2026-04-25 22:00:32 -03:00
2026-05-01 09:07:56 -07:00
2026-05-26 20:59:47 -07:00
2026-04-25 17:09:29 -07:00
2026-05-25 09:53:39 -07:00
2026-05-27 20:14:55 +00:00
2026-05-15 17:10:15 -07:00
2026-04-25 22:00:32 -03:00
2026-05-26 20:59:47 -07:00
2026-03-28 11:23:07 -06:00
2026-05-20 15:57:50 -07:00
2026-05-22 17:19:51 +00:00
2026-05-04 11:46:03 -07:00
2026-05-20 11:05:14 -07:00
2026-03-28 11:23:07 -06:00
2026-04-20 20:46:55 -07:00
2026-05-20 15:49:35 +00:00
2026-05-14 18:51:36 -07:00
2026-05-25 09:44:21 -07:00
2026-05-27 18:59:17 +00:00
2026-05-27 16:18:24 -03:00
2026-05-10 20:42:11 +00:00
2026-05-27 20:14:55 +00:00
2026-05-18 09:04:02 -07:00
2026-05-18 09:04:02 -07:00
2026-04-17 08:39:37 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-05-26 20:59:47 -07:00
2026-05-26 20:59:47 -07:00
2026-05-08 07:56:13 -07:00
2026-04-20 00:37:40 +00:00
2026-04-25 22:00:32 -03:00
2026-05-27 20:14:55 +00:00
2026-03-28 11:23:07 -06:00
2026-05-27 16:45:10 +00:00
2026-05-27 20:14:55 +00:00
2026-04-25 17:09:29 -07:00
2026-04-25 17:09:29 -07:00
2026-03-28 11:23:07 -06:00
2026-04-30 11:34:34 -07:00
2026-04-25 22:00:32 -03:00
2026-05-05 17:09:25 -03:00
2026-05-13 14:19:05 -07:00