rilldata / rill

Rill is a tool for effortlessly transforming data sets into powerful, opinionated dashboards using SQL. BI-as-code.
https://www.rilldata.com
Apache License 2.0
1.75k stars 118 forks source link

Rill Developer idle detection: keep the 2 most-recently-seen tabs active #5975

Open ericpgreen2 opened 1 month ago

ericpgreen2 commented 1 month ago

We should only disconnect the file & resource streaming connections when a Rill Developer tab turns the 3rd most-recently-seen.

We should give each tab a unique ID, keep a list of the 2 active tabs, and share that list across tabs. To share the list, we could use the Broadcast API or LocalStorage.