Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
81 stars 35 forks source link

[FEATURE] [MER-3182] Summary card highlights filter content - Part 2 #4867

Closed simonchoxx closed 1 month ago

simonchoxx commented 1 month ago

MER-3182

This PR adds two new functionalities to the tab that shows the metrics of the students per container.

On the other hand, an ETS has been implemented, allowing to keep the state of the liveview and that both components can share information without losing it if a page reload happens.

https://github.com/Simon-Initiative/oli-torus/assets/16328384/ed41dd29-4d7f-492d-aa96-d260b0e7cfb3

https://github.com/Simon-Initiative/oli-torus/assets/16328384/7c9f4239-9a50-4959-bbe1-f52e7bacd33a

simonchoxx commented 1 month ago

@darrensiegel Thanks for your review. I agree with what you say. I think it would just solve the problem of sharing necessary information between live components through URL params. Besides that it will help us (I think) to prevent data loss when refreshing the page. WDYT?