Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #977 +/- ##
==========================================
Coverage 74.57% 74.57%
Complexity 3132 3132
==========================================
Files 132 132
Lines 12213 12213
==========================================
Hits 9108 9108
Misses 3105 3105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- Disables editing the blocks while the translation is pending. - Includes fixes to the shimmer animation, such as respecting current color, using two-layered background image to persist the background color, etc.
- Updated the shimmer animation to utilize CSS mask properties instead of background images for improved performance and visual consistency. - Adjusted opacity for loading elements to enhance visibility during loading states.
1554375 to
e2a6031
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
What, Why, and How?
The previous loading animation used a
background-clippingtechnique with the hard-codedcontent-neutral-weakcolor. As a result, the loading state replaced the element’s existing text color with the default gray and required additional clipping and blend-mode workarounds to handle elements with their own backgrounds. It also had issues rendering the animation properly with text highlights + custom text colors.This PR replaces that implementation with a simpler
mask-basedanimation. Because the mask operates on the element’s existing rendering instead of supplying a new color, it retains the underlying text and background colors while removing the previousbackground-clippingandblend-modeworkarounds.Mask-*has good support score.Use of AI Tools
AI assistance: Yes
Tool(s): Codex
Model(s): GPT-5.6 Sol
Used for: Suggesting mask properties, and code review.
Screencast
Changelog Entry