web-client-ui icon indicating copy to clipboard operation
web-client-ui copied to clipboard

Linker changes do not propagate to sync-state graph if graph's source table is not visible.

Open nbauernfeind opened this issue 1 year ago • 0 comments

Summary

If there is a link to a table that has a sync-state graph then the graph only updates when the backing table is visible. See the video for a quick example.

How to Reproduce

  1. Create a few tables:
src = timeTable(Instant.ofEpochSecond(0), "PT1h").update("Group = ii % 1000")
keys = src.selectDistinct("Group")
  1. Link the Group column from keys to src.
  2. Create a sync-state graph x-axis is the timestamp, y-axis is the group column.
  3. Hide the src table. (I've put it in the same tab-group as the keys table.)
  4. Double click a row in the keys table.

The graph does not update to the filtered group. It seems artificial that the graph does not update even though the src table is not currently visible.

  1. Click back to the src table. Note that both the src table and the graph immediately update to the linked value from keys when the table comes into focus.

Versions

Web-Client-UI: 0.33.0-SNAPSHOT (https://github.com/deephaven/web-client-ui/commit/f0ae05534532a30472bb426cfa82f9d41b1bca75) Deephaven-Core: https://github.com/deephaven/deephaven-core/commit/db04b5744241a520f261616692c633afc838beb8 Chrome: Version 120.0.6099.234 (Official Build) (arm64)

https://github.com/deephaven/web-client-ui/assets/1030443/dd0fb08d-f0e4-4f01-b053-f8b701935379

nbauernfeind avatar Jan 29 '24 21:01 nbauernfeind