gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.99k stars 1.25k forks source link

Interact with VSCode instantly, without waiting for full workspace to load #7441

Open shaal opened 2 years ago

shaal commented 2 years ago

Is your feature request related to a problem? Please describe

It can take over a minute for a workspace with a large custom image or heavy prebuild artifacts to load. During that time, all you can do is watch a Gitpod logo jump.

Describe the behaviour you'd like

Gitpod should display VSCode right away, without waiting for the workspace to fully load, allowing the user to interact with VSCode, similar to Github's experience when pressing . and getting VSCode displayed right away.

A workspace loading status should be displayed in a dedicated status panel, and perhaps certain panels should be restricted (i.e. Terminal) until the full workspace has loaded.

Describe alternatives you've considered

Additional context

akosyakov commented 2 years ago

@loujaybee it reminds me that we had idea of progressive loading for long time. Not something to focus right now, but ideas for future.

axonasif commented 2 years ago

It will be really awesome when this is a reality.

sr229 commented 2 years ago

I think this is possible now given the recent developments with github.dev and vscode.dev.

I think what we can do here in DX is this:

stemount commented 2 years ago

Playing devil's advocate, whilst I agree GitPod's loading screen is way too vague and doesn't help you debug a slow starting workspace (is it my machine, GitPod remote, has my workspace crashed etc)... are there actually any browser speed/load benefits of painting a more complete IDE?

I've only ever had a theory as its mostly loading my OS into RAM at this time more than anything but not checked

akosyakov commented 2 years ago

Offer a basic VSCode Web Editor right off the bat. It won't provided advanced intellisense and not all extensions work.

Yeah, VS Code is not the issue, but prerequisite that we should allow to fetch files from any workspace backup, i.e. virtual file system for workspace backups. github.dev using GH api and vscode.dev using local system.

loujaybee commented 2 years ago

Related to:

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

shaal commented 2 years ago

Please add meta: never-stale label to this issue