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

Masthead: add demo that includes horizontal nav #10241

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ajaypratap003
Copy link
Member

What: Closes #6826
Masthead: add demo that includes horizontal nav

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Apr 3, 2024

@tlabaj tlabaj requested review from a team, mmenestr and mattnolting and removed request for a team April 17, 2024 13:46
Copy link
Contributor

@wise-king-sullyman wise-king-sullyman 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!

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.

Copy link
Contributor

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

🎉

@tlabaj
Copy link
Contributor

tlabaj commented Apr 24, 2024

@ajaypratap003 this demo was recently added to the v6 branch. Perhaps you could cherry pick that commit, or you could make sure they align.

@ajaypratap003
Copy link
Member Author

@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

@tlabaj
Copy link
Contributor

tlabaj commented Apr 25, 2024

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

@ajaypratap003
Copy link
Member Author

@tlabaj Can you please merge this PR if everything look good.

Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

Copy link
Contributor

@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

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

Nice work! Looks like you need to add toolbar to .pf-v5-c-masthead__content.

Screenshot 2024-04-30 at 1 32 47 PM

@ajaypratap003
Copy link
Member Author

Nice work! Looks like you need to add toolbar to .pf-v5-c-masthead__content.

Screenshot 2024-04-30 at 1 32 47 PM

@mattnolting Sorry, I don't get this point. Can you please describe bit more

Copy link
Contributor

@kmcfaul kmcfaul left a 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.

@mattnolting
Copy link
Contributor

@kmcfaul @ajaypratap003
From: https://www.patternfly.org/components/masthead/html-demos/horizontal-nav/

Screenshot 2024-05-08 at 12 44 27 PM

Copy link
Contributor

@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

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

nav goes inside a toolbar__item with the class pf-m-overflow-container

Current

Screenshot 2024-05-08 at 2 20 31 PM

update
Screenshot 2024-05-08 at 2 20 19 PM

@ajaypratap003
Copy link
Member Author

nav goes inside a toolbar__item with the class pf-m-overflow-container

Current

Screenshot 2024-05-08 at 2 20 31 PM **update** Screenshot 2024-05-08 at 2 20 19 PM

nav is already inside toolbar_item. this is the latest commit 525f4a7

@mattnolting
Copy link
Contributor

nav goes inside a toolbar__item with the class pf-m-overflow-container
Current
Screenshot 2024-05-08 at 2 20 31 PM
update Screenshot 2024-05-08 at 2 20 19 PM

nav is already inside toolbar_item. this is the latest commit 525f4a7

Still can't see these.

This private-user-images.githubusercontent.com page can’t be found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Masthead: add demo that includes horizontal nav
8 participants