This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Send notification to client with Push Notifications

Avatar: InnovacióDemocràtica InnovacióDemocràtica verified-badge
16/09/2021 12:21  
Accepted / In progress

Ref. PWA13.3

NOTE: this feature is from a big development. See PWA discussion at GitHub.

Is your feature request related to a problem? Please describe.

As a registered participant in Decidim that has given consent and permission to receive push notifications, I want to see the notification.

Describe the solution you’d like

I want to receive these notifications with the title, body, icon, and link when possible.

For these, what we’ll use:

  • Title: Proposal is being evaluated
  • Body: The "Possibility to configure default sorting for proposals" proposal is being evaluated.
  • Icon: Organization Favicon
  • Link: https://meta.decidim.org/processes/roadmap/f/122/proposals/13104

Describe alternatives you’ve considered

It’d be awesome to also show an image in the cases where there are images in the card (ie some Proposals, Meetings, BlogPosts, etc), but AFAIK this is not easily available in Decidim::Notification at the moment.

Additional context

See a demo of all the capabilities possibles to Notifications and see Display a notification in Google’s guide.


Notifications examples from OneSignal.com

Does this issue could impact on users private data?
It could have some personal data in some notifications (for instance, in the case of Messaging)

Acceptance criteria

  • Given that I’m a participant that has been given permission to receive push notifications,
    When I get a new notification in /notifications
    Then I also receive it on my device
    and this notification has a title and body
    and has a link to the resource
    and has the icon of the organization.


  • Filter results for category: Follow and notifications Follow and notifications

This proposal has been accepted and is under development

Endorsements count0
Send notification to client with Push Notifications Comments 0

Reference: MDC-PROP-2021-09-16758
Version number 2 (of 2) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: b498e10709a98abc427a9b156c3d01a7815447b8515871774f881635d70ced1d

Source: {"body":{"en":"<p>Ref. PWA13.3</p><p>NOTE: this feature is from a big development. See <a href=\"https://github.com/decidim/decidim/discussions/8334\" target=\"_blank\">PWA discussion at GitHub</a>.</p><p><strong>Is your feature request related to a problem? Please describe.</strong></p><p>As a registered participant in Decidim that has given consent and permission to receive push notifications, I want to see the notification.</p><p><strong>Describe the solution you’d like</strong></p><p>I want to receive these notifications with the title, body, icon, and link when possible.</p><p>For these, what we’ll use:</p><ul><li>Title: Proposal is being evaluated</li><li>Body: The \"Possibility to configure default sorting for proposals\" proposal is being evaluated.</li><li>Icon: Organization Favicon</li><li>Link: <a href=\"https://meta.decidim.org/processes/roadmap/f/122/proposals/13104\" target=\"_blank\">https://meta.decidim.org/processes/roadmap/f/122/proposals/13104</a></li></ul><p><strong>Describe alternatives you’ve considered</strong></p><p>It’d be awesome to also show an image in the cases where there are images in the card (ie some Proposals, Meetings, BlogPosts, etc), but AFAIK this is not easily available in Decidim::Notification at the moment.</p><p><strong>Additional context</strong></p><p>See a <a href=\"https://web-push-book.gauntface.com/demos/notification-examples/\" target=\"_blank\">demo of all the capabilities possibles to Notifications</a> and see <a href=\"https://developers.google.com/web/fundamentals/push-notifications/display-a-notification\" target=\"_blank\">Display a notification</a> in Google’s guide.</p><p><img src=\"https://i.imgur.com/wj1QwQb.png\"><br> <a href=\"https://documentation.onesignal.com/docs/push-notification-guide\" target=\"_blank\"><em>Notifications examples from OneSignal.com</em></a></p><p><strong>Does this issue could impact on users private data?</strong><br> It could have some personal data in some notifications (for instance, in the case of Messaging)</p><p><strong>Acceptance criteria</strong></p><ul><li>Given that I’m a participant that has been given permission to receive push notifications,<br> When I get a new notification in /notifications<br> Then I also receive it on my device<br> and this notification has a title and body<br> and has a link to the resource<br> and has the icon of the organization.</li></ul><p><br></p>"},"title":{"en":"Send notification to client with Push Notifications"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16758/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16758/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

0 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?