positron icon indicating copy to clipboard operation
positron copied to clipboard

Do not issue backend RPCs for data explorer instances that are in the background

Open wesm opened this issue 1 year ago • 0 comments

If a user opens a data explorer (DE) window, and then switches back to a code editor, hiding the DE, any changes that trigger data or schema updates will continue to issue backend requests from the DE component. If there are many DE windows open, this could result in burdensome amounts of computations that are never actually seen by the user.

I suggest that we should defer such computations until the window is reactivated and the UI starts painting again. Hopefully the business logic for doing this isn't too onerous but it seems like it would be for the best

wesm avatar Aug 08 '24 00:08 wesm