michaeljolley / onlythemes

VS Code themes that match your personality profile.
https://marketplace.visualstudio.com/items?itemName=builders-club.onlythemes
MIT License
12 stars 9 forks source link

Theme Preview - Timer / Uninstall #2

Open exegeteio opened 3 years ago

exegeteio commented 3 years ago

After installing a theme with OnlyThemes, it would be advantageous to have a timer which polls the user after an expiration time, and ask the user if they are enjoying the theme. I would say the timer should be between 5 and 15 minutes.

Given a User has installed a Theme using OnlyThemes
And 5 minutes has passed
And the User's current Theme has not changed
Then the User should be prompted to keep the Theme

Given a User has been prompted to keep a Theme
And they chose to keep the active Theme
Then the current theme should be added to PreferedThemes

Given a User has been prompted to keep a Theme
And they chose not to keep the active Theme
Then the User should be prompted to delete the new Theme.

Given a User has been prompted to delete their new Theme
And they chose to delete their new Theme
Then the active Theme should revert to their previous Theme
And the new Theme should be deleted
And the current theme should be added to UnwantedThemes

Given a User has been prompted to delete their new Theme
And they chose to keep their new Theme
Then the active Theme should revert to their previous Theme
And the new Theme should not be deleted

Popup Options

`You've been using ${theme_name} for ${time_since_install}. Do you like it?`

michaeljolley commented 3 years ago

@all-contributors please add @exegeteio for ideas

allcontributors[bot] commented 3 years ago

@MichaelJolley

I've put up a pull request to add @exegeteio! :tada:

michaeljolley commented 3 years ago

@all-contributors please add @MichaelJolley for ideas and code

allcontributors[bot] commented 3 years ago

@MichaelJolley

I've put up a pull request to add @MichaelJolley! :tada:

reikoNeko commented 3 years ago

I think the decision time could be as short as a minute; I know I'd have a real yay/nay within two most of the time. Perhaps a slider in settings?

michaeljolley commented 3 years ago

I love the idea of making this a setting for the extension rather than a defined option. Maybe default to 5 minutes, but allow users to change it.

@all-contributors please add @reikoNeko for ideas

allcontributors[bot] commented 3 years ago

@MichaelJolley

I've put up a pull request to add @reikoNeko! :tada: