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

feat: migration to swiper 11 #1616

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tbouliere-datasolution
Copy link
Contributor

PR Type

[ ] Bugfix
[x ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

Swiper library version not up to date

What Is the New Behavior?

Swiper has been set to 11.
A new angular component ish-swiper has been introduce to wrap swiper web-elements.
Previous css has been migrate to css variable or css style injected to the shadow dom.

There was an improvement made in this commit (cbe9072) to lazily fetch product. As this used a swiper function that no longer exists, a ish-lazy-item genetic component was introduced. This makes it possible to perform the same optimization with an intersectionObserver and an ng-template

Does this PR Introduce a Breaking Change?

[x ] Yes
[ ] No

Other Information

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.

1 participant