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

chore: Navigation layout plugin implementation #883

Conversation

tobi-or-not-tobi
Copy link
Contributor

@tobi-or-not-tobi tobi-or-not-tobi commented Nov 9, 2023

Navigation layout plugin and shadow layout property plugin.

closes: HRZ-90383 HRZ-90391 HRZ-90390

@tobi-or-not-tobi tobi-or-not-tobi requested a review from a team as a code owner November 9, 2023 16:11
Copy link

cypress bot commented Nov 9, 2023

2 flaky tests on run #11031 ↗︎

0 46 46 0 Flakiness 2

Details:

fix tests
Project: Composable Storefront Commit: 3375062f81
Status: Passed Duration: 04:28 💡
Started: Nov 10, 2023 12:48 PM Ended: Nov 10, 2023 12:53 PM
Flakiness  search.cy.ts • 1 flaky test • sf-regression

View
Output
Video

Test Artifacts
Search suite > Products sorting > should apply all sorting options Test Replay Screenshots Video
Flakiness  category.cy.ts • 1 flaky test • sf-regression

View
Output
Video

Test Artifacts
... > should apply price filtering Test Replay Screenshots Video

Review all test suite changes for PR #883 ↗︎

@tobi-or-not-tobi tobi-or-not-tobi changed the title Navigation layout plugin implementation chore: navigation layout plugin implementation Nov 10, 2023
@tobi-or-not-tobi tobi-or-not-tobi changed the title chore: navigation layout plugin implementation chore: Navigation layout plugin implementation Nov 10, 2023
@Sinucid Sinucid self-requested a review November 10, 2023 12:05
@tobi-or-not-tobi tobi-or-not-tobi merged commit c0b0584 into feature/HRZ-2519-header-navigation Nov 10, 2023
20 of 23 checks passed
@tobi-or-not-tobi tobi-or-not-tobi deleted the feature/HRZ-90383-navigation-layout-plugin branch November 10, 2023 13:07
if (exactMatch) {
return of(currentUrl === url);
} else {
return of(currentUrl.startsWith(url));
Copy link
Contributor

Choose a reason for hiding this comment

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

there may be some edge cases, where startsWith may not always work as expected

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what edge cases?

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

Successfully merging this pull request may close these issues.

3 participants