Skip to content

Conversation

@RaduCristianPopescu
Copy link
Contributor

@RaduCristianPopescu RaduCristianPopescu commented Sep 30, 2025

All Submissions:

Changes proposed in this Pull Request:

  • Enabled network_optimization as the default for new users to match the Speed Optimization profile.

Closes https://github.com/Codeinwp/optimole-service/issues/1560

2025-10-01_17-58-49.mp4

How to test

  1. Use a new account on a new instance
  2. Check if the Network Optimization is enabled when going to Custom

Warning

AVIF will be hidden in #975 so we can ignored in this PR

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where the first-time access to the custom tab in the Speed Optimized page wasn't properly saving preset settings. The fix ensures that preset settings are correctly applied when the compression mode is initialized.

  • Adds a useEffect hook to apply preset settings on component mount
  • Ensures compression mode transformations are triggered for 'speed_optimized' and 'quality_optimized' modes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pirate-bot
Copy link
Collaborator

pirate-bot commented Sep 30, 2025

Plugin build for bac97f3 is ready 🛎️!

@selul selul merged commit 3be6810 into development Oct 1, 2025
11 checks passed
@selul selul deleted the fix/preset_settings branch October 1, 2025 19:33
@pirate-bot
Copy link
Collaborator

🎉 This PR is included in version 4.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants