thetwom / toc2

Metronome app
GNU General Public License v3.0
159 stars 23 forks source link

Instant clear-all button #21

Closed fpesari closed 3 years ago

fpesari commented 4 years ago

Hello,

sometimes I mess with a weird beat and then want to rapidly go create the next, but I haven't been able to find a "clear all" button which does it immediately and I have to delete all notes manually. Can a "clear all" or "reset" button be created in the top bar? Of course, it should have a YesNo MessageBox to prevent that an accidental deletes everything.

thetwom commented 4 years ago

I will give it a thought how I can implement such feature. In the end it also comes down to find an icon which makes the action most clear. Not sure whether it is easier to find a icon for a general "reset", which would then also reset the speed to a default value.

fpesari commented 4 years ago

A common icon for that is a broom, example from the Breeze icon set:

edit-clear-history

thetwom commented 4 years ago

Thanks for the suggestion. I will give the thought some more days to settle.

For the time being you can just select a note and then press the delete button a lot of times very quickly ..this works quite well to delete many notes :-).

thetwom commented 3 years ago

Would be great if you had a look at the following version. Besides the "delete-all"-button it plays the sounds now in an own thread. Would be good to have this tested properly on some phones before making it official. v2.4.0-beta1

fpesari commented 3 years ago

Forgive me for answering this only now. I meant to do it a long time ago and was reminded of it only now because you mentioned me in another issue. Let's see the bright side, I have the occasion to wish you merry Christmas and a happy new year :fireworks:

The feature works fine but maybe it's better to add a prompt asking for confirmation, because it's easy to accidentally press the button (sweat can even press the button by itself) and by then it's too late!

thetwom commented 3 years ago

Thanks for the wishes :-). I also hope you had a merry Christmas and a happy new year :-).

When pressing the "clear-all" button, a information bar should pop at the bottom of your screen with the option to revert the action. When reading about UI design people say, that it's good not to bother people with messages like "do you really like to do this", but better allow them to revert their actions. That is why I went this way.