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

Add a codeql status bar item #741

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

aeisenberg
Copy link
Contributor

@aeisenberg aeisenberg commented Feb 1, 2021

Includes the current cli version as well as the canary status (codeQL.canary) in the settings.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • [n/a] 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.

@aeisenberg
Copy link
Contributor Author

Squirrel icon, not a bird.

@aeisenberg aeisenberg force-pushed the aeisenberg/status-bar branch from b5e0537 to 12f44fd Compare February 1, 2021 20:31
@aeisenberg
Copy link
Contributor Author

Removing the squirrel. Too small and hard to see.

@aeisenberg aeisenberg force-pushed the aeisenberg/status-bar branch from 12f44fd to daf478f Compare February 2, 2021 17:20
Copy link
Contributor

@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

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

Haven't had the chance to test it yet, but changes look good.

this.item.text = `CodeQL${canary}`;

const version = await this.cli.getVersion();
this.item.text = `CodeQL cli v${version}${canary}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think we should include both the extension version and the CLI version here? (Is there room?)

Suggested change
this.item.text = `CodeQL cli v${version}${canary}`;
this.item.text = `CodeQL CLI v${version}${canary}`;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's already a standard place to check the extension version. So, I'd rather not take up more precious space in the status bar.

Includes the current cli version as well as the
canary status (codeQL.canary) in the settings.
@aeisenberg aeisenberg force-pushed the aeisenberg/status-bar branch from daf478f to 1d0e553 Compare February 2, 2021 17:25
@aeisenberg aeisenberg merged commit 3b1ff0f into github:main Feb 2, 2021
@aeisenberg aeisenberg deleted the aeisenberg/status-bar branch February 2, 2021 17:41
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