notification-bundle
notification-bundle copied to clipboard
Real time notification count refreshing
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!
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 👍
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
hi @maximilienGilet , is it available now ? how to use it please ?