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

Change text of modal dialog #738

Merged
merged 1 commit into from
Jan 30, 2021
Merged

Conversation

aeisenberg
Copy link
Contributor

@aeisenberg aeisenberg commented Jan 30, 2021

Modal dialogs do not allow for markdown text. Also, make CodeQL more
prominent in the dialog.

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.

@@ -165,8 +165,9 @@ export class TelemetryListener extends ConfigListener {
if (GLOBAL_ENABLE_TELEMETRY.getValue()) {
// Extension won't start until this completes.
result = await showBinaryChoiceDialog(
'Do we have your permission to collect usage data and metrics to help us improve CodeQL for VSCode? See [TELEMETRY.md](https://github.com/github/vscode-codeql/blob/main/TELEMETRY.md) for details of what we collect and how we use it.',
'CodeQL Extension: Do we have your permission to collect usage data and metrics to help us improve CodeQL for VSCode? See https://github.com/github/vscode-codeql/blob/main/TELEMETRY.md for details of what we collect and how we use it.',
Copy link
Contributor

Choose a reason for hiding this comment

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

Either this needs to be blob/main/extensions/ql-vscode/TELEMETRY.md or we need to move the md file to the repo root. Probably the latter since we link to it elsewhere.

Also suggest either Do we -> Does GitHub, or CodeQL extension by GitHub.

Modal dialogs do not allow for markdown text. The link was invalid.
Also, make CodeQL more prominent in the dialog.
@aeisenberg aeisenberg merged commit 02080cd into github:main Jan 30, 2021
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