Idea #13494
Updated by Peter Amstutz over 4 years ago
See [[Collection version history]] When viewing a collection in Workbench, a tab/button should show the history of prior changes. For each prior update, it should be possible to * view/star/bookmark the selected version of the collection (name, description, files, etc. as they appeared after the update) * preview/download the files as they appeared in the selected version * copy the selected version into a new collection When searching collections, the user should have an option to include non-current versions in the results. h3. Implementation * Build on work in #16718 and #16719 * The version selector is built on the collapsable ‘details’ pane to the right (see attached mockup) instead of the currently unused "Activity" tab. This would allow us to minimize the quantity of UI changes when displaying past versions. ** The versions listing should be ordered by date with the current version at the top. * Should include consideration A version number indicator (with a hint if it’s the current) should appear by the collection’s name. This could be a clickable button/link that would expand the right pane to allow the user to select another version. * Maybe the entire collection pane background color should be changed slightly to indicate that the view is read-only, to avoid the user to think some past version is the current one. * The collection panel would be almost the same for how #16300 will work (user needs every version being displayed, with the following differences when showing a past version: ** The “three dotted” menu should only allow the following options: *** Copy to select two project *** Add to favorites: As past versions cannot have links, the proposed way to do this is to make a copy of the version as a new collection, and favorite it. This could be done by showing a dialog explaining the user what will happen, and ask for confirmation. *** Advanced (the raw API response dialog) ** The tag editor should be in order “display only mode" ** The files listings should be in “display only mode”: *** File selections should be possible, but no “delete selected” option should be listed/be clickable on the pop-up three-dashes menu *** Single file pop-up three-dots menu should only list options to display differences). download and open in new tab. ** The “Upload data” button should be disabled or not displayed * Advanced search dialog should allow searching on past versions using a new keyword like "@includeVersions:true@" on the search bar.