cli/pkg/cmd/issue/view
Kynan Ware c00bc6a9b4 fix: address code review findings from multi-model review
Critical fixes:
- GHES data-flow regression: blockedBy/blocking fields now
  conditionally added to view lookupFields only when
  IssueRelationshipsSupported is true (GHES 3.19+). Previously
  would break gh issue view on GHES 3.17-3.18.
- State line separator: restore original bullet (•) to avoid
  breaking downstream parsers. Issue type prefix uses middle dot (·).

Optimizations:
- Batch edit --type: resolve issueTypeID once before the loop
  instead of per-goroutine (eliminates N-1 redundant API calls)
- Parent removal: include id in parent GraphQL fragment, use
  issue.Parent.ID directly instead of extra IssueNodeID lookup

Nit fixes:
- Fix formatLinkedIssueRef godoc to match actual behavior

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-30 08:49:43 -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 fix: address code review findings from multi-model review 2026-04-30 08:49:43 -06:00
view_test.go test: add comprehensive tests for Issues 2.0 features 2026-04-30 08:49:43 -06:00