You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it's a package used.. because a decent image upload preview is something interesting.. But if this is only JS i'm still on the same position there is no added value.
But ... if this comes with other things related to back-end, I do see the point
Activity
smnandre commentedon May 24, 2025
To me there really is something to offer there, but not with the current version clearly.
So let's start working on the next version? @sblondeau ? :)
[-]Deprecate DropZone for 2.x, remove it in 3.x[/-][+]Deprecate Dropzone for 2.x, remove it in 3.x[/+]Kocal commentedon May 24, 2025
What do you have in mind? 👀
Because at the moment, Dropzone is legit only a
FileType
with an already configured placeholder attr and few opinionated Twig, JS and CSS code.smnandre commentedon May 24, 2025
cf #2642 #2704 #2747
And it's a package used.. because a decent image upload preview is something interesting.. But if this is only JS i'm still on the same position there is no added value.
But ... if this comes with other things related to back-end, I do see the point
Kocal commentedon May 24, 2025
As you said in #2704 (comment), I also think providing opinionated Twig/JS/CSS code is not safe enough for us nor the user.
Maybe, instead we can provide some Twig components to let user define their own UI:
but, that also too opinionated...
When deprecating and removing this package, I had in mind to migrate it in a UX Toolkit kit, through the Recipe system:
bin/console ux:toolkit:install-recipe Upload
WDYT?
smnandre commentedon May 24, 2025
Seems a very good idea 🤝
smnandre commentedon Jun 25, 2025
Well i'm having more and more doubts
https://packagist.org/packages/symfony/ux-dropzone/stats
I still agree with your idea but we'll see end of summer how it goes
Kocal commentedon Jun 25, 2025
I feel like we should not deprecate it