Private-Message-Messenger | Facebook messenger style UX for the Drupal
kandi X-RAY | Private-Message-Messenger Summary
kandi X-RAY | Private-Message-Messenger Summary
Private messages in Drupal 8, that look like sweet!. This is "Facebook messenger" style UX for the Private Message module. The whole UX is build using Backbone & Marionette, making it a snappy single page app. View messages, chnage threads, compose and reply to messages without a single page reload. It is build with mobile in mind and will switch between mobile/desktop layout as space provides.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Build the profile form .
- Get message .
- Build the Messenger block .
- Process parsed thread model .
- Handle a POST request .
- Overrides the block form .
- Submit form .
- Creates a new message manager .
- Build the content .
- Build the builder .
Private-Message-Messenger Key Features
Private-Message-Messenger Examples and Code Snippets
Community Discussions
Trending Discussions on Private-Message-Messenger
QUESTION
NodeJS is installed on my server.
I installed and configured the 4 modules below on my Drupal 8 site. When I see messages with "Private Message Messenger", I receive "jGrowl" notifications.
https://www.drupal.org/project/private_message
https://github.com/jez500/Private-Message-Messenger
https://github.com/jez500/Private-Message-NodeJS
https://www.drupal.org/project/nodejs
My question :
How to create notifications on the desktop web browser (chrome, firefox, ...) ?
Here is the instant messenger :
Currently when the user receives a message, he receives a notification on my site. The problem is that if the user is not on the page of my site, he will not see that he has received a notfication.
EXAMPLE:
I have a nextcloud messaging. If I'm on another page and receive a new message, nextcloud sends a notification (sound and visual) on firefox (in my case I receive it in the ubuntu notification center).
How to do this with my site ?
...ANSWER
Answered 2018-Mar-18 at 18:13Notifications are added to browsers such as Chrome and Firefox using service workers. Check out Push messaging sample for chrome.
Also check out this article on web push Notifications
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Private-Message-Messenger
https://marionettejs.com/download/
https://github.com/selectize/selectize.js/releases
https://github.com/hustcc/timeago.js/releases (optional - see below)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page