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

QoL: improve search filter #89

Open
Xiaoy312 opened this issue Apr 5, 2023 · 0 comments
Open

QoL: improve search filter #89

Xiaoy312 opened this issue Apr 5, 2023 · 0 comments
Assignees
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@Xiaoy312
Copy link
Contributor

Xiaoy312 commented Apr 5, 2023

What would you like to be added:

  • filter tests by both class name and method name.
  • match by both class and method: listview measure
  • negative filter: listview measure -recycle

pseudo code:

isMatch = term.Split(' ')
	.All(x => (test.ClassName+'.'+test.Name).Contains(x.TrimStart('-'), ignoreCase: true) != x.StartWith('-'))

Why is this needed:

Typing is hard, especially on device with some form of input lag, auto-correkt and limited screen space (see: #30).
Some test name is also a subset of another, and is impossible to single it out.

For which Platform: All of them.

Anything else we need to know?

Often I would suffix _Asd to the tests of interest, and forget to remove them in the actual PR.

@Xiaoy312 Xiaoy312 added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Apr 5, 2023
@Xiaoy312 Xiaoy312 self-assigned this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant