Skip to content
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

Move image-loading-optimization from module to plugin #1040

Merged

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Mar 9, 2024

This PR merges trunk into feature/image-loading-optimization and then moves the feature from a module to a plugin. The commits beyond the merge from trunk (07c1291) are 07c1291...28bbb70.

Previously:

Subsequent PR will rename to Optimization Detective.

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

felixarntz and others added 30 commits January 17, 2024 10:29
Auto-sizes: Disallow direct file access
Introduce plugins folder for standalone plugins
On unusual deployment setups (but notably WordPress Playground), the
path prefix might contain one of the URL pattern special characters,
such as :.

Escape these characters in the path prefix, and since some of these also
confuse the shorthand constructor string syntax, use the longhand syntax
which specifies that the presence of a : here does not indicate a
protocol/scheme.
Co-authored-by: Weston Ruter <[email protected]>
@westonruter westonruter added [Type] Enhancement A suggestion for improvement of an existing feature [Focus] Images no milestone PRs that do not have a defined milestone for release [Plugin] Optimization Detective Issues for the Optimization Detective plugin labels Mar 9, 2024
Copy link

github-actions bot commented Mar 9, 2024

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 props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @jeremyroman.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: jeremyroman.

Co-authored-by: felixarntz <[email protected]>
Co-authored-by: joemcgill <[email protected]>
Co-authored-by: mukeshpanchal27 <[email protected]>
Co-authored-by: westonruter <[email protected]>
Co-authored-by: adamsilverstein <[email protected]>
Co-authored-by: swissspidy <[email protected]>
Co-authored-by: desrosj <[email protected]>
Co-authored-by: thelovekesh <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

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

LGTM!

Why do we need an additional build step as seen in 28bbb70? We don't seem to have it in the trunk. Just asking to clarify.

@westonruter
Copy link
Member Author

Why do we need an additional build step as seen in 28bbb70? We don't seem to have it in the trunk. Just asking to clarify.

Good question. Unlike trunk, the Optimization Detective plugin includes JavaScript assets. This asset build process isn't currently needed in trunk, but it is needed by this plugin and as it will by Web Worker Offloading (#556) as well.

@westonruter westonruter merged commit fac7213 into feature/image-loading-optimization Mar 11, 2024
41 checks passed
@westonruter westonruter deleted the update/ilo-module-to-plugin branch March 11, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no milestone PRs that do not have a defined milestone for release [Plugin] Optimization Detective Issues for the Optimization Detective plugin [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.