Skip to content

Refactor blog image loading - #2238

Merged
bluwy merged 1 commit into
mainfrom
blog-lazy-load
Aug 11, 2026
Merged

Refactor blog image loading#2238
bluwy merged 1 commit into
mainfrom
blog-lazy-load

Conversation

@bluwy

@bluwy bluwy commented Aug 11, 2026

Copy link
Copy Markdown
Member

This refactors all images be written in markdown instead so VitePress can auto-calculate the width and height. Plus, use the attrs syntax to set some attributes on the image.

@bluwy
bluwy requested a review from beeequeue August 11, 2026 13:48
@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for changesets ready!

Name Link
🔨 Latest commit 6046f22
🔍 Latest deploy log https://app.netlify.com/projects/changesets/deploys/6a7b284d150c760008edc969
😎 Deploy Preview https://deploy-preview-2238--changesets.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 project configuration.

@changeset-bot

changeset-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6046f22

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

</script>

![Banner](/blog/announcing-changesets-v3.png)
![Banner](/blog/announcing-changesets-v3.png){loading="eager"}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is kept eager as it's above the fold

@beeequeue beeequeue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If the setting works, great!

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.53%. Comparing base (2f08662) to head (6046f22).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2238   +/-   ##
=======================================
  Coverage   84.53%   84.53%           
=======================================
  Files          80       80           
  Lines        3168     3168           
  Branches      890      890           
=======================================
  Hits         2678     2678           
  Misses        433      433           
  Partials       57       57           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bluwy
bluwy added this pull request to the merge queue Aug 11, 2026
Merged via the queue into main with commit 76dad93 Aug 11, 2026
18 checks passed
@bluwy
bluwy deleted the blog-lazy-load branch August 11, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants