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

Persisting UI state on session reload #5462

Open
sharon-wang opened this issue Nov 22, 2024 · 0 comments
Open

Persisting UI state on session reload #5462

sharon-wang opened this issue Nov 22, 2024 · 0 comments
Labels
area: console Issues related to Console category. area: data explorer Issues related to Data Explorer category. area: help Issues related to Help category. area: run app area: viewer Issues related to Viewer category. epic Epic usability
Milestone

Comments

@sharon-wang
Copy link
Member

sharon-wang commented Nov 22, 2024

This is a collection of sub-issues relating to persisting state when Positron is reloaded, whether in a Desktop build, Web build or Workbench build.

What "reloaded" means in the different builds:

  • Desktop: using the Developer: Reload Window command in the Command Prompt or CTRL/CMD+R
  • Web: refreshing the tab or duplicating the tab
  • Workbench: refreshing the tab, duplicating the tab, or reopening an existing Positron session from the Workbench homepage

Notes

For some of these issues, we can leverage the new Ephemeral State Service to store information that should persist through session reloads. This service was introduced in: #5372.

Once these enhancements are complete, we'll want to update the Posit Workbench docs on Multiple Sessions in Positron to remove the disclaimer that these state persistence items are WIP.

@sharon-wang sharon-wang added area: console Issues related to Console category. area: data explorer Issues related to Data Explorer category. area: help Issues related to Help category. area: run app area: viewer Issues related to Viewer category. epic Epic usability labels Nov 22, 2024
sharon-wang added a commit that referenced this issue Nov 25, 2024
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.
@juliasilge juliasilge added this to the Future milestone Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: console Issues related to Console category. area: data explorer Issues related to Data Explorer category. area: help Issues related to Help category. area: run app area: viewer Issues related to Viewer category. epic Epic usability
Projects
None yet
Development

No branches or pull requests

2 participants