codeworksacademy / challenges.codeworksacademy.com

https://challenges.codeworksacademy.com
2 stars 2 forks source link

Challenge submission state updates not reactive #27

Closed koreangeekman closed 8 months ago

koreangeekman commented 8 months ago

Describe the bug Not all Challenge states update when triggered

Needs further testing.. but also potential backend crash at some point after manual grading? Edit: Confirmed. Opened new issue #28

To Reproduce Join challenge: Updates Submit challenge: no reactivity Grade challenge: no reactivity for statistics page

Visual change decision needed:

koreangeekman commented 8 months ago

Assigned some color options to the different ChallengeParticipant status options - anyone is free to change as seen fit.

Updated issue with confirmation of another bug found

koreangeekman commented 8 months ago

Submit function was pushing to a state entry that wasn't being used on the page conditionals. Added onMounted recheck of participants to prevent full page refresh requirement on "grade users'

Considering adding manual refresh button for all things challenge related..

Initial issue case resolved