ahoereth / spam

Cognitive Science Study Planning Machine
https://cogsci.uos.de/~SPAM
7 stars 1 forks source link

Progress bar Neuroinformatics #11

Open Lenala39 opened 6 years ago

Lenala39 commented 6 years ago

I have a problem in my Neuroinformatics module: when I add the first 12 Points, the bar and everything changes correctly (also passing ... works fine). But if I add a second class, the bar is not updating: screenshot_2017-08-14_22-04-07 It is also not shown, that I completed the module, even though I have all the required points.

ahoereth commented 6 years ago

Bug should be somewhere along those lines /src/components/user/overview/field/UserOverviewFieldController.js#L160-L168.

Lenala39 commented 6 years ago

Now that I had a quick look at your code, I think the problem might be, that Neuroinformatics and Machine Learning are both marked as compulsory, since one can take either one. If I am taking both (to fill up the module), they are both added to comulsury, hence not filling up the bar. Is there any way that can be changed? (Sorry, my coding skills are not that good, but I would like to try to fix this).

I tried adding "Neurodynamics" to the field and then it worked perfectly well to update the progress bar. image