Skip to content

Add missing images in the custom registration emails from meetings#13632

Merged
andreslucena merged 8 commits intodecidim:developfrom
i-need-another-coffee:fix/graphics-for-registration-on-meetings
Jan 10, 2025
Merged

Add missing images in the custom registration emails from meetings#13632
andreslucena merged 8 commits intodecidim:developfrom
i-need-another-coffee:fix/graphics-for-registration-on-meetings

Conversation

@andra-panaite
Copy link
Copy Markdown
Contributor

🎩 What? Why?

Changed the decidim_sanitize_editor method to decidim_sanitize_editor_admin in MeetingPresenter to keep the <img src= ... > tag that was previously removed from the email body.

📌 Related Issues

Link your PR to an issue

Testing

  1. Log in as admin.
  2. Go to the admin dashboard.
  3. Go to Topic/Assembly -> Meetings.
  4. Create a new meeting and set the 'Registration type' to 'On this platform'.
  5. Publish the meeting.
  6. Click on the 'Registrations' icon from the meetings listing.
  7. Check the 'Customize registration email' checkbox.
  8. Insert some text and an image.
  9. Click on 'Save'.
  10. Go back to the website and find the meeting you created.
  11. Click on the "Register" button.
  12. Check the email.

📷 Screenshots

At this moment, the custom registration mail for meetings looks like below:
Custom registration email example

♥️ Thank you!

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']

@alecslupu alecslupu added the type: fix PRs that implement a fix for a bug label Nov 7, 2024
github-actions[bot]
github-actions bot previously approved these changes Nov 7, 2024
@andreslucena andreslucena changed the title Graphics not included in custom registration emails from meeting component Add missing images in the custom registration emails from meetings Nov 11, 2024
@andreslucena
Copy link
Copy Markdown
Member

@alecslupu can you check this one 🙏🏽 ?

alecslupu
alecslupu previously approved these changes Dec 13, 2024
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.

LGTM

image

@alecslupu alecslupu dismissed stale reviews from github-actions[bot] and themself via b2bd97b January 8, 2025 10:01
@alecslupu alecslupu requested a review from andreslucena January 8, 2025 10:01
github-actions[bot]
github-actions bot previously approved these changes Jan 8, 2025
@andreslucena andreslucena merged commit 9d567ca into decidim:develop Jan 10, 2025
@alecslupu alecslupu deleted the fix/graphics-for-registration-on-meetings branch January 10, 2025 08:12
@alecslupu alecslupu added release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 labels Jan 10, 2025
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)
  ...
antopalidi pushed a commit to openpoke/decidim that referenced this pull request Feb 12, 2025
…ecidim#13632)

* Added graphic to the meeting registration email

* Apply review recommendations

* Remove sanitized method

---------

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
andreslucena pushed a commit that referenced this pull request Mar 3, 2025
…13632)

* Added graphic to the meeting registration email

* Apply review recommendations

* Remove sanitized method

---------

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: meetings release: v0.28 Issues or PRs that need to be tackled for v0.28 release: v0.29 Issues or PRs that need to be tackled for v0.29 type: fix PRs that implement a fix for a bug

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Graphics not included in custom registration emails from meeting component

4 participants