Story #13494

Browse previous versions of a collection

Added by Tom Clegg over 2 years ago. Updated 4 days ago.

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

50%

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

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 for how #16300 will work (user needs to select two versions in order to display differences).
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

Task #16324: ReviewNewPeter Amstutz


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/202012/31/2020

Related to Arvados - Feature #16718: Searching past collection versionsResolved10/13/2020

Related to Arvados - Feature #16719: Basic support for collection versionsIn Progress10/15/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 collectionsResolved02/28/2020

Blocks Arvados Workbench 2 - Story #16300: Compare 2 collection versionsNew

History

#1 Updated by Tom Clegg over 2 years ago

#2 Updated by Tom Morris over 2 years ago

  • Target version set to To Be Groomed

#3 Updated by Tom Morris over 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 over 2 years ago

  • Description updated (diff)

#5 Updated by Tom Clegg over 2 years ago

  • Description updated (diff)

#6 Updated by Tom Morris over 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 2 years ago

  • Description updated (diff)

#8 Updated by Lucas Di Pentima about 2 years 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 about 2 years ago

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

#10 Updated by Tom Morris almost 2 years ago

#11 Updated by Tom Morris almost 2 years 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 over 1 year ago

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

#13 Updated by Peter Amstutz 10 months ago

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

#14 Updated by Peter Amstutz 9 months ago

  • Target version set to 2020-02-12 Sprint

#15 Updated by Lucas Di Pentima 9 months ago

  • Assigned To set to Lucas Di Pentima

#16 Updated by Peter Amstutz 9 months ago

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

#18 Updated by Lucas Di Pentima 8 months ago

  • Description updated (diff)

#19 Updated by Peter Amstutz 8 months ago

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

#20 Updated by Peter Amstutz 8 months 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 8 months ago

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

#22 Updated by Lucas Di Pentima 8 months 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 8 months ago

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

#24 Updated by Peter Amstutz 8 months ago

  • Status changed from New to In Progress

#25 Updated by Peter Amstutz 8 months ago

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

#26 Updated by Peter Amstutz 7 months ago

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

#27 Updated by Lucas Di Pentima 7 months ago

#28 Updated by Lucas Di Pentima 7 months ago

  • Status changed from In Progress to New

#29 Updated by Lucas Di Pentima 6 months ago

  • Target version changed from 2020-04-22 to 2020-05-06 Sprint

#30 Updated by Lucas Di Pentima 6 months ago

  • Target version changed from 2020-05-06 Sprint to 2020-05-20 Sprint

#31 Updated by Peter Amstutz 5 months ago

  • Target version changed from 2020-05-20 Sprint to 2020-06-17 Sprint

#32 Updated by Lucas Di Pentima 5 months ago

  • Target version changed from 2020-06-17 Sprint to 2020-07-01 Sprint

#33 Updated by Lucas Di Pentima 4 months ago

  • Target version changed from 2020-07-01 Sprint to 2020-07-15

#34 Updated by Lucas Di Pentima 3 months ago

  • Target version changed from 2020-07-15 to 2020-08-12 Sprint

#35 Updated by Peter Amstutz 3 months ago

  • Target version changed from 2020-08-12 Sprint to 2020-09-09 Sprint

#36 Updated by Peter Amstutz 3 months ago

Customer feedback about collection versions:

  • Page needs to make it clear when you are viewing an old version
  • Sharing dialog needs to operate on the latest version and and say that it will share the entire version history
  • Tell the user you need to make a copy ("fork this version") to be able to edit or share a single past version
  • Should be able to search for and access old versions by PDH (on the UI side, the search dialog should have "include_past_versions=true" on the API side it should permit GET by PDH even if it is a past version).

#37 Updated by Peter Amstutz 2 months ago

#38 Updated by Peter Amstutz 2 months ago

I'm wondering if there is a minimum viable ticket here that only includes:

  • Something that says a collection is not the latest version
  • A link to the latest version
  • Tell the user they need to make a copy if they want to edit it
  • Tell the user to go to the latest version if they want to share it
  • #16718

#39 Updated by Peter Amstutz 2 months ago

Added #16719

#40 Updated by Peter Amstutz 2 months ago

  • Related to Feature #16719: Basic support for collection versions added

#41 Updated by Peter Amstutz 2 months ago

  • Description updated (diff)
  • Subject changed from View/copy/expunge previous versions of a collection to Browse previous versions of a collection

#42 Updated by Lucas Di Pentima 2 months ago

  • Target version changed from 2020-09-09 Sprint to 2020-09-23 Sprint

#43 Updated by Lucas Di Pentima about 1 month ago

  • Target version changed from 2020-09-23 Sprint to 2020-10-07 Sprint

#44 Updated by Peter Amstutz 18 days ago

  • Target version changed from 2020-10-07 Sprint to 2020-10-21 Sprint

#45 Updated by Lucas Di Pentima 10 days ago

  • Status changed from New to In Progress

#46 Updated by Lucas Di Pentima 4 days ago

  • Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint

Also available in: Atom PDF