Add an alternative to "Bonus di Profitto" -> a slider that represents the point to the final thesis, to allow the user to be able to predict his final vote
TL;DR When I try to import classes from Unipa with any enrollment year I can only find the ones for the current academic year and in english.
Wrong academic year
When I try to import classes the study plan is always at the current academic year even though I specify my actual enrollment year. I tried to change the values but nothing changes. I think I'm going to try with other courses to see if that's the problem (Maybe I should have checked before opening the issue but I dont' think so π ).
Possible fix
I suspect something's wrong with the search. I mean that when I put the enrollment year I can only type the solar year but when I followed the post request for the search to the UNIPA site I noticed that in the field for academic year of the educational offer I have to insert an academic year In the format of AAAA/AAAA (Actually I have not checked the code for this yet)
Only works in english
I tried to search for courses in italian but it doesn't find anything even with different academic years.
Add the ability to order the lectures.
Possibly with drag and drop, or by alphabetical order (suggesting to name the lectures with a prefix number indicating the academic year / semester)
Any suggestion is accepted
It obviously shouldn't act this way. The problem relies in this line. Here we define the lectures that are removable, but the criteria of being less than the total weighted average means nothing.
Instead it should check if the grade is less than the most recent weighted average.
So i imagine an algorithm more like this:
Sort non_caratt lectures from lowest grade to highest;
For each of it, calculate the average and remove it only if the grade is less than that.
Add a way to import everything needed from Unipa.
I've thought of a couple of ways
Ugly version: Go to the Unipa website and copy all the text containing lectures info. (with some kind of tutorial explaining how to do it)
Very much better version: Log in into Unipa SSO and requesting the data automatically.
2 has still to be figured out, since I don't really know much about CAS Authentication.
Found this that might be useful but doesn't seem a very safe approach. Maybe there is no alternative. Maybe i need to ask S.I.A. (Unipa's IT Office)
Currently all I've done to make the website work is "Lifting the state up".
Why? Because I didn't know any better at the time, I knew it was messy and wrong but the time was not a friend and I just did it.
How i imagine the correct way is
After a bit of research i think the correct way would've been to use Redux
Creating a single store containing all the state, divided in slices.