Skip to content

Add attachments in debates #13479

@carolromero

Description

@carolromero

Is your proposal related to a problem?
Currently, both participants and administrators cannot attach files when creating debates, limiting their ability to provide supporting documents or references.

Describe the solution you'd like
As an admin or participant, I want to be able to add attachments to debates and update them if the setting for allow attachments is enabled.

Mockups
Image

Image

Acceptance criteria:

  • Given I am an admin, when configuring a Debate component from the admin panel, then I should have an 'Allow attachments' setting (as in Proposals component).
  • Given I am an admin, when creating or editing a debate from the admin panel, then I should be able to upload one or more attachments to accompany the debate.
  • Given I am a participant, when creating or editing a debate from the frontend, then I should be able to upload one or more attachments to accompany the debate.
  • Given I am viewing a debate with attachments, then the attachments should be displayed as downloadable links.
  • Given I am uploading an attachment, then the system should validate file types and sizes based on pre-configured settings.

Metadata

Metadata

Assignees

Labels

project: 2024-developmentsBarcelona City Council contracttype: changePRs that implement a change for an existing feature

Type

No type

Projects

Status

Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions