Skip to content

feat: open feedback form when CLI is uninstalled #4973

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

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented Aug 26, 2019

In case CLI is uninstalled, open a feedback form, so the user might explain why they've uninstalled the product.
Add analytics tracking for the uninstall call. Remove the disableAnalytics property of the dev-preuninstall command - this way we'll receive information for the number of times the command has been executed (usually it is called from CLI's preuninstall script).
Also add custom data in the analytics, so we'll be able to generate report to see how many times users uninstall the CLI (actually executing npm uninstall...) and if this happens from interactive terminal.

PR Checklist

What is the current behavior?

When you execute npm uninstall -g nativescript, CLI removes several directories and does not collect any information about the action and why it has been executed by the user.

What is the new behavior?

CLI collects information in analytics when the preuninstall action is executed. In case the command was actually npm uninstall... and the terminal is interactive, CLI will open a feedback form, where the user can describe why the product has been uninstalled.

Implements issue #4974

In case CLI is uninstalled, open a feedback form, so the user might explain why they've uninstalled the product.
Add analytics tracking for the uninstall call. Remove the `disableAnalytics` property of the `dev-preuninstall` command - this way we'll receive information for the number of times the command has been executed (usually it is called from CLI's preuninstall script).
Also add custom data in the analytics, so we'll be able to generate report to see how many times users uninstall the CLI (actually executing `npm uninstall...`) and if this happens from interactive terminal.
@rosen-vladimirov rosen-vladimirov added this to the 6.1.0 milestone Aug 26, 2019
@rosen-vladimirov rosen-vladimirov self-assigned this Aug 26, 2019
@cla-bot cla-bot bot added the cla: yes label Aug 26, 2019
@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke

@rosen-vladimirov rosen-vladimirov merged commit 7faf9b9 into master Aug 26, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/uninstall-form branch August 26, 2019 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants