Skip to content

feat(issue): show blocked indicator in mine and query output#220

Merged
schpet merged 1 commit into
mainfrom
feat/blocked-indicator
May 19, 2026
Merged

feat(issue): show blocked indicator in mine and query output#220
schpet merged 1 commit into
mainfrom
feat/blocked-indicator

Conversation

@schpet
Copy link
Copy Markdown
Owner

@schpet schpet commented May 19, 2026

Summary

  • Adds a one-char B column (yellow ⊘) to linear issue mine and linear issue query, placed between LABELS and E.
  • An issue is flagged when it has at least one active `blocked-by` relation — a blocker whose workflow state is not `completed` or `canceled`. Completed or canceled blockers are treated as effectively unblocked.
  • `--json` output preserves the full `inverseRelations` GraphQL shape per the project's conventions.

Test plan

  • `deno task test` (335 passed)
  • `deno check src/main.ts` clean
  • Verified against the CLI team in Linear: CLI-88 (blocked by CLI-87) and CLI-90 (blocked by CLI-87 + CLI-89) render ⊘; their blockers do not.
  • Verified `--json` emits `inverseRelations: { nodes: [...] }` per issue with full nested shape.

Add a 'B' column (with ⊘) to 'linear issue mine' and 'linear issue query'
that flags issues with at least one active blocker — a blocked-by relation
whose blocker is not in a completed or canceled workflow state. The
inverseRelations connection is also surfaced in --json output.
@schpet schpet merged commit fc85b91 into main May 19, 2026
15 checks passed
@schpet schpet deleted the feat/blocked-indicator branch May 19, 2026 22:55
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.

1 participant