You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/ql-vscode/src/telemetry.ts
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -146,9 +146,14 @@ export class TelemetryListener extends ConfigListener {
146
146
result=awaitPromise.race([
147
147
showBinaryChoiceDialog(
148
148
'Do we have your permission to collect anonymous usage statistics help us improve CodeQL for VSCode? See [TELEMETRY.md](https://github.com/github/vscode-codeql/blob/main/.github/TELEMETRY.md)',
149
-
false
149
+
// TODO: We make this dialog modal for now. If users complain, then we make it non-modal
150
+
// If we do decide to keep this dialog as modal, then this implementation can change and
151
+
// we no longer need to call Promise.race. Before committing this PR, we need to make
152
+
// this decision.
153
+
true
150
154
),
151
-
newPromise(resolve=>setTimeout(resolve,10000))
155
+
// Uncomment if we make the dialog non-modal
156
+
// new Promise(resolve => setTimeout(resolve, 10000))
0 commit comments