Repository navigation
Closed as not planned
4 / 44 of 4 issues completedClosed as not planned
4 / 44 of 4 issues completed
Copy link
Labels
area:workflowDeveloper workflow, commands, rules, skillseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestsemver:minorNew feature, backward-compatible
Description
Description
Rewrite scripts/gh_issues.py from an imperative script into a proper CLI tool backed by Polars DataFrames, Typer CLI, and Rich rendering. The goal is a responsive, filterable project dashboard accessible via just gh-issues.
Problem Statement
The current just gh-issues script has accumulated several pain points:
- No CI visibility — PR check status requires opening GitHub ([FEATURE] Show CI status and failure details in just gh-issues PR table #143)
- Column truncation — too many columns compete for space on normal terminal widths; data gets clipped and unreadable
- No activity signal — can't tell if an issue/PR is fresh or stale without clicking through
- No filtering — can't scope to "my issues", a specific milestone, or PRs needing review
- Brittle architecture — imperative fetch-loop-format code makes every new column or feature a surgical edit
Proposed Solution
Rewrite as a Typer CLI app with Polars as the data layer:
- Data layer (Polars): Fetch JSON from
gh, load into DataFrames. All grouping, filtering, joining, and aggregation become DataFrame operations. - CLI layer (Typer): Subcommands and options for filtering (
--assignee @me,--milestone 0.4), grouping, output control. - Rendering layer (Rich): Responsive table layout that adapts column set to terminal width. Activity column as a color-coded dot (no text). CI status column with compact rollup.
@mesupport: Resolve current GitHub user viagh auth statusand substitute@mein filters.
Sub-Issues
Implementation will be broken into sub-issues (to be filled in during planning):
- [FEATURE] Show CI status and failure details in just gh-issues PR table #143 — CI status column
- Polars data layer — fetch + DataFrame construction
- Typer CLI scaffolding — subcommands, options, help
- Responsive column layout — adaptive to terminal width
- Activity indicator — color-coded staleness dot
-
@mefilter — resolve current user, filter by assignee/author/reviewer - Milestone/label filtering
- Parent/sub-issue tree rendering in DataFrame model
Alternatives Considered
- Incremental patches — keep adding columns to the current script. Pros: small diffs. Cons: the architecture doesn't support filtering, responsive layout, or clean data operations. Each feature is harder than the last.
- External tool (e.g., gh-dash) — Pros: already exists. Cons: doesn't match our label taxonomy, milestone grouping, or sub-issue tree rendering. We'd lose the tight integration with
justrecipes and project conventions.
Impact
- Beneficiaries: All developers using
just gh-issuesfor project triage. - Breaking changes: The CLI invocation stays the same (
just gh-issues). Rich table output format may change (not a stable API). - New dependencies:
polars,typer,rich(rich already used, just not declared).
Acceptance Criteria
-
just gh-issuesrenders a responsive table that adapts to terminal width - CI status visible per PR with failure detail
- Activity indicator per issue/PR (color-coded, no text)
-
--assignee @mefilter works - Existing features preserved: milestone grouping, sub-issue trees, PR cross-refs, branch display
- TDD compliance (see
.cursor/rules/tdd.mdc)
Changelog Category
Added
References
- [FEATURE] Show CI status and failure details in just gh-issues PR table #143 — CI status column (first sub-issue)
- [FEATURE] Make issue numbers in just gh-issues table clickable links #104 — Clickable issue numbers (already implemented)
- [BUG] PR table Reviewer column shows requested reviewers instead of actual reviewers #105 — PR reviewer column bug
- [BUG] gh_issues.py cross-ref misses PRs linked via Refs: instead of Closes/Fixes #121 — Cross-ref bug (Refs: vs Closes)
Sub-issues
Collapse Sub-issuesSub-issues
Loading 4 sub-issues
Metadata
Metadata
Assignees
Labels
area:workflowDeveloper workflow, commands, rules, skillseffort:largeMore than 4 hours or multi-sessionfeatureNew feature or requestsemver:minorNew feature, backward-compatible
Activity
gerchowl commentedon Feb 21, 2026
Exploration Summary
Signal
Direct developer experience using
just gh-issuesdaily. The dashboard lacks CI visibility, truncates on normal terminals, has no activity/staleness signal, and offers no filtering.Pain Points Identified
@me, no milestone filter, no "needs my review"Key Design Decisions (from exploration)
--assignee @me,--milestone 0.4)@mesupport — resolve current GitHub user viagh auth statusAssumptions to Validate
statusCheckRollupprovides sufficient CI detail without extra API calls--assignee @me --milestone 0.4) are the right UXRFC
See
docs/rfcs/RFC-001-2026-02-21-gh-issues-dashboard-rewrite.mdNext Step
Proceed to inception_scope to define boundaries, then inception_plan to create sub-issues.
gerchowl commentedon Feb 21, 2026
Design
Problem Statement
just gh-issuesis the primary CLI dashboard for triaging open issues and PRs.The current implementation (
scripts/gh_issues.py) is a single imperative scriptthat fetches JSON from
gh, loops through results, and renders Rich tables.Pain points observed during daily use:
If we do nothing: each incremental improvement makes the script harder to maintain. Developers context-switch to GitHub for basic triage.
Proposed Solution
gh, load into DataFrames. Grouping, filtering, joining, and aggregation become declarative operations.--assignee @me,--milestone 0.4), grouping, and output control.@mesupport. Resolve current GitHub user viagh auth status.Alternatives Considered
justintegrationPhasing
Phase 1: CI status column (#143)
statusCheckRollupto PR fetch, render CI columnPhase 2: Polars + Typer rewrite (sub-issues TBD)
--help)@mefilterPhase 3: Bug fixes rolled in
Refs:vsClosesparsingRisks
polars(~20 MB binary wheel),typer. Acceptable for dev-only tool.statusCheckRollupand sub-issue parents add API calls. May need batching.Open Questions
scripts/gh_issues.py(in-place) or move to a package (e.g.,packages/gh-dashboard/)?--assignee @me --milestone 0.4) or be mutually exclusive subcommands?References
docs/rfcs/RFC-001-2026-02-21-gh-issues-dashboard-rewrite.mdgerchowl commentedon Feb 23, 2026
Alternative to explore: GitKraken CLI (
gk)Worth checking out GitKraken CLI (
gk) as a potential alternative or inspiration before committing to the full rewrite. It provides:gk issue list/gk pr list— rich terminal dashboard for issues and PRsIf it covers enough of our needs out of the box (or with light scripting), it could replace the custom dashboard entirely. If not, its UX patterns (column layout, status indicators) are worth borrowing.
Action: Try
gkagainst this repo and evaluate coverage vs. our requirements (milestone grouping, sub-issue trees, label taxonomy,justintegration).gerchowl commentedon Feb 23, 2026
Alternative to explore: Textual TUI (like Toad)
Toad — built by Will McGugan (creator of Rich and Textual) — demonstrates that Textual can power a full interactive terminal UI with live shell embedding, concurrent agent sessions, and streaming output. Worth evaluating as an architecture for the dashboard rewrite.
What Textual enables beyond static Rich tables
Workerasync tasks)Ctrl+Sshows all running agents; analogous to a worktree status panelTestability
Textual ships with a first-class
Pilottest driver — headless async tests via pytest:pilot.click(),pilot.press()for interactionapp.query_one(CSS_selector)for widget state assertionsData layer: Python GitHub API instead of
ghCLIReplace the current 5+ serial
subprocess.runcalls toghwith direct HTTP calls (httpxasync) to GitHub REST/GraphQL API:asyncio.gatherfor parallel fetchesWorkerfor live refreshPotential architecture
Each layer independently testable.
Scope question: dashboard vs. project control center
Toad covers agents + shell but not project management (issues, PRs, CI, milestones). The gh-issues dashboard covers project management but not agents or live shells. Two possible paths:
Recommend path 1 first (YAGNI), with the architecture designed to support path 2.
References
c-vigo commentedon Jul 8, 2026
Closing as part of an agreed backlog cleanup (with @gerchowl) — valid but dormant, no work in progress since the Nix migration. Reopen or refile fresh if picked up.