posit-dev / positron

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

Replace/override Simple Browser with Positron's Viewer #3714

Open jmcphers opened 4 months ago

jmcphers commented 4 months ago

In Positron, the Simple Browser (inherited from Code OSS) and the Positron Viewer Pane have a lot of overlap. Both of them show URLs and provide a toolbar for navigating URLs, etc. However, they also have some differences, for example:

Having two competing ways of viewing URLs with their own set of tradeoffs is confusing. For example, you have to choose between the Simple Browser and Viewer Pane when clicking on a URL:

image

Proposal:

juliasilge commented 3 months ago

Provide a way to open the Viewer Pane's contents in an editor tab, so that users/workflows that prefer this behavior can still use it.

If we added this, then a user such as the one in https://github.com/posit-dev/positron/discussions/4402 could open the Viewer Pane in an editor tab and then pull it out into a separate window.