GEWIS / gewisweb

GEWIS Website
https://gewis.nl
GNU General Public License v3.0
16 stars 33 forks source link

Better UI for different versions of `MeetingDocument`s #1762

Open tomudding opened 7 months ago

tomudding commented 7 months ago

What would you like?

Add the option to be able to upload a new version of a specific MeetingDocument. This should be done through an additional button on the existing documents.

When this happens, the new document will have its previousVersion attribute (to be added) populated with the id of the previous MeetingDocument or the previous version links to the new version (such that the attribute on the new version is NULL; this may make querying easier).

In the overview, the newest version will be show by default and a dropdown should be added to be able to see previous versions.

Why is this needed?

History

Other information

The timestamp of the previous MeetingDocument must NOT be updated when uploading a new version of the document.