Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport jb-v7.12.x] omnibox: open results locally if possible #6800

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

sourcegraph-release-bot
Copy link
Collaborator

@sourcegraph-release-bot sourcegraph-release-bot commented Jan 24, 2025

Backport request details: this is a low-risk, high-impact UX change that significantly improves the usefulness of omnibox search results by linking the local version of a file instead of a read-only view of the file from Sourcegraph.

This modifies the behavior of clicking search results to link to local files if the result represents a file in your local repo. With the recent changes that heavily prefer results from your current repo, this should now be most results.

Test plan

Video walkthrough

Backport 7ed51f2 from #6781

This modifies the behavior of clicking search results to link to local
files if the result represents a file in your local repo. With the
[recent changes](sourcegraph/sourcegraph#2943)
that heavily prefer results from your current repo, this should now be
most results.

(cherry picked from commit 7ed51f2)
Copy link

@ErikaRS ErikaRS left a comment

Choose a reason for hiding this comment

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

Approved for backport. Also asked Beyang to do a post-merge review on the same logic.

@camdencheek camdencheek merged commit 7ef37d4 into jb-v7.12.x Jan 24, 2025
22 of 25 checks passed
@camdencheek camdencheek deleted the backport-6781-to-jb-v7.12.x branch January 24, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants