Skip to content

Ask the users why they've uninstalled NativeScript CLI #4974

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

Closed
rosen-vladimirov opened this issue Aug 26, 2019 · 1 comment
Closed

Ask the users why they've uninstalled NativeScript CLI #4974

rosen-vladimirov opened this issue Aug 26, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We do not have any feedback from the users who decide to uninstall NativeScript CLI. There might be various reasons for this, for example:

  • the update of the CLI might not work, so they may need to uninstall the product manually first
  • they might not like the product itself, in this case it is valuable to understand what is the actual problem that they've faced with NativeScript

Describe the solution you'd like
When npm uninstall -g nativescript is executed, show a feedback form, so the users can send their feedback.

Describe alternatives you've considered
None.

Additional context
None

@rosen-vladimirov
Copy link
Contributor Author

rosen-vladimirov commented Aug 26, 2019

Acceptance criteria:
For interactive terminal when npm uninstall -g nativescript is executed:

  • CLI should open a feedback form in the default browser.
  • CLI should track information in Google Analytics with information that the preuninstall has been fired, console is interactive and the action is intentional uninstall.

For non-interactive terminal (i.e. echo '' | npm uninstall -g nativescript or npm uninstall -g nativescript > out.txt):

  • CLI must not open a feedback form.
  • CLI should track information in Google Analytics with information that the preuninstall has been fired, console is not interactive and the action is intentional uninstall.

When npm install -g nativescript@<different version> is executed:

  • CLI should not open feedback form
  • CLI should track information in Google Analytics the information for console state (i.e. is it interactive or not) and that the action is NOT intentional uninstall.

When CLI is installed as devDependency of a project (npm i --save-dev nativescript):

  • The behavior described in all other acceptance criteria should be the same, just do not pass -g flag in the commands.

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

No branches or pull requests

2 participants