Project

General

Profile

Actions

Bug #18315

closed

Collection panel refresh issues.

Added by Lucas Di Pentima over 1 year ago. Updated 12 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 1 (0 open1 closed)

Arvados - Task #18359: Review 18315-collection-panel-refreshResolvedStephen Smith02/16/2022

Actions
Actions #1

Updated by Peter Amstutz about 1 year ago

  • Assigned To set to Daniel Kutyła
Actions #2

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz about 1 year ago

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

Updated by Peter Amstutz about 1 year ago

  • Target version changed from 2022-02-02 sprint to 2022-02-16 sprint
Actions #8

Updated by Lucas Di Pentima 12 months ago

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

Updated by Lucas Di Pentima 12 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.
Actions #10

Updated by Lucas Di Pentima 12 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.
Actions #11

Updated by Lucas Di Pentima 12 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.
Actions #12

Updated by Lucas Di Pentima 12 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.
Actions #13

Updated by Lucas Di Pentima 12 months ago

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

Updated by Stephen Smith 12 months ago

Lgtm!

Actions #15

Updated by Lucas Di Pentima 12 months ago

  • Status changed from In Progress to Resolved
Actions #16

Updated by Peter Amstutz 12 months ago

  • Release set to 49
Actions

Also available in: Atom PDF