cli/pkg/cmd/issue/view
Kynan Ware 1a2293b6e0 Show Issues 2.0 fields in non-tty view output
Add issue-type, parent, sub-issues, sub-issues-completed, blocked-by,
and blocking lines to the raw issue preview. Empty values still print
to keep line counts stable for head|grep workflows.

Pull the issue-ref formatting into a small set of helpers so the human
and machine renderers share a single owner/repo#N source of truth.
formatLinkedIssueRef no longer takes baseRepo: callers in this package
always have repository.nameWithOwner on the LinkedIssue, so the
disambiguation between same-repo and cross-repo references is no
longer needed and the resulting refs are unambiguous.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-12 14:06:23 -06:00
..
fixtures Fix redundant API call in gh issue view --comments (#12606) 2026-02-09 15:31:55 +05:30
http.go Fix redundant API call in gh issue view --comments (#12606) 2026-02-09 15:31:55 +05:30
view.go Show Issues 2.0 fields in non-tty view output 2026-05-12 14:06:23 -06:00
view_test.go Show Issues 2.0 fields in non-tty view output 2026-05-12 14:06:23 -06:00