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

Command Center With Help #163635

Merged
merged 2 commits into from
Oct 14, 2022
Merged

Command Center With Help #163635

merged 2 commits into from
Oct 14, 2022

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Oct 14, 2022

Fixes #158638

Now when you launch the command center you get:
image
Additionally, if you go into a provider (say >) and then backspace out of it, thus returning to Go to file... you still get the Help.

To be clear, this only shows when you click on the command center. Cmd+P is not impacted at all.

we can improve on this later with pills and whatnot, but this gives the command center a bit more utility than just launching Cmd+P.

cc @daviddossett

gonna cc @bpasero for a late review when you're back from being OOF

@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) October 14, 2022 10:18
@TylerLeonhardt TylerLeonhardt self-assigned this Oct 14, 2022
@TylerLeonhardt TylerLeonhardt merged commit 5e8b680 into main Oct 14, 2022
@TylerLeonhardt TylerLeonhardt deleted the tyler/command-center-with-modes branch October 14, 2022 11:16
});
}
}
public getQuickAccessProviders(): IHelpQuickAccessPickItem[] {
Copy link
Member

Choose a reason for hiding this comment

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

@TylerLeonhardt personal taste is to not use public but have it removed

// do not rewrite value from user typing!
preserveValue: true,
// persist the value of the providerOptions from the original showing
providerOptions: providerOptions
Copy link
Member

Choose a reason for hiding this comment

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

@TylerLeonhardt easier as just providerOptions

@@ -52,6 +52,10 @@ import { withNullAsUndefined } from 'vs/base/common/types';
import { Codicon } from 'vs/base/common/codicons';
import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity';
import { stripIcons } from 'vs/base/common/iconLabels';
import { HelpQuickAccessProvider } from 'vs/platform/quickinput/browser/helpQuickAccess';
import { CommandsQuickAccessProvider } from 'vs/workbench/contrib/quickaccess/browser/commandsQuickAccess';
import { DEBUG_QUICK_ACCESS_PREFIX } from 'vs/workbench/contrib/debug/browser/debugCommands';
Copy link
Member

@bpasero bpasero Nov 8, 2022

Choose a reason for hiding this comment

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

@TylerLeonhardt not super happy with a dependency of search to debug and task component only to get this working. Would be great if this can be done only by depending on the help provider.

@bpasero
Copy link
Member

bpasero commented Nov 8, 2022

👏 , lets sync today on this change for some feedback I have.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2022
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.

Introduce a "home" command center view
3 participants