Skip to content

[BUG] Issue numbers in PR table 'Issues' column are not clickable links #174

Closed

Description

@gerchowl

Description

In the just gh-issues dashboard, the "Issues" column in the PR table renders issue numbers with color styling only (_styled), not as clickable terminal hyperlinks (_gh_link). This is inconsistent with how issue numbers and PR numbers are rendered elsewhere in the dashboard.

Steps to Reproduce

  1. Run just gh-issues
  2. Look at the PR table, "Issues" column
  3. Try to click on an issue number (e.g. #143)

Expected Behavior

Issue numbers in the PR table's "Issues" column should be clickable hyperlinks (using Rich's [link=...] markup), just like PR numbers in the # column and issue numbers in the issues table.

Actual Behavior

Issue numbers in the "Issues" column are styled with cyan color but are plain text — not clickable. The code at line 483 uses _styled(f"#{n}", "cyan") instead of _gh_link(owner_repo, n, "issues").

Environment

  • OS: macOS (darwin 24.5.0)
  • Script: scripts/gh_issues.py

Possible Solution

Replace the _styled call with _gh_link in _build_pr_table (line ~483):

# Current:
" ".join(_styled(f"#{n}", "cyan") for n in sorted(linked))

# Fix:
" ".join(_gh_link(owner_repo, n, "issues") for n in sorted(linked))

Note: _gh_link doesn't include the # prefix, so the display format will change slightly (from #143 to 143 as a link). If the # prefix is desired, _gh_link could be updated to include it.

Changelog Category

Fixed

TDD Acceptance Criteria

  • TDD compliance (see .cursor/rules/tdd.mdc)

Activity

  1. added
    bug
    on Feb 24, 2026
  2. self-assigned this
    on Feb 24, 2026
  3. gerchowl commented on Feb 24, 2026

    @gerchowl
    ContributorAuthor

    Design

    Problem: Issue numbers in the PR table "Issues" column are styled with cyan but not clickable. The code at line 636 uses _styled(f"#{n}", "cyan") instead of _gh_link.

    Solution: Replace _styled with _gh_link(owner_repo, n, "issues") in _build_pr_table for the issues cell. This matches how PR numbers (line 642) and issue numbers in the issues table (line 399) are rendered.

    Display change: Numbers will show as 143 (link) instead of #143 (plain text). This is consistent with _gh_link usage elsewhere and acceptable per the issue.

  4. gerchowl commented on Feb 24, 2026

    @gerchowl
    ContributorAuthor

    Implementation Plan

    Issue: #174
    Branch: bugfix/174-pr-table-issues-clickable-links

    Tasks

    • Task 1: Replace _styled with _gh_link for issue numbers in PR table Issues column — scripts/gh_issues.py — verify: just test
  5. gerchowl commented on Feb 24, 2026

    @gerchowl
    ContributorAuthor

    Autonomous Run Complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions