Skip to content

feat(review): render 'view diff' anchor links per file in the changed-files summary #2157

Description

@JSONbored

Enhance the changed-files summary table rows with a GitHub Files-changed anchor link per file/group so maintainers jump straight to the diff. Small render enhancement on top of the summary-table slice; deterministic, no AI.

Deliverables

  • Build the per-file ../files anchor (GitHub PR Files tab #diff- style) in the summary-table renderer
  • Only for per-file rows (not collapsed group rows); omit when path can't be anchored
  • Public-safe URL construction (repo full name + PR number already in context)
  • Tests: per-file row link, collapsed group → no link (both branches)

References

  • src/review/unified-comment.ts:505
  • part of #1957

Part of #1957.


size: XS · held for later release (gittensor:bug once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions