posit-dev / posit-dev/positron

Removing all subpanes from the Session pane prevents you from adding them back

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

Nobody has claimed this yet.

area: ui bug
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Positron Version: 2024.05.0 (Universal) build 1294

Code - OSS Version: 1.89.0
Commit: 1ef95cdbc5ab3b79202339257802532b73e9d8c8
Date: 2024-05-23T04:27:50.357Z
Electron: 28.2.8
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

Don't do this unless you want to reset state :)

  1. Drag all of the Variables, Viewer, and Plots panes out of the Session pane
  2. Attempt to add them back or add new panes into the Session pane
  3. You can only add them next to, not within the Session pane.

What did you expect to happen?

If we want to support the Session meta-pane, we should allow dropping elements within it. All other panes/elements allow stacking or rearranging, but the Session pane appears to take up the full vertical space and will no longer allow dropping in unless 1 or more panes are already there.

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

Reproduce the issue in the Session pane by dragging out the Variables, Viewer, and Plots panes, then try adding them back. Investigate the Session pane's drag-and-drop behavior; done means panes can be dropped within an empty Session pane as well as beside it.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.