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

Reopen plot tabs when reloading UI #5522

Closed
timtmok opened this issue Nov 26, 2024 · 2 comments
Closed

Reopen plot tabs when reloading UI #5522

timtmok opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
area: plots Issues related to Plots category. area: workbench Issues related to Workbench category. enhancement New feature or request usability

Comments

@timtmok
Copy link
Contributor

timtmok commented Nov 26, 2024

System details:

Positron and OS details: 2024.10.0 all platforms

Interpreter details:

Both R and Python

Describe the issue:

Opening a plot from the Plots view as an editor tab does not save the metadata. Upon reloading the UI, these editor tabs are not restored.

Steps to reproduce the issue:

  1. Render a plot
  2. In the Plots view, open the plot in an editor tab
  3. Reload the UI/web page

Expected or desired behavior:

The plot is restored as an editor tab

Were there any error messages in the UI, Output panel, or Developer Tools console?

None

@timtmok timtmok added area: plots Issues related to Plots category. area: workbench Issues related to Workbench category. enhancement New feature or request usability labels Nov 26, 2024
@timtmok timtmok added this to the Release Candidate milestone Nov 26, 2024
@timtmok
Copy link
Contributor Author

timtmok commented Nov 26, 2024

The plots service is where the metadata is stored when a new plot comm is opened. Another metadata entry can be created when a plot is opened in an editor tab.

@midleman
Copy link
Contributor

Verified Fixed

Positron Version(s) : 2025.02.0 - 127
OS Version(s) : MacOS, Chromium

Test scenario(s)

I tested multiple R and Python plots by rendering them in both the web and desktop apps, opening each in separate tabs. After reloading the window, I confirmed that the plots reappeared in their respective tabs without any issues.

Link(s) to TestRail test cases run or created:

n/a

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: plots Issues related to Plots category. area: workbench Issues related to Workbench category. enhancement New feature or request usability
Projects
None yet
Development

No branches or pull requests

2 participants