-
Notifications
You must be signed in to change notification settings - Fork 6
New necessary fields for the Study Documents #422
Comments
Hey, and thanks for the suggestion. Could you provide some additional detail on how you would imagine this? Studydocs can contain a list of files of any type, and they already provide their document types in the Let's say we have a study doc like this one (shamelessly plugging my own stuff haha). It contains multiple pdfs, and a zip file. The current API response of this document looks like this (I have removed the metadata).
How would you imagine the result after your proposed change? |
Good morning Alex :) |
Ah, so just to make sure: You don't want any extra field, you just want the And one more question: How do you image the "sub-fields" for exams? We do not really have a concept of sub-fields. Should we remove the option |
Yes exactly, same fields, just required instead of voluntary :) For the exams, splitting them up into autumn and spring should work, as long as that does not interfere with the already uploaded documents. Would they still retain the basic exam type? |
The existing exams would keep their type. The change would only affect new exams, which would then have to explicitly choose autumn/spring. |
That should work. We can handle the existing data in the sorting solution :) |
We do not wish to allow studydocs without type anymore, so the `type` field is not not nullable and required. Furthermore, we wish to differentiate between spring and autumn exams for better filtering, so the previous exam type is replaced. Closes #422
We do not wish to allow studydocs without type anymore, so the `type` field is not not nullable and required. Furthermore, we wish to differentiate between spring and autumn exams for better filtering, so the previous exam type is replaced. Closes #422
To prepare for some QoL improvements in the frontend (displaying all documents sorted by their type from the get go) we require all data to contain a valid document type field. Thus the API should implement this requirement in the backend.
Additionally, new subfields for exams should be added for Spring and Autumn exams, so that they can be displayed sorted as well.
The text was updated successfully, but these errors were encountered: