Repository navigation
Make the search box filter apps - #13439
Conversation
|
Image is flickering when typing something into the search box – but otherwise works fine 👍 |
There was a problem hiding this comment.
Maybe compile this once and cache it?
|
Nice, works well! Just two possible enhancements:
|
That would be a bigger change - let's go for this approach - better then nothing .... .... fix for the flicker is being pushed ... |
|
failing unit tests are unrelated |
|
Can we get the commits squashed please? ;) |
|
The »No search result in other places« is not really needed it seems. And squash. Otherwise 👍 |
|
Can you add a JS unit test for that "filter" function ? Maybe create a new "appSpec.js" file (and add it to "tests/karma.config.js") |
07a6e22 to
3632962
Compare
both fixed now @icewind1991 any news on the js unit tests? |
|
Refer to this link for build results (access rights to CI server needed): |
Had a look at it but there doesn't seem to be any existing tests for the app managment nor does the code seem particular suitable for testing (all static) and I dont have enough experience with js testing to start from scratch |
|
Okay, I'll take a look then. Just noticed that you had a blast using underscore JS 😄 |
|
Note: static classes are easy to test in Javascript. One can use |
|
Done: e144d3a?w=1 I had to move the initialization block into a method and use the "if window.TESTING" hack for now. |
|
Refer to this link for build results (access rights to CI server needed): |
|
The inspection completed: 4062 Issues, 116 Patches |
Make the search box filter apps
Makes the search box filter apps in the app manager.
searches both name and description and sorts the description matches above the description matches
cc @DeepDiver1975 @jancborchardt @butonic