posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 90 forks source link

Reload of page/window doesn't reload the help pane #5433

Open jonvanausdeln opened 1 day ago

jonvanausdeln commented 1 day ago

System details:

Positron and OS details:

Positron:

Positron: 2024.12.0-48 Workbench: 2024.12.0+440.pro1

Interpreter details:

Python 3.10.10

Describe the issue:

Similar to #3172

Reloading the page/tab does not reload the help pane

*note - this occurs in both workbench and desktop positron

https://github.com/user-attachments/assets/8f015713-a4ba-4d3c-9b25-b9e48d185617

Steps to reproduce the issue:

  1. Load a new Positron workbench session
  2. Execute help in R, e.g. ?library()
  3. Observe help pane is populated
  4. Reload the tab/window

Expected or desired behavior:

Help to still show in the help pane.

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

jmcphers commented 10 hours ago

Since the contents of the Help pane are generally loaded from an active R or Python session, the "current help pane URL" could be stored in the ephemeral storage added in https://github.com/posit-dev/positron/pull/5372.