Skip to content

MRVA: Display alert text even if location is undefined#1407

Merged
charisk merged 2 commits intomainfrom
charisk/handle-no-location
Jun 29, 2022
Merged

MRVA: Display alert text even if location is undefined#1407
charisk merged 2 commits intomainfrom
charisk/handle-no-location

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Jun 28, 2022

Show the alert message, even if the location of a result isn't defined. See internal issue for details. I've also done some minor refactoring/renaming to make things easier to read.

Before:
image

After:
image

Checklist

N/A:

  • 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.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk requested a review from a team as a code owner June 28, 2022 08:52
Copy link
Copy Markdown
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

Thanks, code changes looks good to me, and local preview seems sensible!

(Feel free to wait for a second opinion though, since we partly paired on this 😂)

Comment thread extensions/ql-vscode/src/remote-queries/view/FileCodeSnippet.tsx Outdated
@charisk charisk merged commit 6808d7d into main Jun 29, 2022
@charisk charisk deleted the charisk/handle-no-location branch June 29, 2022 07:35
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.

2 participants