Skip to content

Fix dominant color upload process to not override potential third-party editors #401

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 4 commits into from
Jul 6, 2022

Conversation

spacedmonkey
Copy link
Member

@spacedmonkey spacedmonkey commented Jun 28, 2022

Summary

Replace editor in a cleaner way.

Fixes #374

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.

@spacedmonkey spacedmonkey added [Type] Bug An existing feature is broken [Focus] Images [Plugin] Image Placeholders Issues for the Image Placeholders plugin (formerly Dominant Color Images) labels Jun 28, 2022
@spacedmonkey spacedmonkey requested a review from felixarntz June 28, 2022 21:44
@spacedmonkey spacedmonkey self-assigned this Jun 28, 2022
@spacedmonkey spacedmonkey requested a review from pbearne as a code owner June 28, 2022 21:44
Copy link
Contributor

@pbearne pbearne left a comment

Choose a reason for hiding this comment

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

nice

@felixarntz felixarntz added this to the 1.3.0 milestone Jun 29, 2022
@felixarntz felixarntz changed the title Dominant color upload process ignores potential third-party editors Fix dominant color upload process to not override potential third-party editors Jun 29, 2022
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.

@spacedmonkey Thanks, production code looks good, just one tiny nit-pick.

There are unit test failures though, could you check and address those?

spacedmonkey and others added 2 commits June 29, 2022 19:13
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
@spacedmonkey
Copy link
Member Author

There are unit test failures though, could you check and address those?

Tests are failing because #405. This is because ImageMagik is flagging all gifs as transparent. I have put a workaround in for now and we can tackle that issue there.

Copy link
Member

@adamsilverstein adamsilverstein left a comment

Choose a reason for hiding this comment

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

Code looks good to me!

@spacedmonkey spacedmonkey merged commit 525209d into trunk Jul 6, 2022
@spacedmonkey spacedmonkey deleted the fix/third-party-editor branch July 6, 2022 15:58
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.

Dominant color upload process ignores potential third-party editors
5 participants