Skip to content

ENH: Added case-sensitive search and search-as-you-type in Builder search#6947

Merged
TEParsons merged 1 commit intopsychopy:devfrom
jderrfuss:modified-search
Oct 31, 2024
Merged

ENH: Added case-sensitive search and search-as-you-type in Builder search#6947
TEParsons merged 1 commit intopsychopy:devfrom
jderrfuss:modified-search

Conversation

@jderrfuss
Copy link
Copy Markdown
Contributor

  • Search as you type.

  • Case-sensitive is no longer the default, but is still possible by ticking a checkbox.

  • The name of the routine where a component is located is now also displayed in the search results.

- Search as you type.

- Case-sensitive is no longer the default, but is still possible by ticking a checkbox.

- The name of the routine where a component is located is now also displayed in the search results.
@TEParsons
Copy link
Copy Markdown
Contributor

All looks good! Only worry I had was that on-typing search would feel laggy, particularly for big experiments, but actually testing this out on my mid-range laptop it's absolutely fine. I guess it's ultimately just doing basic string matching in an array so seems to return in a matter of milliseconds. So yep happy to pull in once tests pass, thanks for contributing!

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 30, 2024

Codecov Report

Attention: Patch coverage is 8.69565% with 21 lines in your changes missing coverage. Please review.

Project coverage is 50.77%. Comparing base (fa9b973) to head (eabc891).
Report is 18 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #6947      +/-   ##
==========================================
- Coverage   50.78%   50.77%   -0.01%     
==========================================
  Files         334      334              
  Lines       61705    61716      +11     
==========================================
  Hits        31338    31338              
- Misses      30367    30378      +11     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)

@TEParsons TEParsons merged commit ccd99de into psychopy:dev Oct 31, 2024
@TEParsons TEParsons changed the title ENH: Modified search dialogue ENH: Added case-sensitive search and search-as-you-type in Builder search Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants