d880a08c
Show fixes link, labels, and assignees in TUI dashboard
a73x 2026-03-21 08:01
Patch detail view now displays the "Fixes: <issue-id>" link when a patch references an issue. Issue detail view now shows labels and assignees when present. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
diff --git a/src/tui.rs b/src/tui.rs index 789777e..013a4e8 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -471,6 +471,20 @@ fn build_issue_detail(issue: &IssueState) -> Text<'static> { ]), ]; if !issue.labels.is_empty() { lines.push(Line::from(vec![ Span::styled("Labels: ", Style::default().fg(Color::DarkGray)), Span::raw(issue.labels.join(", ")), ])); } if !issue.assignees.is_empty() { lines.push(Line::from(vec![ Span::styled("Assign: ", Style::default().fg(Color::DarkGray)), Span::raw(issue.assignees.join(", ")), ])); } if let Some(ref reason) = issue.close_reason { lines.push(Line::from(vec![ Span::styled("Closed: ", Style::default().fg(Color::Red)), @@ -556,6 +570,16 @@ fn build_patch_detail(patch: &PatchState) -> Text<'static> { ]), ]; if let Some(ref fixes) = patch.fixes { lines.push(Line::from(vec![ Span::styled("Fixes: ", Style::default().fg(Color::DarkGray)), Span::styled( format!("{:.8}", fixes), Style::default().fg(Color::Yellow), ), ])); } if !patch.body.is_empty() { lines.push(Line::raw("")); for l in patch.body.lines() {