Skip to content
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

Draft
wants to merge 25 commits into
base: 4.x
Choose a base branch
from
Draft

Mercure integration #5765 #3

wants to merge 25 commits into from

Conversation

slim
Copy link
Collaborator

@slim slim commented Jun 1, 2023

Mercure integration

EasyCorp#5765

slim and others added 23 commits June 1, 2023 14:40
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
@COil COil changed the title Feat/5765 mercure integration Mercure integration #5765 Jun 1, 2023
@COil COil assigned slim Jun 1, 2023
@COil COil self-requested a review June 1, 2023 14:10
@COil COil added WIP Work In Progress enhancement New feature or request labels Jun 1, 2023
@COil COil marked this pull request as draft June 1, 2023 14:10
composer.json Outdated Show resolved Hide resolved
src/DependencyInjection/EasyAdminExtension.php Outdated Show resolved Hide resolved
src/DependencyInjection/SetDefaultParametersPass.php Outdated Show resolved Hide resolved
src/DependencyInjection/SetDefaultParametersPass.php Outdated Show resolved Hide resolved
@@ -141,4 +141,11 @@
'no-more-results' => 'No more results',
'loading-more-results' => 'Loading more results…',
],

'mercure' => [
'user_change' => 'Change by user',
Copy link
Member

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

Copy link
Collaborator Author

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.

@slim slim requested review from dunglas and nikophil June 1, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WIP Work In Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants