hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.26k stars 281 forks source link

💻 Class overview redesign #5610

Closed jpelay closed 1 week ago

jpelay commented 2 weeks ago

This PR introduces a new redesign for the Class Overview page, by merging it together with the 'Live Statistics' and 'Overview of programs per adventure' pages. This simplifies the UI a lot, by not confusing users having to navigate through different and uneven UI elements. In this image we can see the new UI:

image

In the image we can distinguish 3 different sections:

  1. First the teacher is greeted with a table where they can check and verify the students saved programs. Here they can also perform several actions: change the password, delete the student from the class and also see their programs.
  2. Then, teachers can see a graph representing the engagement of the students with the contents, measured trugh their numbers of adventures tried, with respect to their numbers of errors and successful runs.
  3. After this the interface is similar to the one before, showing teachers and invitations.

Fixes #5097 Fixes #5424

How to test

I had to open a new PR for this, but @Annelein also helped a lot in the building of this feature! Thanks a lot 😄

Annelein commented 1 week ago

@jpelay does this also close #5047 ?

jpelay commented 1 week ago

@jpelay does this also close #5047 ?

I didn't read all of the comments before. It removes the access to page from the teacher's view. And it also removes part of the code. But I think if I remove all of the files this PR will become crowded so I was planning to do that on another PR.

jpelay commented 1 week ago

Love the new design!!!! (and hope this will not break anything....)

Thanks!!

mergify[bot] commented 1 week ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

mergify[bot] commented 1 week ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).