posit-dev / posit-dev/positron

Show progress notification when project is initializing

Open
#3,293 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: folder template area: ui enhancement
Dominant language
TypeScript
Stars
4.3k
Forks
183
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Proposal

When a new project is being initialized after creating it via the New Project Wizard, the initialization can take a few moments. Initialization can involve creating a new environment, running extension tasks, etc..

If the user doesn't have their Console open, it can look like nothing is happening. It would be better to show a notification that indicates that the new project initialization is in progress and clearly indicate when the tasks are complete.

Relevant Code

I think we should be able to add a notification in src/vs/workbench/services/positronNewProject/common/positronNewProjectService.ts, which shows once NewProjectStartupPhase.CreatingProject starts and indicates that the initialization is done once we get to NewProjectStartupPhase.Complete. We may need to add a phase or otherwise wait just a bit longer for the selected runtime to start.

We can also consider alternative ways to show that the project is being initialized, such as changing the content of the Welcome page.

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 in src/vs/workbench/services/positronNewProject/common/positronNewProjectService.ts and trace the NewProjectStartupPhase.CreatingProject and NewProjectStartupPhase.Complete transitions. Determine how project initialization and runtime startup are reported, then define completion as the point when initialization tasks are finished and the user sees a clear progress and completion notification.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.