Skip to content

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

Merged
felixarntz merged 7 commits intotrunkfrom
fix/562-focal-point-issue
Nov 16, 2022
Merged

Fix image focal point bug when dominant color is enabled by not overriding style attribute#582
felixarntz merged 7 commits intotrunkfrom
fix/562-focal-point-issue

Conversation

@mukeshpanchal27
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 Nov 15, 2022
@felixarntz felixarntz changed the title 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 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 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
Copy Markdown
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
Copy Markdown
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

5 participants