-
Notifications
You must be signed in to change notification settings - Fork 521
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
[[email protected]] Make Pomodoro completion more obvious. #6545
base: master
Are you sure you want to change the base?
Conversation
cc @gfreeau |
@cmcl Thanks for working on the applet. I need you to make a few changes so it's easier to review:
|
Extended short break dialogs to pop-up when a pomodoro has been completed and it is time for a short break. Combined this new functionality with the existing options for automatically continuing after a pomodoro and/or short break. In the latter case, the dialog is closed automatically. The dialog transitions appropriately when the timer expires.
Thanks @gfreeau, good points! I reverted the terminology and removed the whitespace changes. I also fixed an oversight with resetting the short break dialog prompt and buttons. |
@cmcl Here is the testing I did: In
This makes 25 minutes be 25 seconds instead for faster testing. With the timers active, do things like
Basically whatever options you click, the timer behaviour should be able to handle it. I recommend doing at least 3 full pomodoro sets which is 3 long breaks to verify everything is working correctly. |
Thanks @gfreeau for your diligence in testing my changes. I, too, noticed there was some undesirable interactions between the menu items and the buttons, possibly the same one you have noted here (I have it written down but don't remember off-hand). I'm writing just to say I'm aware of them and intend to update this pull request with fixes when I have a bit more time to work on it. I am also curious if there is a more systematic way to test the interactions of the UI elements. It is quite difficult to keep all the possible permutations of button clicks, menu selects and ordering events in mind at once. It is also rather inefficient since one small change would require to re-check all those possibilities again for interference. Is there a community-wide accepted best practice on this issue? |
@cmcl I have thought about this too in the past, I would like more comprehensive testing and leveraging industry standard tools from node/typescript community. It can be a challenge sometimes with cinnamon js. In the past when I was looking into this, I came across https://github.com/linuxmint/cinnamon-spices-applets/tree/master/radio%40driglu4it/tests as one of the very few applets attempting a testing approach. Have a look and see what you think. |
Extended short break dialogs to pop-up when a pomodoro has been completed and it is time for a short break. Combined this new functionality with the existing options for automatically continuing after a pomodoro and/or short break. In the latter case, the dialog is closed automatically. The dialog transitions appropriately when the timer expires.