-
Notifications
You must be signed in to change notification settings - Fork 356
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
Masthead: add demo that includes horizontal nav #10241
Conversation
Preview: https://patternfly-react-pr-10241.surge.sh A11y report: https://patternfly-react-pr-10241-a11y.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
One question I have, I wonder if we would want to remove all of the logic for the search input and the favoriting and everything? It seems like it isn't really the focus of this demo and it seems to take up about half of the file.
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@ajaypratap003 this demo was recently added to the v6 branch. Perhaps you could cherry pick that commit, or you could make sure they align. |
@tlabaj Can you please share the commit which is related to this PR |
@ajaypratap003 Nevermind. I was mistaken. it was a Nav example that was added. |
@tlabaj Can you please merge this PR if everything look good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattnolting Sorry, I don't get this point. Can you please describe bit more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@mattnolting Can you explain a bit more what your requested change is? The masthead content does contain the toolbar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nav is already inside toolbar_item. this is the latest commit 525f4a7 |
Still can't see these.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, need to include nav in a single toolbar
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Show resolved
Hide resolved
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx
Outdated
Show resolved
Hide resolved
…rizontalNav.tsx Co-authored-by: Matt Nolting <[email protected]>
…rizontalNav.tsx Co-authored-by: Matt Nolting <[email protected]>
…rizontalNav.tsx Co-authored-by: Matt Nolting <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Looks like you got it all 👍
What: Closes #6826
Masthead: add demo that includes horizontal nav
Additional issues: