Open florian-glombik opened 1 month ago
A first step would be to replace jhi-submission-result-status
with jhi-updating-result
in sidebar-card-item.component.html
. This way the sidebar will already update itself when a new result is generated. This only works however if the sidebar element is already initialised with the participation, so we have to find a way how to get the newly created participation into the sidebar element when starting an exercise.
Is your feature request related to a problem?
When working on exercises (e.g. automated programming exercises) the score will not be updated in the sidebar (at least if the score has not been defined before). This means that you have to keep track on which exercises you have already worked or reload the page to have the score displayed in the sidebar.
Describe the solution you'd like
The sidebar exercise element should reflect the change of the score immediately and not only when reloading the page.
Describe alternatives you've considered
Remembering which exercise has which state / reloading the page.
Additional context