etr2460 commented on issue #7748: [SIP-23] Move SQL Lab storage out of browser 
localStorage
URL: 
https://github.com/apache/incubator-superset/issues/7748#issuecomment-505118044
 
 
   Thoughts...
   
   - What happens if someone has the same SQL Lab tab in two different 
browsers? Do we provide a cursor for updating the tabs/queries, or do we just 
let people overwrite it automatically? How do we sync the state of the backend 
to the frontend?
   - I was thinking about simply storing a `json` blob in `TabState` too, but 
it has the downside of making updates to the client store and state very 
difficult (wouldn't address your second drawback above).
   - Can the bootstrap payload include the tab details for the active tab too? 
That would improve load time I think
   - What's the tradeoff between falling back to a default results backend vs. 
not caching query results at all? I'm concerned with adding additional caching 
complexity that might not be necessary.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to