FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improve autoloaded options check by highlighting largest autoloaded options by rytisder · Pull Request #353 · WordPress/performance · GitHub

Improve autoloaded options check by highlighting largest autoloaded options - #353

Merged
mukeshpanchal27 merged 8 commits into
WordPress:trunkfrom
rytisder:feature/implement-autoload-explanation-table
Sep 14, 2022
Merged

Improve autoloaded options check by highlighting largest autoloaded options#353
mukeshpanchal27 merged 8 commits into
WordPress:trunkfrom
rytisder:feature/implement-autoload-explanation-table

Conversation

rytisder commented Jun 2, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Summary

Example:

Fixes #350

Relevant technical choices

Checklist

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

rytisder requested a review from manuelRod as a code owner June 2, 2022 15:11
felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature [Focus] Site Health labels Jun 2, 2022
felixarntz added this to the 1.2.0 milestone Jun 2, 2022

felixarntz 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@rytisder Thank you for the pull request!

This looks great. I have a few bits of small feedback, most importantly it would be great to make the threshold value filterable so that external code such as plugins can change it.

rytisder force-pushed the feature/implement-autoload-explanation-table branch from 93cdfff to 85ea43d Compare June 2, 2022 15:47
rytisder force-pushed the feature/implement-autoload-explanation-table branch from 85ea43d to f73bb65 Compare June 4, 2022 11:56
rytisder force-pushed the feature/implement-autoload-explanation-table branch from f73bb65 to 9d2539d Compare June 4, 2022 11:58

Copy link
Copy Markdown
Member

@rytisder Thanks for fixing it so quickly.

felixarntz 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@rytisder Thank for the updates, looks great! I just left a few more comments, almost all of them small details. Functionally this is already good, but it would be great if you could address the remaining feedback.

FYI no need to force-push, we typically just work with full commit history. So you can just add commits as you go.

manuelRod commented Jun 7, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Hello @rytisder thanks for the PR, it really makes this site health check more self-explanatory and complete :)
I left a small comment, and I would add maybe a unit test to covering perflab_aao_autoloaded_options()
As for the rest, looks good to me.
Also, don't forget to add you as code owner for this module.

Copy link
Copy Markdown
Member

@rytisder I will add some additional feedback on the PR, Below is the description for changes that I request.

  1. You have used the static wp_options table name that needs to update.
  2. Then </tr> missing on code https://github.com/rytisder/performance/blob/feature/implement-autoload-explanation-table/modules/site-health/audit-autoloaded-options/load.php#L155 once it will be added it automatically use WordPress grid design like the attached image.


Note: To get this site health report in this image I changed some threshold values.

@felixarntz In WordPress site health report it doesn't use a number column to identify its column number in any of their site health report in the info tab( WordPress, Directories and Sizes, Server, etc..) so for consistency do we need to remove it?

Copy link
Copy Markdown
Member

@mukeshpanchal27 Thank you, great additional points!

In WordPress site health report it doesn't use a number column to identify its column number in any of their site health report in the info tab( WordPress, Directories and Sizes, Server, etc..) so for consistency do we need to remove it?

Agreed, let's remove the first # column.

@rytisder Would be great if you could follow up on the additional feedback above! :)

felixarntz modified the milestones: 1.2.0, 1.3.0 Jun 14, 2022

rytisder commented Jun 16, 2022
edited
Loading

Copy link
Copy Markdown
Contributor Author

@felixarntz, all suggestions mentioned above are pushed! 🙂

Copy link
Copy Markdown
Member

This isn't ready yet due to the outstanding iterations requested, so I'll remove the 1.3.0 milestone from here. Once this gets picked up and continued towards merge, we can add a milestone again.

@rytisder Will you be able to continue on the iterations requested above? If not, would you be open to another contributor taking over and continuing your work?

felixarntz removed this from the 1.3.0 milestone Jul 14, 2022

Copy link
Copy Markdown
Member

Reminder:

@rytisder Will you be able to continue on the iterations requested above? If not, would you be open to another contributor taking over and continuing your work?

mukeshpanchal27 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@rytisder Thanks for the update. PR looks good now. Can you please address feedback and merge the latest changes from trunk into your branch.

mukeshpanchal27 added this to the 1.5.0 milestone Sep 12, 2022

Copy link
Copy Markdown
Member

Set milestone to 1.5. Feel free to update change it if this is not ready.

felixarntz 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@mukeshpanchal27 Since the remaining 2 tweaks from https://github.com/WordPress/performance/pull/353/files#r967984960 and #353 (review) are so tiny, let's merge this and then addresse those things in a follow up PR right after, if you're okay with that.

felixarntz changed the title Improve wp_options autoload audit Improve autoloaded options check by highlighting largest autoloaded options Sep 12, 2022
felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature and removed [Type] Enhancement A suggestion for improvement of an existing feature labels Sep 12, 2022

mukeshpanchal27 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you very much, @rytisder! For the remaining work on this PR, we will create a separate PR.

Copy link
Copy Markdown
Member

@tillkruss Can you please review so we can merge this and add new follow-up PR to address remaining points.

  • Document is missing for the filter perflab_aao_autoloaded_options_table_threshold

Copy link
Copy Markdown
Member

@mukeshpanchal27

Can you please review so we can merge this and add new follow-up PR to address remaining points.

  • Document is missing for the filter perflab_aao_autoloaded_options_table_threshold

Looks like we can actually edit the branch here directly. In that case, we could also adjust it directly in here. But either way works, would be great if you could complete the work here. 🙌

Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
mukeshpanchal27 merged commit 43369da into WordPress:trunk Sep 14, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve audit wp_options results with Autoload top list

7 participants


Back | FazBrowse Home | New Git URL