Skip to content

EPIC Selective newsletter#5039

Merged
oriolgual merged 38 commits intodecidim:masterfrom
gencat:selective_newsletter
Apr 30, 2019
Merged

EPIC Selective newsletter#5039
oriolgual merged 38 commits intodecidim:masterfrom
gencat:selective_newsletter

Conversation

@isaacmg410
Copy link
Copy Markdown
Contributor

@isaacmg410 isaacmg410 commented Apr 2, 2019

🎩 What? Why?

This PR addresses the need to segment the sending of newsletters whether users become followers or Participants of a ParticipatorySpace.

You want to be able to send newsletters according to the participation or the interest of the users.
The idea is to extend the functionality that already begins to have Decidim of selection of interests and Allow newsletters segmented for participants and scopes.

📌 Related Issues

📋 Subtasks

  • Add CHANGELOG entry
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add tests
  • Modifiy Newsletter Index Page
  • Modify DeliverNewsletter Command and Job
  • Selective to Followers
  • Selective to Participants
  • Segmented to Spaces
  • Segmented to User Interests
  • Adds the ability of sending (selective) newsletters to space admins.

📷 Screenshots (optional)

Description

@isaacmg410 isaacmg410 self-assigned this Apr 2, 2019
@isaacmg410 isaacmg410 force-pushed the selective_newsletter branch from 1f95bd3 to 4095354 Compare April 4, 2019 13:52
@isaacmg410 isaacmg410 marked this pull request as ready for review April 4, 2019 13:52
@isaacmg410
Copy link
Copy Markdown
Contributor Author

@decidim/lot-core it's still work in progress, specs are missing, but if you can make a first review and give your opinion, it will be very helpful. 😄

@mrcasals mrcasals self-requested a review April 4, 2019 13:59
@mrcasals
Copy link
Copy Markdown
Contributor

mrcasals commented Apr 4, 2019

@isaacmg410 I did a quick review and code looks good!

@isaacmg410 isaacmg410 requested a review from a team as a code owner April 5, 2019 12:10
@isaacmg410 isaacmg410 force-pushed the selective_newsletter branch 2 times, most recently from cd528e2 to e3f469a Compare April 12, 2019 09:36
@isaacmg410
Copy link
Copy Markdown
Contributor Author

@decidim/lot-core ready to review

@isaacmg410 isaacmg410 changed the title [WIP] EPIC Selective newsletter EPIC Selective newsletter Apr 12, 2019
@mrcasals
Copy link
Copy Markdown
Contributor

@isaacmg410 tests are failing, can you check them?

@agustibr agustibr force-pushed the selective_newsletter branch 2 times, most recently from c7f41e8 to ab28a84 Compare April 16, 2019 09:20
@agustibr
Copy link
Copy Markdown
Contributor

@mrcasals Fixed failing checks, now all checks are green 😄

@isaacmg410
Copy link
Copy Markdown
Contributor Author

Thanks a lot @agustibr!

@isaacmg410
Copy link
Copy Markdown
Contributor Author

Hey @decidim/lot-core! All checks are green and ready to review! Thanks!

@isaacmg410 isaacmg410 force-pushed the selective_newsletter branch from ab28a84 to b5d51d5 Compare April 24, 2019 11:13
agustibr and others added 2 commits April 29, 2019 12:01
* selective newsletter for space admins

* refactor space_allows_admin_access? to be more performant

* improve spaces_user_can_admin memoization

* update CHANGELOG entry

* renamed admin_newsletter_action? to apply_newsletter_permissions_for_admin!

* update (space)_user_admins return user objects not ids

* rename Decidim::Admin::NewslettersHelper#space_datum to :space_as_option_for_select
@agustibr agustibr force-pushed the selective_newsletter branch from 11f3567 to 71e52cf Compare April 29, 2019 10:31
Copy link
Copy Markdown
Contributor

@oriolgual oriolgual left a comment

Choose a reason for hiding this comment

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

Nice job, just two minor changes!

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.

4 participants