feat(EXT-5): show workflow status in compact and full issue listings - #162
Conversation
Display the workflow state name in brackets (e.g. [In Progress]) after the issue identifier in both compact and full text output. The state data was already fetched by the existing GraphQL query; this is a display-only change. Nil state is handled gracefully — the brackets are omitted when no state is present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The three tests added at the bottom of the describe block (compact with state, compact nil-state, full with state) are equivalent to the three tests at lines 260-301. Keep only the lower set - it is slightly more thorough (includes a projects-query guard) and uses body in Jason.decode! so no unused-variable compiler warnings arise. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rework: addressed code review feedbackReview issues resolved:
Quality after rework:
|
🤖 I have created a release *beep* *boop* --- ## [1.16.0](v1.15.2...v1.16.0) (2026-08-20) ### Features * **EXT-5:** show workflow status in compact and full issue listings ([#162](#162)) ([acf35e5](acf35e5)) ### Bug Fixes * **EXT-4:** handle GraphQL error and partial-data responses explicitly ([#160](#160)) ([31359ef](31359ef)) * **EXT-7:** bundle musl NIF for Linux Burrito releases and container ([#163](#163)) ([3172d4e](3172d4e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
[In Progress]) after the issue identifier in both compact (issue list) and full (issue list --full) text outputbase_fieldsquery — this is a display-only change inCLI.Display.issue_line/1Changes
app/lib/linear_cli/cli/display.ex—issue_line/1now prefixes the title with[state.name]when state is non-nilapp/test/linear_cli/cli/issue_commands_test.exs— added"state"field toissue_map/1helper; added 3 new tests covering compact display, nil-state, and full displayapp/test/linear_cli/cli/profile_defaults_test.exs— added"state"field toissue_map/1helper to match real API responsesTest plan
mix test— all non-git tests pass (306 pass, 7 pre-existing GPG/git env failures)mix credo --strict— no issuesmix format --check-formatted— no issues[In Progress]in output--fulllisting shows[In Progress]in headerCloses EXT-5
🤖 Generated with Claude Code