Fix File attachments in proposals#10290
Conversation
|
The failing specs are caused by Picmo, which is fixed by #10291 |
ahukkanen
left a comment
There was a problem hiding this comment.
Great!
Tested locally on develop and bug is confirmed. Tested again with this patch applied and bug is gone.
As a sidenote (not in the scope of this fix), we should consider adding the multiple attachment support also for the admin panel that we have at the participant side right now.
|
Ping @andreslucena @decidim/product Please see the review I left above. The proposal attachments functionality is currently inconsistent between the admin side and the participant side. |
|
@ahukkanen I agree. In fact in the front end the image and document input is split. Maybe we could simplify it so that it works the same on both sides. I would leave the "Add attachment" option for everything, implement multiple attachment upload in the admin, and correct the inconsistency in the guidance texts for uploading documents and images. We should modify them by explaining that the first attached image is displayed on the card. Do you want me to create the issue Antti, or you create it? Also, do you think this is something doable under the Maintainers scope of work or it's too much effort? |
* Fix File attachments in proposals * Fixing Failing specs Conflicts: decidim-core/app/commands/decidim/attachment_methods.rb





🎩 What? Why?
There is an error occurring when an Admin is trying to add an optional Attachment into a Proposal even though the Proposal component is configure to allow attachment.
📌 Related Issues
Link your PR to an issue
Testing
📷 Screenshots
Please add screenshots of the changes you're proposing
