Bug #18315
closed
Collection panel refresh issues.
Added by Lucas Di Pentima almost 3 years ago.
Updated over 2 years ago.
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
- Assigned To set to Daniel Kutyła
- Description updated (diff)
- Target version changed from 2021-11-24 sprint to 2021-12-08 sprint
- Status changed from New to In Progress
- Target version changed from 2021-12-08 sprint to 2022-01-05 sprint
- Target version changed from 2022-01-05 sprint to 2022-01-19 sprint
- Target version changed from 2022-01-19 sprint to 2022-02-02 sprint
- Target version changed from 2022-02-02 sprint to 2022-02-16 sprint
- Assigned To changed from Daniel Kutyła to Lucas Di Pentima
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.
Updates at arvados-workbench2|e4dd4d0 - branch 18315-collection-panel-refresh
Test run: ![](https://ci.arvados.org/buildStatus/icon?job=developer-tests-workbench2&build=591)
- 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.
Updates at arvados-workbench2|b68d6b6
Test run: ![](https://ci.arvados.org/buildStatus/icon?job=developer-tests-workbench2&build=592)
- 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.
Updates at arvados-workbench2|b174d2cd
Test run: ![](https://ci.arvados.org/buildStatus/icon?job=developer-tests-workbench2&build=593)
- Fixes the above test failure by fixing a websocket service init bug when logging into wb2 using the
/token?api_token=xxx
URL.
- Target version changed from 2022-02-16 sprint to 2022-03-02 sprint
- Status changed from In Progress to Resolved
Also available in: Atom
PDF