vscode-viva
vscode-viva copied to clipboard
Telemetry support for SPFx Toolkit. Closes #570
π― Aim
This PR adds telemetry support for SPFx Toolkit to help us understand how the extension is used and improve its features.
π· Result
App Insights
CSV report
β What was done
- [] Proper way of handling the AI connection string
- [] AI capabilities such as chat participants and LM tools
- [] Usage of
vscode.openactions - [X] Created a centralized telemetry service
- [X] Extension lifecycle tracking - Activation, Deactivation
- [X] Authentication actions tracking - Login/Logout
- [X] Usage of actions from the Actions view
- [X] Usage of actions from the Tasks view
- [X] App management actions including adding app catalog, managing tenant-wide extensions, and managing SPFx apps
- [X] Support to disable telemetry through VS Code settings
- [X] Updated documentation
β How to test
- Set up application insights and get your AI connection string
- Search for key 'aiConnectionString' in package.json and replace the value
- Run the PR locally and click on below actions:
π Related issue
Closes: #570
uuuu looks interesting.... I will try to give it a check/review next week unless someone is quicker than meπ€©