Story #13494

View/copy/expunge previous versions of a collection

Added by Tom Clegg almost 2 years ago. Updated 6 days ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Start date:
02/19/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

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.

Implementation

  • 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.
  • 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 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 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 “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 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.
Version selector.png (28.7 KB) Version selector.png Collection's version selector on the "detals" pane. Lucas Di Pentima, 02/20/2020 06:58 PM

Subtasks

Task #16148: GroomingResolvedLucas Di Pentima


Related issues

Related to Arvados - Story #14086: [keep-web] Serve previous collection versionsResolved10/15/2018

Related to Arvados Epics - Story #15333: Workbench2 feature parity with WorkbenchIn Progress01/01/202006/30/2020

Blocked by Arvados - Feature #13561: [API] Store, and add APIs to retrieve, previous versions of collection objectsResolved10/04/2018

Blocked by Arvados - Bug #16118: Offers editing actions on read-only collectionsIn Progress02/28/2020

History

#1 Updated by Tom Clegg almost 2 years ago

#2 Updated by Tom Morris almost 2 years ago

  • Target version set to To Be Groomed

#3 Updated by Tom Morris almost 2 years ago

When searching collections, the user should have an option to include non-current versions in the results -- at least when searching by PDH.

Including old versions should always be an available search option (off by default). I'm not sure why it's restricted to searches by PDH.

"Data blocks" is an implementation detail. From the user's point of view, there's just data and metadata.

It feels like we may want a version number which users can easily use to reference a particular version of a collection, rather than forcing them to rely on dates or logical UUID chains.

#4 Updated by Tom Clegg almost 2 years ago

  • Description updated (diff)

#5 Updated by Tom Clegg almost 2 years ago

  • Description updated (diff)

#6 Updated by Tom Morris almost 2 years ago

  • Blocked by Feature #13561: [API] Store, and add APIs to retrieve, previous versions of collection objects added

#7 Updated by Tom Clegg over 1 year ago

  • Description updated (diff)

#8 Updated by Lucas Di Pentima over 1 year ago

Some thoughts

  • Update the collection view to show version list (using a dropdown widget?) and allowing the user to select another version of the collection
  • URL for previous versions: workbench.abcde.arvadosapi.com/collections/UUID/VERSION
  • On previous versions, the “Copy to project…” button may be replaced by “Copy as new version…”. The “Move collection…” shouldn’t appear
  • On previous versions, the “Upload” tab shouldn’t exist & file list should be read-only. The lock button isn’t necessary.
  • On previous versions, name & description can’t be edited. Should “Sharing and permissions” pane appear?

#9 Updated by Tom Clegg over 1 year ago

  • Related to Story #14086: [keep-web] Serve previous collection versions added

#10 Updated by Tom Morris over 1 year ago

#11 Updated by Tom Morris over 1 year ago

  • Subject changed from [Workbench] View/copy/expunge previous versions of a collection to [Workbench2] View/copy/expunge previous versions of a collection

We'll do this in the context of Workbench2 only.

#12 Updated by Ward Vandewege 10 months ago

  • Related to Story #15333: Workbench2 feature parity with Workbench added

#13 Updated by Peter Amstutz 3 months ago

  • Release set to 20
  • Target version deleted (To Be Groomed)

#14 Updated by Peter Amstutz 2 months ago

  • Target version set to 2020-02-12 Sprint

#15 Updated by Lucas Di Pentima 2 months ago

  • Assigned To set to Lucas Di Pentima

#16 Updated by Peter Amstutz 2 months ago

  • Target version changed from 2020-02-12 Sprint to 2020-02-26 Sprint

#18 Updated by Lucas Di Pentima about 1 month ago

  • Description updated (diff)

#19 Updated by Peter Amstutz about 1 month ago

  • Target version changed from 2020-02-26 Sprint to 2020-03-11 Sprint

#20 Updated by Peter Amstutz about 1 month ago

  • Subject changed from [Workbench2] View/copy/expunge previous versions of a collection to View/copy/expunge previous versions of a collection

#21 Updated by Lucas Di Pentima 27 days ago

  • Blocked by Bug #16118: Offers editing actions on read-only collections added

#22 Updated by Lucas Di Pentima 22 days ago

  • Category changed from Workbench to Workbench2
  • Description updated (diff)

Updated description removing all backend notes as this story is only about the UI.

#23 Updated by Peter Amstutz 20 days ago

  • Target version changed from 2020-03-11 Sprint to 2020-03-25 Sprint

#24 Updated by Peter Amstutz 20 days ago

  • Status changed from New to In Progress

#25 Updated by Peter Amstutz 20 days ago

  • Target version changed from 2020-03-25 Sprint to 2020-04-08 Sprint

#26 Updated by Peter Amstutz 6 days ago

  • Target version changed from 2020-04-08 Sprint to 2020-04-22

Also available in: Atom PDF