Skip to content

Enhance signature pdf export#13778

Merged
alecslupu merged 11 commits intodevelopfrom
feat/enhance-signature-pdf-export
Jan 13, 2025
Merged

Enhance signature pdf export#13778
alecslupu merged 11 commits intodevelopfrom
feat/enhance-signature-pdf-export

Conversation

@mllocs
Copy link
Copy Markdown
Contributor

@mllocs mllocs commented Dec 17, 2024

🎩 What? Why?

Improve the format of the PDF export of the initiatives votes signatures to make it more useful.

📌 Related Issues

Testing

📷 Screenshots

CleanShot 2024-12-17 at 18 08 33@2x

♥️ Thank you!

github-actions[bot]

This comment was marked as outdated.

github-actions[bot]
github-actions bot previously approved these changes Dec 17, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 18, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 19, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 19, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 19, 2024
@mllocs mllocs marked this pull request as ready for review December 20, 2024 07:59
@mllocs mllocs requested a review from furilo December 20, 2024 08:00
github-actions[bot]
github-actions bot previously approved these changes Dec 23, 2024
github-actions[bot]
github-actions bot previously approved these changes Dec 23, 2024
@mllocs
Copy link
Copy Markdown
Contributor Author

mllocs commented Dec 23, 2024

@NilHomedes sending it to you, @furilo already sent me feedback in another channel.

@andreslucena
Copy link
Copy Markdown
Member

@NilHomedes sending it to you, @furilo already sent me feedback in another channel.

Please let's do the feedback in the same place, if not it's really difficult to manage a project with too many actors.

Copy link
Copy Markdown
Member

@NilHomedes NilHomedes left a comment

Choose a reason for hiding this comment

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

Hi @mllocs and happy new year!

Everything is working as expected, just a thing:

  • The PDF export file is showing empty columns. So, as defined in the AC, if we are not collecting personal data, then the columns: Name and surname, Document number, Date of birth, Postal code. Should not be displayed in the export file.
    imatge

@mllocs
Copy link
Copy Markdown
Contributor Author

mllocs commented Jan 8, 2025

Hi @mllocs and happy new year!

Everything is working as expected, just a thing:

  • The PDF export file is showing empty columns. So, as defined in the AC, if we are not collecting personal data, then the columns: Name and surname, Document number, Date of birth, Postal code. Should not be displayed in the export file.
    imatge

Hey @NilHomedes! Happy new year!

Yep, noticed that. The thing is that depending on the Initiative Type, the admin decides if these fields are collected or not (See "Collect participant personal data on signature" in https://decidim-lot2.populate.tools/admin/initiatives_types/1/edit). I'm showing the columns or not depending on that setting, the thing is that those fields are not mandatory and can still be empty...

Copy link
Copy Markdown
Member

@NilHomedes NilHomedes left a comment

Choose a reason for hiding this comment

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

Hey @mllocs, I disabled the setting "Collect personal data", and now the PDF file is in vertical format. See: votes_1-2.pdf

  • The signature PDF file should always be horizontal.

  • Could we get rid of the modal that appears when clicking on "Export signatures"? It seems that you are deleting something, but that's not the case for the action of exporting signatures.
    Screenshot 2025-01-10 at 13-37-37 About this initiative - Soterrament de les vies de Montcada Estació - Admin - Test Site for Lot2

  • [ ]

@andreslucena andreslucena assigned NilHomedes and unassigned mllocs Jan 13, 2025
github-actions[bot]
github-actions bot previously approved these changes Jan 13, 2025
@mllocs
Copy link
Copy Markdown
Contributor Author

mllocs commented Jan 13, 2025

Hey @mllocs, I disabled the setting "Collect personal data", and now the PDF file is in vertical format. See: votes_1-2.pdf

  • The signature PDF file should always be horizontal.
  • Could we get rid of the modal that appears when clicking on "Export signatures"? It seems that you are deleting something, but that's not the case for the action of exporting signatures.
    Screenshot 2025-01-10 at 13-37-37 About this initiative - Soterrament de les vies de Montcada Estació - Admin - Test Site for Lot2
  • [ ]

Fixed both items! Updated staging :)

@mllocs mllocs requested a review from NilHomedes January 13, 2025 13:25
Copy link
Copy Markdown
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

Codewise looks ok, I am waiting @NilHomedes's input to move forward.

Copy link
Copy Markdown
Member

@NilHomedes NilHomedes left a comment

Choose a reason for hiding this comment

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

Thanks @mllocs now looks good to me! 💯

@alecslupu alecslupu added this to the 0.30.0 milestone Jan 13, 2025
@alecslupu alecslupu merged commit d25a007 into develop Jan 13, 2025
@alecslupu alecslupu deleted the feat/enhance-signature-pdf-export branch January 13, 2025 16:39
entantoencuanto added a commit that referenced this pull request Jan 14, 2025
* develop: (27 commits)
  WCAG navigation submenu (#13796)
  Update gem dependencies (part 3) (#13849)
  Prevent notifications for deleted users (#13812)
  Retries NPM installation a couple times to prevent network timeouts (#13831)
  Update gem dependencies (part 2) (#13839)
  Enhance signature pdf export (#13778)
  Fix HexaPDF dependency (#13834)
  Fix flaky spec in authentication (#13827)
  Merge upload field for documents and image on proposal admin form (#13735)
  Update gem dependencies (#13835)
  Upgrade erb_lint to 0.8.0 (#13833)
  Fix flaky spec in geocoder (#13820)
  Refactor modules mounting routes (#13294)
  Upgrade check-spelling action (#13825)
  Add missing images in the custom registration emails from meetings (#13632)
  Add missing translations (#13793)
  Fix proposal map performance with hundreds of markers (#13798)
  Create multiple surveys within same Survey component (#13420)
  Accountability bulk actions (#13730)
  Improve UI for sorting options on comments (#13670)
  ...
rsdeus pushed a commit to octree-gva/decidim that referenced this pull request Jan 15, 2025
antopalidi pushed a commit to openpoke/decidim that referenced this pull request Feb 12, 2025
andreslucena pushed a commit that referenced this pull request Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants