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

Update applauncher masthead #1049

Merged

Conversation

mcoker
Copy link
Contributor

@mcoker mcoker commented May 7, 2018

Description

Update masthead in app launcher examples to reflect new masthead design http://www.patternfly.org/pattern-library/application-framework/masthead/#design

fixes patternfly/patternfly#1031

Changes

Write a list of changes the PR introduces

  • remove caret from help menu
  • change app launcher dropdown menu from infotip to standard dropdown
  • update app launcher's hover/open states to match the help and user links

Link to rawgit and/or image

https://rawgit.com/michael-coker/patternfly/update-applauncher-masthead-dist/dist/tests/application-launcher.html

PR checklist (if relevant)

  • Cross browser: works in IE9
  • Cross browser: works in IE10
  • Cross browser: works in IE11
  • Cross browser: works in Edge
  • Cross browser: works in Chrome
  • Cross browser: works in Firefox
  • Cross browser: works in Safari
  • Cross browser: works in Opera
  • Responsive: works in extra small, small, medium and large view ports.
  • Preview the PR: An image or a URL for designer to preview this PR is provided.

@mcoker
Copy link
Contributor Author

mcoker commented May 8, 2018

@mcarrano @matthewcarleton @jeff-phillips-18 @jgiardino would someone mind reviewing this PR?

Copy link
Member

@mcarrano mcarrano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @michael-coker except that it looks like on the tall masthead versions the User menu (i.e Brain Johnson) is lower than the two icon menus to the left. Can you check that? Might be just my eyes but they don't look vertically aligned.

@mcoker
Copy link
Contributor Author

mcoker commented May 8, 2018

@mcarrano it kinda looked that way to me, too. Here are a couple of screenshots with guides that show the top and bottom of the middle (help) icon. Looks like the help and user icons are aligned to the bottom of the guide in each browser, but even though they're the same font size, they're different heights (by 1px). Want me to make an adjustment?

firefox

firefox

chrome

chrome

@mcarrano
Copy link
Member

mcarrano commented May 8, 2018

Yes, I see what's going on @michael-coker . The other thing that adds to this illusion is that the text "Brian Johnson" is bottom aligned with the icons rather than center-aligned. Before making more changes, I'd like @kybaker to take a look. Do you feel like the user icon and/or the menu should be adjusted to make these items appear in a straight line? Or do you think it's OK as is?

@mcoker mcoker force-pushed the update-applauncher-masthead branch from 571198b to fe884ef Compare May 14, 2018 21:10
@mcoker
Copy link
Contributor Author

mcoker commented May 14, 2018

@mcarrano I re-worked this so the text is center aligned, but the build on Travis is failing. I believe this is the error:

compare | Chromy error: Error. See scenario – about-modal (large-device)

I pulled down master and rebased before updating the branch, but didn't change anything with the modal. @dgutride @mindreeper2420 do you know anything about that test? You can see the build output here - https://travis-ci.org/michael-coker/patternfly/builds/378927992

@mcoker
Copy link
Contributor Author

mcoker commented May 15, 2018

@mcarrano the vertical alignment updates are in the latest build if you want to review - https://rawgit.com/michael-coker/patternfly/update-applauncher-masthead-dist/dist/tests/application-launcher.html

mcarrano
mcarrano previously approved these changes May 15, 2018
Copy link
Member

@mcarrano mcarrano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @michael-coker . Thanks for addressing the alignment.

@@ -105,9 +105,8 @@

.navbar-utility .applauncher-pf {
.dropdown-menu {
border-width: @applauncher-pf-menu-link-border-width !important;
//border-width: @applauncher-pf-menu-link-border-width !important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Removed.

@mcoker
Copy link
Contributor Author

mcoker commented May 17, 2018

@jeff-phillips-18 @dgutride can you merge this PR?

@jeff-phillips-18 jeff-phillips-18 merged commit 2c69ebf into patternfly:master May 17, 2018
jeff-phillips-18 added a commit to jeff-phillips-18/patternfly-3 that referenced this pull request May 18, 2018
Some RCUE sass files were not generated due to the timing of the rcue addition and modifications
made in patternfly#1049
jeff-phillips-18 added a commit that referenced this pull request May 18, 2018
Some RCUE sass files were not generated due to the timing of the rcue addition and modifications made in #1049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Application Launcher examples to reflect latest Masthead styling
3 participants