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

Docs(web-twig): Demonstrate composition of Header with Dropdown #1048

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

Conversation

adamkudrna
Copy link
Contributor

Description

Demonstrate the composition of Header and Dropdown.

Additional context

image

image

Issue reference

N/A

@adamkudrna adamkudrna self-assigned this Sep 7, 2023
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 7, 2023
@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for spirit-design-system-storybook canceled.

Name Link
🔨 Latest commit ba53f06
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/667a93b32783f0000859e93f

@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for spirit-design-system-demo canceled.

Name Link
🔨 Latest commit da1e1f8
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-demo/deploys/654cca438fe36600086338d7

@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for spirit-design-system-react ready!

Name Link
🔨 Latest commit da1e1f8
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-react/deploys/654cca43f5fab400084fd90b
😎 Deploy Preview https://deploy-preview-1048--spirit-design-system-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for spirit-design-system-validations canceled.

Name Link
🔨 Latest commit da1e1f8
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-validations/deploys/654cca436125b70008554b24

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Coverage Status

coverage: 69.502% (-27.0%) from 96.46% when pulling 03d27f1 on docs/header-with-dropdown into 53fc021 on main.

@literat
Copy link
Collaborator

literat commented Sep 8, 2023

👏 Great. But consider usage of the button instead of the link for dropdown trigger :-)


<HeaderDesktopActions color="secondary">
<HeaderNav>
<HeaderNavItem UNSAFE_style="position: relative;">
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a foolish idea, but what about to apply display: contents; to the DropdownWrapper?
Then we could also use this component in the cases like this.

Copy link
Contributor

@dlouhak dlouhak Sep 11, 2023

Choose a reason for hiding this comment

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

I'm sorry, it's not true. It would affect the Dropdown menu. 🙈
But hypothetically flex… 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

display: contents would make DropdownWrapper disappear from DOM which would lead to a misplaced Dropdown

Originally, I was even considering rather a helper class like position-relative because that's the only thing I want it to do. Anything else could potentially cause more harm than good, I think.

Copy link
Contributor

Choose a reason for hiding this comment

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

There is a high chance that with Breeze version we are able to solve this case without additional styles – @adamkudrna will take a look at it if there will be a task in sprint. 🙌🏻

Copy link
Member

@crishpeen crishpeen left a comment

Choose a reason for hiding this comment

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

LGTM, please fix the already mentioned problems.

Also please add this demo to the React and Web packages.

@coveralls
Copy link

coveralls commented Sep 21, 2023

Coverage Status

Changes unknown
when pulling ba53f06 on docs/header-with-dropdown
into ** on main**.

Copy link

nx-cloud bot commented Nov 9, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit da1e1f8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

Copy link
Collaborator

@literat literat left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@adamkudrna adamkudrna requested a review from curdaj as a code owner June 25, 2024 09:53
Copy link

netlify bot commented Jun 25, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit ba53f06
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/667a93b395ba0a00086127a4
😎 Deploy Preview https://deploy-preview-1048--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 82 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented Jun 25, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit ba53f06. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

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

Successfully merging this pull request may close these issues.

5 participants