Skip to content

Enhance the signature export system and PDF generation to simplify their handling. #13685

@NilHomedes

Description

@NilHomedes

Is your feature request related to a problem? Please describe.
As an administrator, when I export the signatures file of an initiative, I encounter a format that is not useful to me, as there are columns that are unnecessarily repetitive or columns that appear with no information.

Moreover, when using a timestamp (like in Barcelona), the timestamp is too long and due to the limited column width, one signature takes 3 pages. This makes the file completely unreadable.

Describe the solution you'd like
When exporting the PDF with signatures, I want the file to, by default, display the following columns: Signature count, Nickname, Date and time. If additional personal data (Name and surname, Document number, Date of birth, Postal code) is collected, I also want it to be displayed.

If a column contains a large amount of text, the width of that column should be expanded to prevent a single signature from occupying so much space.

The display of the PDF should be horizontal, so we improve the readability of it.

Describe alternatives you've considered
Work in the export file in text editing tools in order to have a readable file.

Additional context

Current PDF structure:

Desired PDF structure:

  • Horizontal formatting
Initiative ID Initiative Title Start date End date Number of signature Scope
           
Signature count Nickname Date and time Hash Name and surname (optional) Document number (optional) Date of birth (optional) Postal code (optional) Timestamp (optional)

Does this issue could impact on users private data?

It could, in the case that the collection of personal data is enabled.

Acceptance criteria

  • Given I’m an admin
    When exporting the signature file for an initiative,
    Then the default PDF format should display the defined columns.
  • Given I’m an admin
    When exporting the signature file If additional personal data fields are collected for signatures (Name and surname, Document number, Date of birth, Postal code),
    Then they should also be displayed in the exported PDF.
  • Given I’m an admin
    When exporting the signature file, If a field have too many characters,
    Then the column width increase.
  • Given I’m an admin
    When exporting the signature file
    Then the exported PDF should not include any unnecessary or empty columns.
  • Given I’m an admin
    When exporting the signature file
    Then, the exported PDF should have an horizontal formatting.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions