Skip to content

Fix correct resource linking for amendments#9887

Merged
andreslucena merged 3 commits intodecidim:developfrom
mainio:fix/correct-resource-linking-for-amendments
Oct 20, 2022
Merged

Fix correct resource linking for amendments#9887
andreslucena merged 3 commits intodecidim:developfrom
mainio:fix/correct-resource-linking-for-amendments

Conversation

@ahukkanen
Copy link
Copy Markdown
Contributor

🎩 What? Why?

The resource links are not correctly generated for the notification emails. This fixes that.

There was also an issue with the announcement cell linking when looking at an amendment (e.g. proposal amendment accept/reject view).

Testing

  • Create something that triggers a notification
  • See the notification email and that the links are correctly created
  • Configure your account to receive notifications digest
  • Trigger multiple similar notifications
  • Run the digest
  • See the notification email and that the links are correctly created

@ahukkanen ahukkanen added module: core type: fix PRs that implement a fix for a bug labels Oct 6, 2022
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

I've tried it locally and saw the fix in the three places:

  1. Announcement (callout)
  2. Mailer when its real time
  3. Mailer when its digest

I couldn't find it on other places.

👍🏽 👍🏽

@andreslucena
Copy link
Copy Markdown
Member

The only failing check is from codeclimate and should be fixed with #9910. I'll ignore it and merge this.

@andreslucena andreslucena merged commit e79de50 into decidim:develop Oct 20, 2022
@ahukkanen ahukkanen deleted the fix/correct-resource-linking-for-amendments branch October 25, 2022 06:18
eliegaboriau pushed a commit to eliegaboriau/decidim that referenced this pull request Oct 25, 2022
* Fix the announcement links to the amendable resource

* Fix the linking to the resources with the notifications

* Fix typo
entantoencuanto added a commit that referenced this pull request Oct 26, 2022
* develop: (35 commits)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  Add missing i18n key in Initiatives (#9892)
  ...
entantoencuanto added a commit that referenced this pull request Oct 31, 2022
* develop: (36 commits)
  Fix proposal etiquette and length validator with base64 images (#9639)
  Install turbo-rails (#9881)
  Fix conference invitations (#9664)
  Fix invalid rendering of meeting and proposal body texts (#9764)
  Make documentation site work with multiple versions (#9917)
  Bump versions on install docs (#9916)
  Standardize CSV import formats and fix private users CSV import with invalid file (#9627)
  Fix: The i18n locales selector is showing a dropdown with 3 languages (#9902)
  Make Scopes field in debates translatable (#9903)
  Make ToS agreement translatable (#9909)
  Fix issues with a11y specs (#9929)
  Remove invitations badge (#9906)
  Make initiatives order translatable (#9905)
  Add missing active actions on admin navigation menu (#9904)
  Fix user sign up with invalid name (#9896)
  Remove duplication of LastActivity queries (#9895)
  Rename IgnoredMethods to AllowedMethods in Rubocop configuration (#9893)
  Exclude malformed file from codeclimate configuration (#9910)
  Fix correct resource linking for amendments (#9887)
  Fix superposition in admin's error forms (#9871)
  ...
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Nov 23, 2022
* Fix the announcement links to the amendable resource

* Fix the linking to the resources with the notifications

* Fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants