Skip to content

Fix image focal point bug when dominant color is enabled by not overriding style attribute #582

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

Merged
merged 7 commits into from
Nov 16, 2022

Conversation

mukeshpanchal27
Copy link
Member

@mukeshpanchal27 mukeshpanchal27 commented Nov 15, 2022

Summary

Fixes #562

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.

@mukeshpanchal27 mukeshpanchal27 added [Type] Bug An existing feature is broken [Focus] Images [Plugin] Image Placeholders Issues for the Image Placeholders plugin (formerly Dominant Color Images) labels Nov 15, 2022
@mukeshpanchal27 mukeshpanchal27 added this to the 1.7.0 milestone Nov 15, 2022
@mukeshpanchal27 mukeshpanchal27 marked this pull request as ready for review November 15, 2022 10:36
Copy link
Member

@mehulkaklotar mehulkaklotar left a comment

Choose a reason for hiding this comment

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

@mukeshpanchal27 LGTM 🚀

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.

@mukeshpanchal27 Production code implementation looks good, could you please add a unit test to cover that the change works correctly though?

@felixarntz felixarntz changed the title Fix the focal point problem when the dominant color is enabled Fix the focal point problem when the dominant color is enabled by not overwriting style attribute Nov 15, 2022
@felixarntz felixarntz changed the title Fix the focal point problem when the dominant color is enabled by not overwriting style attribute Fix the focal point problem when the dominant color is enabled by not overriding style attribute Nov 15, 2022
@felixarntz felixarntz changed the title Fix the focal point problem when the dominant color is enabled by not overriding style attribute Fix image focal point bug when the dominant color is enabled by not overriding style attribute Nov 15, 2022
@felixarntz felixarntz changed the title Fix image focal point bug when the dominant color is enabled by not overriding style attribute Fix image focal point bug when dominant color is enabled by not overriding style attribute Nov 15, 2022
mukeshpanchal27 and others added 2 commits November 16, 2022 15:00
Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
Copy link
Contributor

@costdev costdev left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the feedback! LGTM now 👍

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.

@mukeshpanchal27 Great, tests looks solid too!

@felixarntz felixarntz merged commit 3f7aae5 into trunk Nov 16, 2022
@felixarntz felixarntz deleted the fix/562-focal-point-issue branch November 16, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Image Placeholders Issues for the Image Placeholders plugin (formerly Dominant Color Images) [Type] Bug An existing feature is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

With Dominant Color enabled, loses focal point settings
5 participants