Repository navigation
Description
@donokuda Took the lead on figuring out what our popups should look like and when he was done I made one comment about some insignificant detail now forgotten and therefore I feel like I can take credit and post these designs here.
Seriously though, I'll try to summarize what we talked about and @donokuda will jump in if I missed something.
A simple dialog
Popups/dialogs have fat titlebars with a big title and a footer with buttons (when necessary). Popups are dismissed by clicking the x, hitting Escape, or clicking outside of the popup.
Popups may also be dismissed through buttons in the footer but our current thinking is that that should be reserve for when there's a choice to be made between the primary and secondary button, such as in this preferences tab
Here cancel stands in opposition to save and thus deserves a spot in the footer and is semantically equivalent to the x in the title bar. That doesn't necessarily have to be the case though as illustrated by this second step of the sign-in flow.
In this dialog the cancel button will take the user back to the first step of the sign-in flow whereas the x will dismiss the flow entirely.
Errors, warnings
Errors and warnings follow the same general pattern for popups as we've seen above with the addition of an accent color, icon and a top border.





Activity
donokuda commentedon Jan 20, 2017
I'm probably nit-picking on terms, but I wonder if "Back" makes more sense than "Cancel" when the action is going to take you one step back as opposed to dismissing the popup.
Another small detail, but we should consider having error text selectable so that users can copy and paste the error message into google. (EDIT: Or a support ticket)
pmn commentedon Jan 20, 2017
❤️ x 💯
niik commentedon Jan 20, 2017
I feel like we tried
Backand opted forCancelwhen we were playing with it the other day but I can't remember why exactly. Oh, wait, maybe it was because we settled onCancelin the welcome flow? Either way, we can def play around with that.Yes, absolutely!
niik commentedon Jan 24, 2017
@desktop/core I'd like to get started on our design changes sooner rather than later. How do you all feel about me putting this in M1 and starting work on it tomorrow and moving #840 to M2 (since that's kinda dependent on this) and finally putting #836 in M3 with the option to move to M2 if there's room at the end?
doc: rename GPG public key file to use .gpg extension (desktop#839)
doc: rename GPG public key file to use .gpg extension (desktop#839)