Skip to content

Popup redesign #839

Closed
Closed

Description

@niik

@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

  1. donokuda commented on Jan 20, 2017

    @donokuda
    Contributor

    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.

    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.

    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.

    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)

  2. pmn commented on Jan 20, 2017

    @pmn

    Another small detail, but we should consider having error text selectable so that users can copy and paste the error message into google.

    ❤️ x 💯

  3. niik commented on Jan 20, 2017

    @niik
    MemberAuthor

    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.

    I feel like we tried Back and opted for Cancel when we were playing with it the other day but I can't remember why exactly. Oh, wait, maybe it was because we settled on Cancel in the welcome flow? Either way, we can def play around with that.

    Another small detail, but we should consider having error text selectable so that users can copy and paste the error message into google.

    Yes, absolutely!

  4. niik commented on Jan 24, 2017

    @niik
    MemberAuthor

    @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?

  5. added
    design-input-needed
    on Jan 24, 2017
  6. locked as resolved and limited conversation to collaborators on Jul 23, 2018
  7. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design-input-needed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions