drivendataorg / concept-to-clinic

ALCF Concept to Clinic Challenge

Home Page:https://concepttoclinic.drivendata.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UI state isn't preserved across tab navigations

reubano opened this issue · comments

Overview

If you select a DICOM file from the "Open Image" tab and navigate to another tab, once you return back to "Open Image", the "Import image series" panel will be gone.

window 2017-11-28 at 14 02 03
window 2017-11-28 at 14 02 13
window 2017-11-28 at 14 02 17

Expected Behavior

The previous state of the "Open Image" (or any) tab should be preserved, so that navigating away and then back to the same tab has no effect on the original tab's visual layout.

Current Behavior

The original tab's visual layout resets to the default "empty" state.

Steps to Reproduce

docker-compose -f local.yml build
docker-compose -f local.yml up
open http://localhost:8080
# navigate to a file in a DICOM file so that you see its image
# navigate to another tab
# return back to the "Open Image" tab
# notice that the screen no longer shows the DICOM image or file browser

Acceptance criteria

  • The UI state of each tab should be preserved such that clicking away and then returning to any tab should not affect the original tab's visual layout

NOTE: All PRs must follow the standard PR checklist

Closed as of #263.