notification-bundle icon indicating copy to clipboard operation
notification-bundle copied to clipboard

Real time notification count refreshing

Open bmascioto opened this issue 7 years ago • 3 comments

Hi Maximilien!

I added your bundle to my project and it's working fine! But I'm wondering how can I improve it by updating the notification count without refreshing the whole page. I have one admin user which sees new notifications when many client users do a specific action. I want to update the notification count automaticaly for the admin when a new notification is created, as a Facebook notification, in realtime.

I hope you can help me or give me a clue.

Thanks in advance!

bmascioto avatar Jul 01 '17 22:07 bmascioto

Hi, thanks for using my bundle ! I think you should use Ajax requests to update notifications. Several routes are made for it. To get realtime update, you should consider using Websockets.

I don't have much time to work on the bundle for now, but someday a 2.0 version will come out with much simpler configuration and usage.

Cheers 👍

maximilienGilet avatar Jul 02 '17 10:07 maximilienGilet

Salut Maximilien!

J'ai ajouté votre paquet à mon projet et ça fonctionne bien! Mais je me demande comment puis-je l'améliorer en mettant à jour le nombre de notifications sans actualiser la page entière. J'ai un utilisateur administrateur qui voit les nouvelles notifications lorsque de nombreux utilisateurs clients effectuent une action spécifique. Je souhaite mettre à jour automatiquement le nombre de notifications pour l'administrateur lorsqu'une nouvelle notification est créée, en tant que notification Facebook, en temps réel.

J'espère que vous pourrez m'aider ou me donner un indice.

Merci d'avance!

Hello, I want to do exactly what you describe in your comment, I want to add a notification sound in the admin of my site as soon as a user places an order on the site, I want to know if this bundle is made for that

Thank you so much

kamelaBessas20 avatar Mar 20 '19 16:03 kamelaBessas20

hi @maximilienGilet , is it available now ? how to use it please ?

karim-alt avatar Jan 18 '21 14:01 karim-alt