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

testing: support for test tags in search #130731

Merged
merged 1 commit into from
Aug 19, 2021
Merged

testing: support for test tags in search #130731

merged 1 commit into from
Aug 19, 2021

Conversation

connor4312
Copy link
Member

@connor4312 connor4312 commented Aug 13, 2021

This also involves creating a suggest enabled input with history, which
I modelled off the previous plain text input with history. (cc Sandeep)

Fixes #126938
Fixes #130543 (by virtue of the filter always being in the view and not the menu bar any more)

This also involves creating a suggest enabled input with history, which
I modelled off the previous plain text input with history.
@connor4312 connor4312 requested a review from sandy081 August 13, 2021 00:19
@connor4312 connor4312 self-assigned this Aug 13, 2021
@connor4312 connor4312 mentioned this pull request Aug 13, 2021
@@ -13,7 +13,8 @@ import { ContextKeyExpr, IContextKey, IContextKeyService, IContextKeyServiceTarg
import { KeybindingsRegistry, KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';

export const HistoryNavigationWidgetContext = 'historyNavigationWidget';
export const HistoryNavigationEnablementContext = 'historyNavigationEnabled';
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for breaking the original context into two?

Copy link
Member Author

Choose a reason for hiding this comment

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

We want to allow navigating the history backwards when the cursor is at the first position, and forwards when it's at the last. This matches the behavior of SCM's implementation of history (which I looked into reusing but is very coupled to SCM)

@connor4312 connor4312 merged commit 0040f15 into main Aug 19, 2021
@connor4312 connor4312 deleted the test-tag-search branch August 19, 2021 23:25
@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants