openfun / marsha

:clapper: An opensource LTI Learning Content Management System (LCMS)
MIT License
106 stars 24 forks source link

Classroom attendees frontend #2492

Closed kernicPanel closed 10 months ago

kernicPanel commented 11 months ago

Feature Request

With this PR #2461 we retrieve classroom learning analytics from BBB. We want to display it in the front.

BBB displays it like this: image

But we want something more like the attendees we have with webinars: image

An example of the learning analytics we are retrieving is here: https://github.com/openfun/marsha/blob/master/src/backend/marsha/bbb/tests/bbb_utils/test_get_learning_analytics.py#L32-L133

And this is what we are sending to the front through our API: https://github.com/openfun/marsha/blob/master/src/backend/marsha/bbb/tests/api/classroom/test_retrieve.py#L1320-L1377

Please note that we can have several sessions for a classroom.

AntoLC commented 11 months ago

Please note that we can have several sessions for a classroom.

How should I present that if there is more than 1 session ? Do I merge the sessions or we separate them ?

lunika commented 11 months ago

If there is more than one session:

WDYT ?