ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
506 stars 292 forks source link

Course Statistics Subpage does not get automatically refreshed #2608

Open stefanwaldhauser opened 3 years ago

stefanwaldhauser commented 3 years ago

Describe the bug

The bug was found in a testing session here: https://github.com/ls1intum/Artemis/pull/2575#pullrequestreview-559141320 .

Apparently the score page in the course overview does not automatically get refreshed when a score update happens.

To Reproduce

During testing of exercises with different combinations of normal and bonus points [(10, 0), (10, 10), (0,0), (0,10)] this bug occurred. After creating, editing and assessing the four of the programming exercises with those combinations and during repeating the same process with modelling exercises, the bug could be observed.

Expected behavior

Statistics Page should be updated and without having to press the refresh button

Screenshots

output

Environment

 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

Additional context

Output in Web Console

  [REPLACE THIS WITH YOUR INFORMATION]
krusche commented 3 years ago

Some notes: it should be updated (potentially in the background), when new results are sent to the client using web sockets.