VanAndelInstitute / virtual-slide-viewer

Simplified digital pathology image viewer
MIT License
0 stars 0 forks source link

Investigate automatic sync of state between views #25

Open rmontroy opened 3 years ago

rmontroy commented 3 years ago

From Kristin:

... if you view multiple images in another window and update the status to good or bad, when you close that window, not all statuses are updated in the viewer.

rmontroy commented 3 years ago

I'm now wondering if Kristin expects to be able to run the viewer in a separate window and the changes made there automatically propagate to the other window. If that's the case, then we just need to explain to her that separate windows are not in sync and will need to be manually refreshed.

rmontroy commented 3 years ago

Kristin might be OK with this behavior:

Sounds good on viewing issue.

Original explanation:

...if you have the viewer and data table in separate windows, they’ll get out of sync with each other. Those two views don’t (currently) communicate with each other, so you need to refresh the data manually when you switch between them to update the state of the view. I’ll discuss it with Anthony to see if there’s a simple solution to keeping them in sync. Otherwise, if you don’t open a new window for the viewer and just go back and forth between the two views in the same window, then they should update their state automatically.