Skip to content
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

Make image uploader easier to customize #10456

Merged

Conversation

Zales0123
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Related tickets
License MIT

It always annoyed me, that if you want to change anything in the images upload process (for example keep the file name, as it's done in our Behats) you need to override the whole, big service. With this change, a path generation logic has been extracted - I believe it provides much better DX right now (and fulfills SOLID principles as well) :)

@Zales0123 Zales0123 added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). DX Issues and PRs aimed at improving Developer eXperience. labels Jun 14, 2019
@Zales0123 Zales0123 requested a review from a team as a code owner June 14, 2019 13:29
Copy link
Member

@GSadee GSadee left a comment

Choose a reason for hiding this comment

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

But rebase is needed

@Zales0123 Zales0123 force-pushed the make-image-uploader-easier-to-customize branch from ce02ba2 to 2e6cab7 Compare June 17, 2019 13:42
Copy link
Contributor

@pamil pamil left a comment

Choose a reason for hiding this comment

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

Great idea, much simpler solution than my not merged #3703 a few years ago 🎉

@Zales0123 Zales0123 force-pushed the make-image-uploader-easier-to-customize branch from 2e6cab7 to 0663bed Compare June 24, 2019 09:47
@pamil pamil force-pushed the make-image-uploader-easier-to-customize branch from f697e7f to 04e2cad Compare August 1, 2019 08:24
@pamil pamil merged commit 23aeeb5 into Sylius:master Aug 1, 2019
@pamil
Copy link
Contributor

pamil commented Aug 1, 2019

Thank you, Mateusz! 🎉

@Zales0123
Copy link
Member Author

And Kamil! 🚀

@Zales0123 Zales0123 deleted the make-image-uploader-easier-to-customize branch August 1, 2019 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Issues and PRs aimed at improving Developer eXperience. Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants