zed icon indicating copy to clipboard operation
zed copied to clipboard

zed: Support opening welcome page on startup

Open tidely opened this issue 5 months ago • 6 comments

Closes #40100 #43158

I saw a great suggestion in #43158 of reusing the welcome page as an option when opening Zed. Preferably we would have a dedicated startup page at some later point in time that could highlight other useful features such as remoting (or add it to the welcome page?).

Currently still on the todo list:

  • [ ] Think about removing Return to Setup from welcome screen conditionally (feedback appreciated)
  • [ ] Consider whether Welcome Page should be the default, a setting, used as a fallback or something else entirely, it likely should not be under "what to restore from a previous session"
  • [ ] Docs

The PR will likely be decently large, I'm willing to pair with someone to get it merged

image image

Release Notes:

  • New setting to open a welcome page when launching Zed

tidely avatar Nov 22 '25 02:11 tidely

Yes please add this feature it will give a nice vibe. I tried adding this but was a little hard for me because I don't really use rust

VihaanReddyM avatar Nov 23 '25 07:11 VihaanReddyM

I’ve thought about it a bit more and here’s what I suggest:

  • The “Return to Setup” button should be hidden when the welcome screen is shown after the initial setup flow. It only makes sense the first time.

  • For the behavior of when to show the welcome screen, we could add a new setting that lets users choose between two modes:

    1. Show the welcome screen only when no workspace is open (current behavior).
    2. Always show the welcome screen on startup.

This setting should be exposed both in the settings file and the UI menu. I tried implementing this logic earlier, but I got stuck on wiring it into the settings system.

Let me know if this direction makes sense.

VihaanReddyM avatar Nov 23 '25 11:11 VihaanReddyM

I have just built your fork and there is a issue, When zed is first launched it is skipping the setup page completely so gotta work on that.

VihaanReddyM avatar Nov 23 '25 16:11 VihaanReddyM

I have just built your fork and there is a issue, When zed is first launched it is skipping the setup page completely so gotta work on that.

Unless you deleted your main Zed installation, I think it will detect that it's not your first time installing Zed

tidely avatar Nov 23 '25 17:11 tidely

  • For the behavior of when to show the welcome screen, we could add a new setting that lets users choose between two modes:

    1. Show the welcome screen only when no workspace is open (current behavior).
    2. Always show the welcome screen on startup.

This setting should be exposed both in the settings file and the UI menu. I tried implementing this logic earlier, but I got stuck on wiring it into the settings system.

I think the most intuitive solution would be to allow putting all startup options into any order you want. However that seems like something maybe not possible with the current settings UI?

tidely avatar Nov 23 '25 17:11 tidely

  • The “Return to Setup” button should be hidden when the welcome screen is shown after the initial setup flow. It only makes sense the first time.

Yeah I agree. Unfortunately that means we'd need to make changes to the serialization logic which persists welcome pages currently to allow saving whether this button exists (also needs to be backwards compatible). I wonder if it would be easier to create a totally new view or a specialized copy of the current welcome page. Although I think that would need some more insights from the Zed UI team.

tidely avatar Nov 23 '25 17:11 tidely

  • For the behavior of when to show the welcome screen, we could add a new setting that lets users choose between two modes:
  1. Show the welcome screen only when no workspace is open (current behavior).
  1. Always show the welcome screen on startup.

This setting should be exposed both in the settings file and the UI menu. I tried implementing this logic earlier, but I got stuck on wiring it into the settings system.

I think the most intuitive solution would be to allow putting all startup options into any order you want. However that seems like something maybe not possible with the current settings UI?

Idk what I did was I added a dropdown.

VihaanReddyM avatar Nov 23 '25 23:11 VihaanReddyM