-
Notifications
You must be signed in to change notification settings - Fork 0
fix: loading Hero Section Image eagerly and map lazily #950
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
Conversation
|
Warning: Component files have been updated but no migrations have been added. See https://github.com/yext/visual-editor/blob/main/packages/visual-editor/src/components/migrations/README.md for more information. |
WalkthroughThe changes add native HTML Pre-merge checks and finishing touches✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-12-15T20:59:20.838ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Relevant Tickets [OPAQF-24](https://yext.atlassian.net/browse/OPAQF-24), [OPAQF-22](https://yext.atlassian.net/browse/OPAQF-22). - Added a new `loading` prop to the `Image` atom, defaulting to `lazy`. - The `HeroImage` component now explicitly passes loading="eager". - Updated the Mapbox image to load lazily. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Relevant Tickets
OPAQF-24, OPAQF-22.
loadingprop to theImageatom, defaulting tolazy.HeroImagecomponent now explicitly passes loading="eager".