Skip to content
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

Popover #184

Closed
mcarrano opened this issue Apr 20, 2018 · 6 comments
Closed

Popover #184

mcarrano opened this issue Apr 20, 2018 · 6 comments

Comments

@mcarrano
Copy link
Member

Introduce a Popover component. See existing design here: https://rawgit.com/patternfly/patternfly/master-dist/dist/tests/popovers.html

@mcarrano mcarrano added the Feature end user feature that requires design to define this, i.e. changes or augments the user experience. label Apr 20, 2018
@mcarrano mcarrano added this to New Feature Request in PatternFly-Next Feature Board Apr 20, 2018
@LHinson LHinson added this to the 1.0.0-beta.1 milestone Jun 1, 2018
@LHinson LHinson moved this from Backlog to Visual Design in PatternFly 4 Feature Board Jun 1, 2018
@sjcox-rh
Copy link
Member

sjcox-rh commented Jun 12, 2018

Visuals ready for review!

Please keep in mind to various placements of popover when implementing - on right, on left, on top, on bottom.

screen shot 2018-06-12 at 10 19 46 am

screen shot 2018-06-12 at 10 15 58 am

@LHinson LHinson modified the milestones: 1.0.0-beta.1, 1.0.0-alpha.3 Jun 12, 2018
@LHinson LHinson added alpha 3 and removed beta 1 labels Jun 12, 2018
@matthewcarleton
Copy link
Contributor

Hey @sjcox-rh these are looking great. I think we need to make a few updates to the design though to keep things clear for the development stage.

  1. The spacers in green above and below the text are 8px but it looks like it is actually the same as the outside spacers (32px).
  2. Also the spacing around the X should align with what we have in the button component. That has 8px on every side.
  3. Can you also show what this would look like without a link in it? I am assuming it would not have the spacer below the text but just to be sure.

@mcarrano
Copy link
Member Author

@sjcox-rh Thanks for posting. We did review this with the UX Leads on 6/14 and it's approved from a stakeholder standpoint. After resolving @matthewcarleton 's issues this should be ready for implementation.

@LHinson LHinson moved this from Visual Design to CSS/HTML Development in PatternFly 4 Feature Board Jun 19, 2018
@LHinson LHinson assigned jlmitch5 and unassigned sjcox-rh Jun 19, 2018
@LHinson LHinson added css and removed visuals labels Jun 19, 2018
@trahman73
Copy link

From an Ansible Tower implementation standpoint, we were hoping to have a version of the close icon that is a little bit lighter as compared to the title font weight. My eyes are directly drawn to the close (a secondary function) vs the actual content.

We also want to ensure that the popover only closes when the user clicks either the close icon or outside of the popover itself as we have use cases where a user needs to be able to select text from the popover body.

Material Design Example:
image

@LHinson
Copy link
Member

LHinson commented Jul 17, 2018

@trahman73 PF-Core is a pure CSS project meaning the behavior will not be shown in this particular implementation. That said, this will be shown in the PF-React implementation. I went ahead and created the popover issue for pf-react development (although it's currently blocked) to include your notes regarding behavior. I think your approach makes sense. FYI @mcarrano

As for your concern with the close button, I've filed a separate issue for this against PF4. You can follow along over there but @kybaker and I will follow up on this.

@LHinson LHinson modified the milestones: 1.0.0-alpha.3, 1.0.0-alpha.4 Jul 18, 2018
@mcarrano
Copy link
Member Author

Agree that the interaction described above makes sense.

@dgutride dgutride added alpha 4 and removed alpha 3 labels Jul 24, 2018
@LHinson LHinson moved this from CSS/HTML Development to React Development in PatternFly 4 Feature Board Aug 6, 2018
@LHinson LHinson removed this from React Development in PatternFly 4 Feature Board Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

7 participants