Bug #18315

Collection panel refresh issues.

Added by Lucas Di Pentima 7 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Start date:
02/16/2022
Due date:
% Done:

100%

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

Description

When uploading a new file to a pre-existing collection, a couple of things don't get updated:

  • The main info panel: "modified at" date, pdh and size needs to reflect the change -- they get updated when clicking on the "Refresh" button.
  • The file browser doesn't change, even when clicking on the "Refresh" button.
  • websockets events on the collection should also trigger a refresh of the collection panel

Subtasks

Arvados - Task #18359: Review 18315-collection-panel-refreshResolvedStephen Smith

Associated revisions

Revision 36c33008
Added by Lucas Di Pentima 3 months ago

Merge branch '18315-collection-panel-refresh'. Closes #18315

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <>

Revision 5eedce18 (diff)
Added by Lucas Di Pentima 3 months ago

Merge branch '18315-collection-panel-refresh'. Closes #18315

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <>

Revision f4a6396d (diff)
Added by Lucas Di Pentima 3 months ago

Merge branch '18315-collection-panel-refresh'. Closes #18315

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <>

History

#1 Updated by Peter Amstutz 6 months ago

  • Assigned To set to Daniel Kutyła

#2 Updated by Peter Amstutz 6 months ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 6 months ago

  • Target version changed from 2021-11-24 sprint to 2021-12-08 sprint
  • Status changed from New to In Progress

#4 Updated by Peter Amstutz 6 months ago

  • Target version changed from 2021-12-08 sprint to 2022-01-05 sprint

#5 Updated by Peter Amstutz 5 months ago

  • Target version changed from 2022-01-05 sprint to 2022-01-19 sprint

#6 Updated by Peter Amstutz 4 months ago

  • Target version changed from 2022-01-19 sprint to 2022-02-02 sprint

#7 Updated by Peter Amstutz 4 months ago

  • Target version changed from 2022-02-02 sprint to 2022-02-16 sprint

#8 Updated by Lucas Di Pentima 3 months ago

  • Assigned To changed from Daniel Kutyła to Lucas Di Pentima

#9 Updated by Lucas Di Pentima 3 months ago

Lucas Di Pentima wrote:

When uploading a new file to a pre-existing collection, a couple of things don't get updated:

  • The main info panel: "modified at" date, pdh and size needs to reflect the change -- they get updated when clicking on the "Refresh" button.
  • The file browser doesn't change, even when clicking on the "Refresh" button.
  • websockets events on the collection should also trigger a refresh of the collection panel

The first 2 bullet points aren't current issues anymore. (I'll make sure there're tests anyways)

Current observed issues

  • The file browser doesn't get refreshed with the Refresh button.
  • Websockets events aren't refreshing the collection panel at all.

#10 Updated by Lucas Di Pentima 3 months ago

Updates at arvados-workbench2|e4dd4d0 - branch 18315-collection-panel-refresh
Test run:

  • Adds test confirming that the collection's UI is correctly updated on file upload.
  • Fixes the bug preventing the collection's file browser to update when clicking "Refresh" on a changed collection.
  • Adds test.

#11 Updated by Lucas Di Pentima 3 months ago

Updates at arvados-workbench2|b68d6b6
Test run:

  • Adds websocket's collection event handling to automatically update the collection's UI.
  • Updates the previous test to prove that the "Refresh" button is no longer needed.

#12 Updated by Lucas Di Pentima 3 months ago

Updates at arvados-workbench2|b174d2cd
Test run:

  • Fixes the above test failure by fixing a websocket service init bug when logging into wb2 using the /token?api_token=xxx URL.

#13 Updated by Lucas Di Pentima 3 months ago

  • Target version changed from 2022-02-16 sprint to 2022-03-02 sprint

#14 Updated by Stephen Smith 3 months ago

Lgtm!

#15 Updated by Lucas Di Pentima 3 months ago

  • Status changed from In Progress to Resolved

#16 Updated by Peter Amstutz 3 months ago

  • Release set to 49

Also available in: Atom PDF