Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak Welcome page's Start section #105823

Closed

Conversation

gjsjohnmurray
Copy link
Contributor

This PR addresses #63152 (comment), making the text of an entry on the Start section of the Welcome page consistent with the equivalent command on the File menu, and also adding an extra entry.

image

cc @misolori

@@ -21,7 +21,8 @@ export default () => `
<li><a href="command:workbench.action.files.newUntitledFile">${escape(localize('welcomePage.newFile', "New file"))}</a></li>
<li class="mac-only"><a href="command:workbench.action.files.openFileFolder">${escape(localize('welcomePage.openFolder', "Open folder..."))}</a></li>
<li class="windows-only linux-only"><a href="command:workbench.action.files.openFolder">${escape(localize('welcomePage.openFolder', "Open folder..."))}</a></li>
<li><a href="command:workbench.action.addRootFolder">${escape(localize('welcomePage.addWorkspaceFolder', "Add workspace folder..."))}</a></li>
<li><a href="command:workbench.action.openWorkspace">${escape(localize('welcomePage.openWorkspace', "Open workspace..."))}</a></li>
Copy link
Contributor

@miguelsolorio miguelsolorio Sep 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we'd want to add this option as it would make the length longer. Plus, when you choose "Open Folder" you can already choose to open a workspace.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I use "Open folder..." on Windows I get the native "Open Folder" dialog, which means there's no way I can choose a .code-workspace file.

Can we allay your concern about making the length longer by reducing my a corresponding amount the large amount of empty space above the "Recent" header?

@chrmarti chrmarti added this to the September 2020 milestone Sep 2, 2020
@gjsjohnmurray
Copy link
Contributor Author

@chrmarti @misolori anything I can do to help get this merged?

@miguelsolorio
Copy link
Contributor

We are currently revisiting our Welcome page(#106715) so I don't think we'll be merging this in soon. Also, I haven't seen a request from other users so I'd be worried we'd be adding this for a small percentage.

@gjsjohnmurray
Copy link
Contributor Author

We are currently revisiting our Welcome page(#106715) so I don't think we'll be merging this in soon. Also, I haven't seen a request from other users so I'd be worried we'd be adding this for a small percentage.

It got two upvotes at #63152 (comment)

I'm glad to hear that Welcome page revisit is getting some love again. I do hope that will bring "Open workspace..." into it. I think it will help people see that workspaces and folders are two slightly different entities. remember that non-macOS users can't use "Open folder..." as a means to open a workspace.

Might you consider allowing the "Open folder..." line become a composite on non-macOS platforms, with two hyperlinks, i.e. "Open folder or workspace..." ? That would avoid stealing another line from the page.

@miguelsolorio
Copy link
Contributor

Might you consider allowing the "Open folder..." line become a composite on non-macOS platforms, with two hyperlinks, i.e. "Open folder or workspace..." ? That would avoid stealing another line from the page.

I think we can do this for Windows + Linux

@gjsjohnmurray
Copy link
Contributor Author

Here it is:

image

@miguelsolorio
Copy link
Contributor

I'll run this by the team to see what they think, we're currently in endgame so it might be a while before we return to this discussion.

cc @bpasero @JacksonKearl

@chrmarti chrmarti modified the milestones: September 2020, October 2020 Oct 1, 2020
@JacksonKearl
Copy link
Contributor

Looks good to me, though we're likely to overhaul the whole page at some point in the ~~future~~.

@chrmarti
Copy link
Collaborator

Closing in favor of #110333 where we discuss using a similar approach. Thanks.

@chrmarti chrmarti closed this Nov 17, 2020
@chrmarti chrmarti removed this from the November 2020 milestone Nov 17, 2020
@gjsjohnmurray
Copy link
Contributor Author

Sad that you didn't adopt the extra link to 'open workspace". Remember that for Windows users the "Open folder" dialog doesn't permit a code-workspace file to be opened, because it only offers folders. Might be the same on Linux.

@chrmarti
Copy link
Collaborator

I'm still convinced that keeping the number of links low is the better experience. Also: Multi-root workspaces might be an advanced feature and the Welcome page is geared towards new users.

@gjsjohnmurray
Copy link
Contributor Author

@chrmarti at least you are being consistent with this view by having removed the (badly named) "Add workspace folder..."

But personally I use the Welcome page by default (handy recently used lists are one reason) and find it a source of minor friction that if I want to open a code-workspace that is going to need browsing for I have to resort to the File menu.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants