-
Notifications
You must be signed in to change notification settings - Fork 29
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
Toggling Release Dismissal #57
Conversation
mmstick
commented
Nov 8, 2019
- The dismissal frame is now inside of the upgrade option box
- The dismissal button is now a check button, which can be toggled
- The daemon has been updated to take a boolean as an input and output
The description should be in the check button's label now. |
This may enter the realm of "unreasonable" and I don't think it would block release, but I thought it would be worth pointing out. I noticed if I check and uncheck the "dismiss" box repeatedly, it locks up gnome control center for a little bit. In the logs, I noticed every time the box is checked or unchecked, it looks for available releases. I think that might be what slows it down when the checkbox is spammed. |
We could cache the release information in the daemon between requests, so it doesn't need to happen every time. |
Sounds like a good idea to me! Probably a low-priority fix though. I can't imagine too many people will |
We should also revise the description to avoid having a negative within the description. Otherwise you have to enable the checkmark to disable the notifications, which creates a lot of confusion about what the control actually does and what state it's in. I know we (including myself) initially dismissed this idea, but seeing the mockup I think a flat button labeled "Dismiss Notifications" is actually a better way to go with this. I'm having a hard time seeing an actual, valid use case for disabling the notifications with the intention of showing them again at a later date; the user would instead simply click the upgrade button directly. My initial thought on that might be that someone might be working on a system, want to disable the notifications momentarily, and then re-enable them for the primary user, but this is not a normal use case nor is it something that an advanced user couldn't do by simply resetting the configuration for this toggle. |
I think switch is our best option for now. It looks like most of the settings have switches, including the Notifications. I also have a difficult time imagining anyone wanting to switch the notifications back on. On the other hand, having two buttons with different function where one is an action and another is a toggle might be more confusing. In this case, we should give a visual priority to the "Download" button because we want the users to upgrade. Hence, better avoid using two buttons. If we include two buttons, they will need to have the same height and length. That would make them very close in priority. And since the switch is what currently used throughout let's just stick to it. |
@mmstick let's align the switch with the |
0e25975
to
4ca1e5d
Compare
- The dismissal frame is now inside of the upgrade option box - The dismissal button is now a check button, which can be toggled - The daemon has been updated to take a boolean as an input and output
9b8ee5b
to
d91204f
Compare