Allow integration with ECA and Push framework

Created on 25 May 2024, 7 months ago
Updated 17 July 2024, 5 months ago

Problem/Motivation

I see there are submodules integrating with Rules, but that's not stable for Drupal 10 and it looks like ECA is the successor (with similar features but also a nicer UI).

Another useful integration would be with push_framework module for the delivery of the notifications, which can, additionally to ECA, also be generated by the DANSE module (all 3 are from the same maintainers).

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kopeboy
  • 🇬🇧United Kingdom gMaximus

    I'm interested in doing the same supporting modules for ECA as I've written for Rules. It hopefully won't be too hard on the basis that I have the same for rules. You've educated me on that point, I didn't realise this ECA was the successor. I've been using Drupal since 6 was the recommended release and rules was the thing. Someone else mentioned about Rules on YouTube but not ECA. However, many more sites report using Rules (13,246) next to ECA (3,477).

    Are you able to contribute code to this for the other points? I'd be deeply grateful for any assistance and will release quickly.

    I've just spent the best part of two weeks moving this project forward in the area of device caching and the manifest. I've nearly finished improving the manifest settings inc screenshots.

    Tbh, I need to do cash work now. I've made myself late in favour of contributing these upgrades (I couldn't put it down lol). I've got at least a months worth in the pipeline and I need to eat ;)

  • 🇬🇧United Kingdom gMaximus

    Can the push_framework update previously sent push notifications? Ie 1 person like your post becomes 2 people liked your post.

  • 🇮🇹Italy kopeboy Milan

    I know ECA but I've never developed or maintained a module yet, so I'm not sure I can help other than with my experience with ECA as a site builder. Yes, the usage is still lower, but it has been growing very fast, the support (on the module issue queue, on slack, etc.), documentation (see https://ecaguide.org/) and the UI (with bpmn_io module) are top notch, and I bet 95% of new Drupal 10 or 11 sites are going to pick ECA instead of Rules.

    Regarding Push framework, I think it does update the notification if it hasn't been delivered yet, so I'm not sure how that would work in this case (probably is the PWA module that will need to re-push the message), but it's better if you ask directly to one of their maintainers, ie. @ jurgenhaas , who is always very active (even on Drupal Slack, especially in the #eca channel), and willing to improve his modules if there's demand.

    I think PWA, being integrated in our mobile OS and desktop through the browser are the best place to push notifications and so build real community sites with Drupal (where it shines imho, with all the permissions & workflows..).

    Thank you for your work & consideration! 🙏🏻
    (I also have to find some cash-paying job.. 😅)

  • 🇺🇸United States boinkster

    ECA is definitely the way to go. It's got a growing ecosystem and is actively developed and supported (Drupal Slack support is great). Guessing the Rules usage is mostly D7 when it WAS awesome.

    Integrating with ECA is about adding action plugins. I did one for a custom module and it was well documented. I haven't look under the hood of Advanced PWA rules but perhaps a few actions and you could leverage the whole ECA world.

Production build 0.71.5 2024