posit-dev / posit-dev/positron

Directory to save from Plots pane always uses working directory

Open
#2,841 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: plots area: viewer enhancement sharp-edge
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

If you change the directory where you want to save a plot, using the Plots pane:

Screenshot 2024-04-22 at 12 16 31 PM

that directory choice does not persist beyond saving that single file. If you go to save another plot, the directory populates with the working directory again.

Definitely not needed for Public Beta, but let's eventually make this so when you choose a new directory there, it is retained at least until you quit Positron or switch to a different workspace or similar.

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 at the Plots pane save flow and trace how the selected directory is initialized and stored between saves. Verify the directory choice persists for subsequent plot saves, while resetting when Positron quits or the workspace changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.