-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mercure integration #5765 #3
base: 4.x
Are you sure you want to change the base?
Conversation
This is a proof of concept. It highlights changed entitities in index view. Mercure : https://symfony.com/doc/current/mercure.html
This uses the mercure protocol to send a message to the clients in real time when an entity has been updated on the server
User gets to chose which mercure hub he wants to use with EasyAdmin by setting 'ea.hub' parameter in his service.yml file
@@ -141,4 +141,11 @@ | |||
'no-more-results' => 'No more results', | |||
'loading-more-results' => 'Loading more results…', | |||
], | |||
|
|||
'mercure' => [ | |||
'user_change' => 'Change by user', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user_change => modified
pour être cohérent avec les autres clés.
et Modified by user
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
au debut j'avais fait ça, mais le message apparait quand l'entité est effacée. J'ai utilisé "Change by user XXXXX" parce que ça fonctionne aussi quand l'entité est effacée.
Mercure integration
EasyCorp#5765