From 68b0156faaba66749ada8d1aad4fb252ca0075c1 Mon Sep 17 00:00:00 2001 From: Hare Date: Mon, 8 Jun 2026 22:26:28 +0900 Subject: [PATCH] ticket: record tui table rendering implementation --- .../item.md | 2 +- .../thread.md | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/item.md b/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/item.md index 415f04b2..381c94fb 100644 --- a/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/item.md +++ b/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/item.md @@ -8,7 +8,7 @@ priority: 'P2' labels: ['tui', 'chat', 'markdown', 'rendering', 'ux'] workflow_state: 'inprogress' created_at: '2026-06-08T10:31:33Z' -updated_at: '2026-06-08T13:16:57Z' +updated_at: '2026-06-08T13:26:21Z' assignee: null risk_flags: ['tui-rendering', 'markdown'] queued_by: 'workspace-panel' diff --git a/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/thread.md b/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/thread.md index 2b4f8cf4..daa658f9 100644 --- a/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/thread.md +++ b/.yoi/tickets/open/20260608-103133-tui-chat-markdown-table-rendering/thread.md @@ -102,3 +102,31 @@ Spawned sibling Coder Pod: Note: an unrelated Ticket record update (`tui-composer-history-persistence` ready state) and project known-issues/objective records were committed before routing so the main workspace was clean enough for implementation side effects. --- + + + +## Implementation report + +Coder implementation completed and is ready for sibling review. + +Coder Pod: +- `coder-tui-chat-markdown-table-rendering` +- Commit: `f767ec7a5945aff588fe0b8ce224b30efe4c2a85 tui: render markdown pipe tables in chat` +- Worktree status before review: clean branch `tui-chat-markdown-table-rendering` +- Stopped after collecting output to reclaim delegated worktree scope. + +Implementation summary: +- Adds `pulldown-cmark` table event handling to `crates/tui/src/markdown.rs`. +- Enables `Options::ENABLE_TABLES` in the TUI chat Markdown renderer. +- Converts ordinary Markdown pipe tables into readable monospace rows with box separators and alignment-aware padding. +- Keeps changes in the rendering layer only; no Pod/session/history/context storage changes. +- Adds focused tests for readable table rendering, malformed/ragged/wide safety, and non-table pipe text regression. + +Coder-reported validation: +- `cargo test -p tui markdown -- --nocapture` -> 17 passed +- `cargo fmt --check` -> OK +- `git diff --check` -> OK +- `cargo check --workspace` -> OK +- `nix build .#yoi` -> OK + +---