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

feat(admin-plugins): add a popup survey upon plugin deactivation #648

Closed
3 tasks done
mathetos opened this issue Jun 17, 2016 · 18 comments
Closed
3 tasks done

feat(admin-plugins): add a popup survey upon plugin deactivation #648

mathetos opened this issue Jun 17, 2016 · 18 comments
Assignees

Comments

@mathetos
Copy link
Member

mathetos commented Jun 17, 2016

We've had a couple very negative reviews about the uninstall process leaving data behind after Give is deleted. Here's my suggestion to help those users:

We trigger a popup when the Deactivate link is clicked on the Give plugin.

That popup would say the following:

Deleting Give? Read this First.
By default the custom roles, Give options, and database entries are not deleted when you delete Give. If you are deleting Give completely from your website and want those items removed as well, first go to "Donations > Settings" then the "Advanced Options" tab and check the setting that says "Remove All Data on uninstall".

Do you want to go ahead with Deactivation?
[Yes] [Cancel Deactivation]

Tasks

  • Add the popup survey form on deactivation using Give Modal API
  • Create API endpoint (a separate addon) which will receive survey data and store data in the database.
  • Test the whole feature.
@joeguilmette
Copy link

Why not include the options in the popup? You can keep them in both places, or just have them in the deactivate popup. But to me, the popup seems to be the best place to present this decision to the user.

@DevinWalker DevinWalker changed the title Trigger "Delete All Give Data?" Popup on Deactivation Click Popup on Deactivation Jul 18, 2016
@DevinWalker
Copy link
Member

I'm not so sure about the message here. I'd rather our deactivation popup be more like how freemius handles the deactivation WITH the ability to specify deleting custom data.

Freemius' popup:

screen shot 2016-07-18 at 12 11 14 pm


My vision:

Deactivating Give

If you have a moment, please let us know why you are deactivating Give. All submissions are anonymous and we only use this feedback to improve the plugin.

  • I no longer need the plugin
  • I found a better plugin
    • What is the plugin's name?
  • I only needed the plugin for a short period
  • The plugin broke my site
    • We're sorry to hear that and offer free support of WordPress.org (link). Can you describe the issue?
  • The plugin suddenly stopped working
    • We're sorry to hear that and offer free support of WordPress.org (link). Can you describe the issue?
  • Other
    • Please describe why you're deactivating Give

(checkbox) Would you like to delete all Give data?
By default the custom roles, Give options, and database entries are not deleted when you delete Give. If you are deleting Give completely from your website and want those items removed as well

deactivation-popup

@DevinWalker DevinWalker added this to the 1.7 milestone Jul 18, 2016
@mathetos
Copy link
Member Author

mathetos commented Aug 5, 2016

I love it. VERY informative, and I think users will appreciate the information. Let's do it!

@DevinWalker DevinWalker modified the milestones: 1.9, 1.7 Aug 23, 2016
@DevinWalker
Copy link
Member

@mathetos how about the form submits to a Google spreadsheet?

@DevinWalker DevinWalker self-assigned this Sep 9, 2016
@mathetos
Copy link
Member Author

@DevinWalker Really don't think that's a long-term solution. Would prefer to store it properly in a database of some sort so it's portable and we can report the data any way we want. Also, I haven't been happy with the reliability of pushing data to GOogle spreadsheets.

@DevinWalker
Copy link
Member

@mathetos I agree, a spreadsheet seems janky at best. Let's plan on submitting to a custom endpoint on our website where to store the data in our db.

@DevinWalker
Copy link
Member

Take a look how @vovafeldman updated their deactivation popup:

  1. Randomized the order of the choices to improve data accuracy
  2. Allow for anonymous entries
  3. When the user choose "I didn't understand how it works", it shows a contextual "Contact Support" button with a direct link to a contact us page.

https://github.com/Freemius/wordpress-sdk/releases/tag/1.2.1

Very neat stuff...

@DevinWalker DevinWalker mentioned this issue Feb 9, 2017
3 tasks
@DevinWalker DevinWalker modified the milestones: 1.9, 2.0 Apr 10, 2017
@DevinWalker DevinWalker modified the milestones: 2.1, 2.0 May 10, 2017
@DevinWalker DevinWalker removed their assignment Feb 1, 2018
@DevinWalker DevinWalker changed the title Popup on Deactivation Popup Survey on Plugin Deactivation Feb 1, 2018
@DevinWalker DevinWalker modified the milestones: 2.1, 2.2 Feb 5, 2018
@DevinWalker DevinWalker removed this from the 2.2 milestone Mar 6, 2018
@DevinWalker DevinWalker changed the title Popup Survey on Plugin Deactivation feat(admin-plugins): add a popup survey upon plugin deactivation May 23, 2018
@Sidsector9
Copy link
Contributor

This is the progress so far -

survey

@DevinWalker
Copy link
Member

It's looking good but not exactly like the concept above. For instance, the "G" icon is larger and the width of the modal is too slim. Can you match it up a little better @Sidsector9 ?

@Sidsector9
Copy link
Contributor

This is the survey form after feedback -

Survey Form

surveyform

Dashboard (WIP)

surveystats

@DevinWalker
Copy link
Member

Looking good @Sidsector9

@kevinwhoffman
Copy link
Contributor

@Sidsector9 @DevinWalker Nice progress. Are we still planning to provide the checkbox to delete Give data on deactivation? I think that was the original reason for the issue and want to make sure it doesn't get lost in the other feedback functionality.

@Sidsector9
Copy link
Contributor

@kevinwhoffman Yes we are going to provide the checkbox. That is the last part of the implementation of this whole feature.

DevinWalker pushed a commit that referenced this issue Jun 26, 2018
feat(admin-plugins): add a popup survey upon plugin deactivation #648
@binaryfire
Copy link

Hi guys! Sorry to comment on an old thread. I've just added a deactivation form to my new plugin and was searching for an example stats dashboard I could check out. Yours looks great- do you have it available on github?

@DevinWalker
Copy link
Member

@menathor yes we do I can add you to the repo now

@binaryfire
Copy link

binaryfire commented May 24, 2019

@DevinWalker Awesome, thanks so much!

@hansvangent
Copy link

@binaryfire could you maybe add me to that repo as well? Looks interesting!

@hansvangent
Copy link

Oh wait, @DevinWalker you're the person to do this, could you maybe add me to the repo as well? Would love to see how you folks build that dashboard!

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

No branches or pull requests

7 participants