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

A/B experiment for partial activation and CMakeLists present anywhere in the folder: quickPick one of existing CMakeLists versus "Create/Locate/Ignore" popup #1964

Closed
andreeis opened this issue Jun 29, 2021 · 0 comments

Comments

@andreeis
Copy link
Contributor

This A/B experiment is designed for cmake-tools users who are working in a partially activated workspace with a CMakeLists.txt file somewhere in the active folder.

Group A (control)

  • Users working in a partially activated workspace with a CMakeLists.txt file somewhere in the active folder are prompted with a toast notification (current behavior – just need to add telemetry).
    Group B (treatment)
  • Users working in a partially activated workspace with a CMakeLists.txt file somewhere in the active folder are prompted to select their root CMakeLists.txt from a list in the command palette as soon as cmake-tools activates (even if they don’t have an active kit or Configure Preset).

The new feature introduced by the experiment is tracked here: #533.
The corresponding telemetry is tracked here: #1901.

Below are more details on the required telemetry that we need to add.

Shared telemetry (used by both the treatment and the control)
• A new property (bool) on the existing ms-vscode.cmake-tools/open event that indicates whether the folder is fully or partially activated
• A new property (bool) on the existing ms-vscode.cmake-tools/open event that indicates whether the folder contains a CMakeLists.txt file (at any level)

Control telemetry
• A new event that fires when the toast notification appears (“CMakeLists.txt was not found at the root of the folder… How would you like to proceed?”)
• A new event that fires when the user interacts with the toast notification (dismisses it, create, locate, or do not show again)

Treatment telemetry
• A new event that fires when the user is prompted to select a CMakeLists.txt from the command palette
• A new event that fires when the user interacts with the prompt (dismisses it or selects a CMakeLists.txt)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants