posit-dev / posit-dev/positron

Viewer only displays URL after opening an item

Open
#1,665 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: viewer bug
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Viewer Pane behavior after a fresh Positron launch, then compare it with the state reached through Quarto > Preview. Trace why the URL/location section is initially absent and confirm that the URL is visible and editable immediately after launch, including for arbitrary localhost applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.