Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

blob/codeintel: Fix popover links to include specified revision#60545

Merged
fkling merged 3 commits intomainfrom
fkling/60541-hovercard-revision
Feb 15, 2024
Merged

blob/codeintel: Fix popover links to include specified revision#60545
fkling merged 3 commits intomainfrom
fkling/60541-hovercard-revision

Conversation

@fkling
Copy link
Contributor

@fkling fkling commented Feb 15, 2024

Closes #60541

The revision from the URL wasn't passed to the codeintel extension.

Test plan

The links in the tooltip shown at
https://sourcegraph.test:3443/github.com/uber-go/cff@239d0216e326c2d061a71c62fbfe7b8bbd4771ef/-/blob/internal/package.go?L85:14&popover=pinned contain the revision from the URL.

@fkling fkling added the bug-fix label Feb 15, 2024
@fkling fkling requested review from a team and varungandhi-src February 15, 2024 08:57
@fkling fkling self-assigned this Feb 15, 2024
@cla-bot cla-bot bot added the cla-signed label Feb 15, 2024
Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
Copy link
Contributor

@varungandhi-src varungandhi-src left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that this works locally for the example in the linked issue. Thanks!

Image

@fkling fkling merged commit e36a996 into main Feb 15, 2024
@fkling fkling deleted the fkling/60541-hovercard-revision branch February 15, 2024 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search-based code nav from non-main branch suggests URLs on the main branch

3 participants