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

[Enhancement] Button to enable/disable all #7

Open
DutchPete opened this issue Dec 5, 2021 · 4 comments
Open

[Enhancement] Button to enable/disable all #7

DutchPete opened this issue Dec 5, 2021 · 4 comments

Comments

@DutchPete
Copy link

@DutchPete DutchPete commented Dec 5, 2021

Sometimes one needs to disable all snippets e.g. when there seems to be a bug somewhere.
It would a time saver not to have to disable each snippet manually.

If there is a button to disable them all, then pressing the button should re-enable them all, and exactly those that were enabled before. So, if snippets 1,2,3, and 5 were enable and snippet 4 disabled, then re-enabling should reset them as before, i.e. 1,2,3, 5 enabled, leave 4 disabled.

@chetachiezikeuzor
Copy link
Owner

@chetachiezikeuzor chetachiezikeuzor commented Dec 5, 2021

Hmm, interesting feature! Though, would it not be a bit of a pain to have the button toggle all snippets that are currently off on? If I wanted to scope out a bug and I used the button to toggle all snippets off, I wouldn't want the snippets that were currently off to then be toggle on. So perhaps there should be a "switch mode" button that switches the status of all snippets, then toggle "on/off" button that turn them all off or on.

@chetachiezikeuzor
Copy link
Owner

@chetachiezikeuzor chetachiezikeuzor commented Dec 5, 2021

My apologies. After reading your request a few times, I realized I am misunderstanding what you're saying. Please correct me if I'm getting this wrong: There are two buttons. One to disable all snippets and one to re-enable all of the snippets that were enabled before. So the re-enable button acts more like an "undo disable" button.

@DutchPete
Copy link
Author

@DutchPete DutchPete commented Dec 5, 2021

There are two buttons. One to disable all snippets and one to re-enable all of the snippets that were enabled before. So the re-enable button acts more like an "undo disable" button.

Yes, that is correct. In my OP I was thinking along the lines of just 1 button to disable them all, while hitting that same button again would re-enable all of the snippets that were enabled before. This to avoid having too many buttons.

If it is only possible with 2 separate buttons, fine. What I am interested in is the concept, and the way you describe it in your 2nd comment above is exactly that.

My apologies for not expressing myself clearly to begin with.

@Obadiahcruz
Copy link

@Obadiahcruz Obadiahcruz commented Jan 27, 2022

was just about to make a request for this, any plans for something like this in the future?

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

Successfully merging a pull request may close this issue.

None yet
3 participants