workspace: Display a launchpad page when in an empty window & add it as a restore_on_startup value#44048
Conversation
|
@simonpham Thanks for the contribution! This would be a good option to provide. For this case, I would prefer not creating an entirely new In summary:
If you can make that change, I see no issue with providing this as an option. |
That's what I thought.
|
|
@mattermill please help to check if there is any other issue. Thank you! |
|
When launching a New Window I'm seeing the Welcome screen appear for an instant before being replaced by the empty file. Closing the file returns to the Welcome. I think you just want the Welcome in this instance, not new file, correct? zed-u2mZEfro.mp4 |
|
hi @mattermill You should set the setting "restore_on_startup": "welcome" to see it on new window (when open Zed) I only expect it to appear if you use the above option and in empty pane when no workspace is open. For the case when open a new window within a Zed instance, I don't change the current behavior of it. Screen.Recording.2025-12-05.at.8.58.45.AM.mov |
|
hi @mattermill Could you please continue to review this PR to help us? |
|
hi @mattermill, it's been a while. Please let me know if it can be merged. Thank you! |
restore_on_startup value
danilo-leal
left a comment
There was a problem hiding this comment.
Thank you so much for kicking this off! Pushed some additional changes here: aside from design refinements, I felt like the none value terminology for restore_on_startup was confusing, because that actually meant opening Zed with an empty file... it felt like it could be a bit more clear, so, I changed it to empty_tab instead. Then, the value to open the launchpad page (the variant, recent projects-focused welcome page) is just launchpad. Already included the migration for anyone who uses restore_on_startup: "none", so we should be good there :) Thanks again!
|
Has this PR been shipped? |
hi @VihaanReddyM |
Hi,
This PR fixes nothing. I just miss the option to open recent projects quickly upon opening Zed, so I made this. Hope I can see it soon in Preview channel.
If there is any suggestion, just comment. I will take it seriously.
Thank you!
Release Notes:
restore_on_startupsetting calledlaunchpad. This value makes Zed open with a variant of the welcome screen ("the launchpad") upon startup. Additionally, this same page variant is now also what is displayed if you close all tabs in an existing window that doesn't contain any folders open. The launchpad page shows you up to 5 recent projects, making it easy to open something you were working recently.