Skip to content

Avoid showing a link when the underlying path is empty#546

Merged
aeisenberg merged 2 commits intogithub:mainfrom
aeisenberg:aeisenberg/empty-location
Sep 2, 2020
Merged

Avoid showing a link when the underlying path is empty#546
aeisenberg merged 2 commits intogithub:mainfrom
aeisenberg:aeisenberg/empty-location

Conversation

@aeisenberg
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg commented Sep 1, 2020

A common situation when a file is not relevant for a particular result
is to return an empty file path location.

Currently, we are displaying this situation as a hyperlink in the
results, but when clicking on the link, there is an error.

To mirror the behaviour of Eclipse, we should avoid showing a link here.
This commit changes that behaviour.

Fixes #545

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [n/a] @github/docs-content-dsp has been cc'd in all issues for UI or other user-facing changes made by this pull request.

Not notifying @github/docs-content-dsp because this is a small change that external users will unlikely to come across.

A common situation when a file is not relevant for a particular result
is to return an empty file path location.

Currently, we are displaying this situation as a hyperlink in the
results, but when clicking on the link, there is an error.

To mirror the behaviour of Eclipse, we should avoid showing a link here.
This commit changes that behaviour.
@aeisenberg aeisenberg requested a review from jcreedcmu September 1, 2020 23:15
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.

Source links in result viewer do not handle pseudo-locations correctly

2 participants