Skip to content

feat: show issue state in view command#186

Closed
jholm117 wants to merge 1 commit intoschpet:mainfrom
jholm117:feat/issue-view-state
Closed

feat: show issue state in view command#186
jholm117 wants to merge 1 commit intoschpet:mainfrom
jholm117:feat/issue-view-state

Conversation

@jholm117
Copy link
Contributor

Summary

  • Adds the issue state (e.g., "In Progress", "Done") to the issue view plain-text output
  • State appears as the first item in the metadata line, colored using the state's configured color via rgb24
  • The state was already fetched in the GraphQL query and available in issueData.state — it just wasn't rendered

Test plan

  • deno check src/main.ts passes
  • deno lint passes
  • deno task test passes (264 tests, 0 failures)
  • Snapshot tests updated to include state in output

🤖 Generated with Claude Code

Add the issue state (e.g., "In Progress", "Done") as the first item
in the metadata line of `issue view` output. The state name is colored
using the state's configured color via rgb24. The state was already
fetched in the GraphQL query but not rendered in plain-text output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@schpet
Copy link
Owner

schpet commented Mar 25, 2026

@jholm117 sorry i've been neglecting my PRs, there was one up at #184 already with this so i merged that - if you try it out, and it isn't adequate, please rebase this one or open a new one with improvements.

@jholm117
Copy link
Contributor Author

Closing — this was already implemented in #184. Thanks @schpet!

@jholm117 jholm117 closed this Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants