posit-dev / positron

Positron, a next-generation data science IDE
Other
2.31k stars 68 forks source link

Viewer only displays URL after opening an item #1665

Open jthomasmock opened 10 months ago

jthomasmock commented 10 months ago

Positron Version:

Positron Version: 2023.10.0 (Universal) build 1272 Code - OSS Version: 1.83.0 Commit: 311b561eff90d1c93d897f51d68ccfc9e0163571 Date: 2023-10-18T03:13:15.639Z Electron: 25.8.4 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 22.6.0

Steps to reproduce the issue:

  1. Close Positron completely and then open it.
  2. Observe the Viewer Pane - it doesn't have a URL/location section:

In order to display the URL bar, I have to do something like Quarto > Preview. After that the URL bar can be modified

What did you expect to happen?

I expected the URL to always be present so I can set it to other arbitrary localhost applications.

Were there any error messages in the output or Developer Tools console?

jmcphers commented 10 months ago

The URL bar comes from the Quarto extension, which embeds its own little mini-browser to view Quarto content.

What other localhost URL were you trying to reach, and why? (maybe we need something more suited to that use case)

jthomasmock commented 10 months ago

The URL bar comes from the Quarto extension, which embeds its own little mini-browser to view Quarto content.

What other localhost URL were you trying to reach, and why? (maybe we need something more suited to that use case)

Yes, I think that the actual feature request is "more app types automatically in the viewer", but I just found the URL mini-browser to be quite intriguing to potentially view "anything" or even display local files, arbitrary HTML, etc.

jthomasmock commented 6 months ago

@petetronic - I remember a brief discussion about maybe adding a (toggle-able?) URL field to the viewer pane at Workweek - I didn't find another issue for that though. Do we want to repurpose this issue for that?