Skip to content

fix(PictureThumbnail): Show spinner while images load#3693

Merged
tvdeyen merged 2 commits intomainfrom
fix-image-loader
Feb 18, 2026
Merged

fix(PictureThumbnail): Show spinner while images load#3693
tvdeyen merged 2 commits intomainfrom
fix-image-loader

Conversation

@tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 18, 2026

What is this pull request for?

The connectedCallback used replaceChildren which immediately replaced
the spinner with the still-loading image. Now it appends the image
alongside the spinner so both are in the DOM. The existing CSS hides the
image via opacity: 0 on the [loading] attribute and fades it in once
the loading attribute is removed.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

hoist the tooltip when nested in a ingredient editor
also make the surrounding smaller so that the hoverable
area is just the icon and not the whole background
The connectedCallback used replaceChildren which immediately replaced
the spinner with the still-loading image. Now it appends the image
alongside the spinner so both are in the DOM. The existing CSS hides the
image via opacity: 0 on the [loading] attribute and fades it in once
the loading attribute is removed.
@tvdeyen tvdeyen requested a review from a team as a code owner February 18, 2026 10:18
@tvdeyen tvdeyen added bug backport-to-8.0-stable Needs to be backported to 8.0-stable backport-to-8.1-stable Needs to be backported to 8.1-stable labels Feb 18, 2026
@tvdeyen tvdeyen enabled auto-merge February 18, 2026 10:18
@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.46%. Comparing base (0e9c876) to head (42e6460).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3693   +/-   ##
=======================================
  Coverage   97.46%   97.46%           
=======================================
  Files         314      314           
  Lines        8288     8288           
=======================================
  Hits         8078     8078           
  Misses        210      210           

☔ View full report in Codecov by Sentry.
📢 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.

@tvdeyen tvdeyen disabled auto-merge February 18, 2026 10:33
@tvdeyen tvdeyen merged commit 688ae4c into main Feb 18, 2026
25 checks passed
@tvdeyen tvdeyen deleted the fix-image-loader branch February 18, 2026 10:33
@alchemycms-bot
Copy link

💔 Some backports could not be created

Status Branch Result
8.0-stable Backport failed because of merge conflicts
8.1-stable

Manual backport

To create the backport manually run:

backport --pr 3693

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@tvdeyen tvdeyen removed the backport-to-8.0-stable Needs to be backported to 8.0-stable label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-8.1-stable Needs to be backported to 8.1-stable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments