-
Notifications
You must be signed in to change notification settings - Fork 360
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: fragment block #66
Conversation
|
blocks/fragment/fragment.js
Outdated
if (resp.ok) { | ||
const main = document.createElement('main'); | ||
main.innerHTML = await resp.text(); | ||
const img = main.querySelector('img'); |
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.
Why only first image is lazy loaded ?
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.
Because the rest is set tolazy
anyway. But to be honest, at this point it's irrelevant anyway, so I'll remove it again.
We should probably test (and add a check) for recursive fragment includes... |
|
It's still unclear what should happen with multiple sections, so I decided to remove multi-section support for now. We can add it back when we have a concrete use case. |
* setup * update * update * update * update * update * update * update * update * update * ignore lint on cypress * exclude from edge delivery deployment * update * update * update * update * update * update * update * save screenshots on fail * test failure * update * update * run on local * update * update * update * update * update feedback * remove possible static waits * debug first run failures * update * fix flakyness * retry moode reset
Fix #65