Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reconnect open data explorer editors on reload #5475

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

sharon-wang
Copy link
Member

Addresses #3172

QA Notes

Open data explorer tabs should be restored for both Python and R sessions when Positron is reloaded. The tabs should appear once the runtime(s) have started.

See #5462 for notes on what "reloaded" means across the different Positron builds.

I've tested this in dev builds on Mac for Desktop and Server Web in Chrome.

Copy link
Collaborator

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. I would recommend some polish around the UX, though; the data explorer tabs don't stay as you left them, but instead come in at the end, and they also always become the active tab even if you had something else active before reloading.

I think that some changes in the data explorer service itself (to mark these tabs as custom editors that can be restored?) are needed for a better UX. This is better than nothing, though, and it's nice that the state of the tab is restored too! (filters, sorts, etc.)

@sharon-wang
Copy link
Member Author

Great points! I have opened #5489 to capture the suggested UX improvements.

@sharon-wang sharon-wang merged commit 6ec59a2 into main Nov 25, 2024
4 checks passed
@sharon-wang sharon-wang deleted the persist-data-explorer-tabs-on-reload branch November 25, 2024 16:36
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants