Skip to content

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Mar 9, 2024

Checklist

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

@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
@westonruter westonruter marked this pull request as ready for review March 9, 2024 09:31
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.

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

Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Co-authored-by: felixarntz <flixos90@git.wordpress.org>

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

Comment on lines 64 to 65
/plugins/optimization-detective @westonruter
/tests/plugins/optimization-detective @westonruter
Copy link
Member

Choose a reason for hiding this comment

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

Nit-pick, let's align the spacing with the other entries.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated in 44a032f

@@ -3,7 +3,7 @@
* Can load function to determine if ILO can load.
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need can-load for plugin?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point! This is only for modules. Removed in 2106b9a.

*
* @package image-loading-optimization
* @package optimization-detective
* @since n.e.x.t
Copy link
Member

Choose a reason for hiding this comment

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

n.e.x.t should be updated to a specific version number.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated in 30e6b96.

But when do we use n.e.x.t then?

Copy link
Member

Choose a reason for hiding this comment

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

Apologies for the delayed response. The current npm run since -- -r {version} command runs on the entire file system and updates the same version. Therefore, if we use this command for Performance Lab file changes, it will also update the same version in other plugins, such as this one. We need to enhance that command to update the version for the plugin based on its configuration. In the meantime, we should use the actual version.

Base automatically changed from update/ilo-module-to-plugin to feature/image-loading-optimization March 11, 2024 16:27
westonruter and others added 4 commits March 11, 2024 09:31
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

I haven't reviewed the PR, but we just had a conversation about our plugin names this morning, and this name here isn't necessarily a good idea IMO.

I just opened #1046 to discuss more holistically.

@westonruter westonruter requested a review from felixarntz March 18, 2024 19:32
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

@westonruter Almost LGTM. Just a few small things.

@westonruter westonruter requested a review from felixarntz March 18, 2024 21:49
@felixarntz felixarntz merged commit 024d9c2 into feature/image-loading-optimization Mar 18, 2024
@felixarntz felixarntz deleted the update/ilo-to-optimization-detective branch March 18, 2024 21:54
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.

3 participants