-
Notifications
You must be signed in to change notification settings - Fork 12
fix: preset settings #974
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
fix: preset settings #974
Conversation
There was a problem hiding this 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.
Remove old solution
|
🎉 This PR is included in version 4.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
network_optimizationas 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
Warning
AVIF will be hidden in #975 so we can ignored in this PR
Other information: