Skip to content

Forge hyperlinks (OSC-8) on commit hashes and file paths #467

Description

@benvinegar

Gap

Commit hashes and file paths in the UI are inert text.

What competitors do

delta emits OSC-8 terminal hyperlinks so commit hashes and file paths become clickable links to the hosting provider (GitHub, GitLab, SourceHut, Codeberg).

Why it matters for hunk

Low-effort, high-polish. In a review surface, click-to-open-on-GitHub for a commit or file is a natural affordance and signals maturity.

Sketch

  • Detect remote/forge from git config; format commit SHAs and file paths as OSC-8 links in capable terminals.
  • Graceful no-op where the terminal or remote isn't recognized.

Source: competitor gap analysis (delta).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestuiUser interface improvements

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions