Skip to content

feat(gh-issues): make issue and PR numbers clickable links - #139

Merged
gerchowl merged 4 commits into
devfrom
feature/104-clickable-issue-numbers
Feb 21, 2026
Merged

gerchowl merged 4 commits into
devfrom
feature/104-clickable-issue-numbers

Conversation

@gerchowl

@gerchowl gerchowl commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Enhance the # column in the just gh-issues overview table so that issue and PR numbers are clickable hyperlinks. Uses Rich's [link=URL]text[/link] markup for OSC 8 hyperlinks, which work in iTerm2, Windows Terminal, Cursor's integrated terminal, and other modern terminals.

Closes #104

Type of Change

  • feat -- New feature

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Added _gh_link(owner_repo, num, kind) helper in scripts/gh_issues.py to generate Rich hyperlink markup
  • Thread owner_repo from main() to _build_table and _build_pr_table
  • Issue # column: links to https://github.com/{owner}/{repo}/issues/{num}
  • PR # column: links to https://github.com/{owner}/{repo}/pull/{num}
  • Unit tests in tests/test_gh_issues.py for link formatting

Changelog Entry

### Changed

- **Clickable issue and PR numbers in gh-issues table** ([#104](https://github.com/vig-os/devcontainer/issues/104))
  - `#` column in issue and PR tables now uses Rich OSC 8 hyperlinks to GitHub URLs
  - Clicking an issue or PR number opens it in the browser (or Cursor's integrated terminal)

Testing

  • Tests pass locally (uv run pytest tests/test_gh_issues.py tests/test_utils.py -v)
  • Manual testing: just gh-issues displays tables with clickable numbers

Manual Testing Details

Ran uv run python scripts/gh_issues.py — tables render correctly; issue and PR numbers are hyperlinked in terminals that support OSC 8.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have updated CHANGELOG.md in the [Unreleased] section
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Refs: #104

gerchowl and others added 4 commits February 21, 2026 18:59
Use Rich [link=URL]text[/link] markup for OSC 8 hyperlinks in the #
column of both issue and PR tables. Links point to GitHub web URLs.

Refs: #104
Co-authored-by: Cursor <[email protected]>
…issue-numbers

# Conflicts:
#	tests/test_gh_issues.py
@gerchowl
gerchowl merged commit 48f8e41 into dev Feb 21, 2026
12 checks passed
@gerchowl
gerchowl deleted the feature/104-clickable-issue-numbers branch February 21, 2026 18:40
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