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

Filter settings from no search results link #29261

Merged
merged 1 commit into from
Jun 26, 2017
Merged

Filter settings from no search results link #29261

merged 1 commit into from
Jun 26, 2017

Conversation

keegancsmith
Copy link
Contributor

The user is encouraged to check the exclude settings when there are no search
results. Previously this would just open up the settings without any indication
which settings are relevant. This change will update the search filter to show
files.exclude and search.exclude.

The user is encouraged to check the exclude settings when there are no search
results. Previously this would just open up the settings without any indication
which settings are relevant. This change will update the search filter to show
`files.exclude` and `search.exclude`.
@msftclas
Copy link

@keegancsmith,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@@ -164,7 +164,10 @@ export class PreferencesEditor extends BaseEditor {
this.searchWidget.focus();
}

public focusSearch(): void {
public focusSearch(filter?: string): void {
if (filter !== null) {
Copy link
Member

Choose a reason for hiding this comment

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

This will pass if filter is undefined, i.e. not passed to focusSearch.

Copy link
Member

Choose a reason for hiding this comment

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

I'll merge and fix this. Thanks for the PR!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I wrote my first bit of TS code in this PR. I'll check out the fix to learn :)

@roblourens roblourens merged commit d7462ba into microsoft:master Jun 26, 2017
roblourens added a commit that referenced this pull request Jun 26, 2017
@keegancsmith keegancsmith deleted the pref-filter branch June 26, 2017 19:40
@roblourens roblourens added this to the June 2017 milestone Jun 30, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
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