Big Fix & Feature Request : GlobalDependency API support, Lock reload fix & auto unlock on week modif
Following the development of global dependencies in "zei/global-dependencies" branch, some issues couldn't be integrated in time and will be listed there:
- GlobalDependencies API support and change in dependencies files : In the global-dependencies branch right now, a file TempGlobalDependencies.ts as well as a PseudoGlobalDependency type are used to develop global dependencies. They should be replaced by a real type in the type.ts file and an handling of GlobalDependency reading and modification with the API. With this comes multiple minor changes to the current implementation to get it to work with the API.
- After struggling for few hours trying to solve this one and not knowing how to i put it there : When a course is locked/unlocked in dependency interface, the reload doesnt work and the user needs to unselect and select the course again for the display to be correct (maybe it isn't too bad for the display not to change too much while people unlock some courses?)
- A dialog asking to set course as an exception on all global dependencies should be opened when modifying a course or multiple courses periods. An unlock function has already been made in the CourseNode.vue component, but all of this should probably be moved to a new composable along with global dependency things from the DependenciesInterface.vue component.
- Lack of documentation : The dependency part being complex, it could be great to have an helper with short videos or tools explanation to help users in their usage of the dependencies and global-dependencies interfaces.