[CoLab] Capture version and date published timestamp on publish
Description; editors would like to automatically capture a version and date published timestamp record that's visible at the publishing endpoint, in this case; TRiP via Hypothe.is.
This task outlines specifications to;
- include a version published date timestamp at the endpoint when publishing from Kotahi (do we want to keep a record of this in Kotahi?)
- include a 'Last updated' timestamp against each review component in Kotahi
Acceptance criteria;
-
Published/re-published reviews should include the date the post was last published; PUBLISHED/REPUBLISHED; YYYY-MM-DD HH:MM
e.g. 'Published; 2022-02-11 17;20 or 'Re-published; 2022-02-11 13:42'. This should appear within the context of the post (card). -
When modified the date the post was last updated should be captured as follows; LASTUPDATED; YYYY-MM-DD HH:MM
e.g. 'Last updated; 2022-03-24 15:39'. This should appear within the context of the post (card). -
Version (major and minor) to be included at the endpoint. Major = manuscripts version per submission in Kotahi & Minor = each Decision post/Author response captured in chronological order as follows e.g. Version 1.1, Version 1.2 ... Version 1.10, Version 1.11 etc. - TBC -
Published date to be included at endpoint (e.g. Hypothes.is) as follows; VERSION, PUBLISHED/UNPUBLISHED; YYYY-MM-DD
e.g. '- Version 1.1, published; 2022-03-16' - TBC -
When re-publishing a minor version should NOT be captured. However the published date should be updated as follow; VERSION, PUBLISHED/REPUBLISHED; YYYY-MM-DD
e.g. '- Version 1.1, re-published; 2022-03-18'