Skip to content

Feat/performance recommended plugins - #4577

Open
harshitarora-in wants to merge 4 commits into
developmentfrom
feat/performance-recommended-plugins
Open

Feat/performance recommended plugins#4577
harshitarora-in wants to merge 4 commits into
developmentfrom
feat/performance-recommended-plugins

Conversation

@harshitarora-in

@harshitarora-in harshitarora-in commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a new Recommended Plugins section in the Dashboard Settings Performance tab.

It introduces plugin cards for:

  • Optimole
  • Super Page Cache

Behavior included:

  • The card is shown only for promoted plugins that are available and not already active
  • Clicking the CTA triggers the plugin action flow (install/activate)
  • Success state shows an “Active” pill and hides active plugins from the list
  • Error state shows a toast message
  • The Performance tab layout was updated so this new section appears below the existing performance settings card

Will affect visual aspect of the product

YES

Screenshots

Screenshot 2026-08-11 at 4 03 15 PM

Test instructions

  • Go to Dashboard -> Settings -> Performance
  • Confirm “Recommended Plugins” card is visible with promoted plugins
  • Confirm plugins already active are not shown
  • Click CTA for a promoted plugin and verify install/activate flow completes
  • Verify “Active” pill appears and plugin card hides after success
  • Verify no console errors in browser devtools
  • Regression check: General / White Label / Manage Modules tabs still render correctly

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/neve-pro-addon/issues/3027

@harshitarora-in
harshitarora-in changed the base branch from master to development August 11, 2026 10:35
@pirate-bot pirate-bot added the pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label) label Aug 11, 2026
@pirate-bot

pirate-bot commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Plugin build for 809a825 is ready 🛎️!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds promoted performance-plugin recommendations to the Dashboard Settings Performance tab.

Changes:

  • Adds Optimole and Super Page Cache cards with install/activation actions.
  • Adds loading, success, error, and telemetry handling.
  • Updates the settings layout to display recommendations below performance settings.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
assets/apps/dashboard/src/Components/Content/Settings/PerformancePlugins.js Implements promoted plugin cards and action states.
assets/apps/dashboard/src/Components/Content/Settings.js Integrates the recommendations into the Performance tab.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +38 to +40
if (isPluginActive && !success) {
return null;
}
Co-authored-by: harshitarora-in <56164789+harshitarora-in@users.noreply.github.com>
Comment thread assets/apps/dashboard/src/Components/Content/Settings.js Outdated
Move PerformancePlugins into PerformanceTabContent so it reuses the tab's
existing conditional and TransitionWrapper, instead of duplicating both in
Settings.js.

Nested inside the settings card, the component's own Card rendered a white
box inside a white box, so add a `flat` variant to Card that keeps the
header but drops the box styling. It defaults to false, leaving the other
20 usages unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants