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

esco-content-menu: having reactivity on several instance of components use #410

Open
jgribonvald opened this issue Aug 26, 2019 · 1 comment
Labels

Comments

@jgribonvald
Copy link
Contributor

The use case is simple, having a portlet content with favorites list and the esco-content-menu or on the same page a esco-content-grid that permit to favorite a portlet won't update each content after a toggleFavorite action. Only a page refresh will update all instance of use of components.

When a portlet is favorited/unfavorited we should be able to communicate an event on all components running on the same page and so each component could be aware of the event and would be able to do his stuff on his side, and so update favorited list !

So to fix that launching a specific event would help, like that each component knowing a such kind of event could intercept it.

@jgribonvald
Copy link
Contributor Author

jgribonvald commented Jun 4, 2021

To complete, a such event could be also emitted or intercepted by other components like the waffle-menu.

A good first contribution for Open Apereo 2021 workshop.

@jgribonvald jgribonvald added the good first issue Good for newcomers label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant