SOM-Research / gila

Label analysis of GitHub projects
https://som-research.uoc.edu/research-tools/
17 stars 4 forks source link

I shouldn´t be able to write in the comboxbox for the project selection #21

Closed jcabot closed 10 years ago

jcabot commented 10 years ago

In fact, writing should be used to help in the search of the project

belenrolandi commented 10 years ago

Actually the combobox component used (jqxComboBox) provides this kind of search capability, applying a positional pattern matching strategy, for a given search pattern it will select the element that has as prefix the longest subsequence of characters in the specified pattern. For instance, if we enter the search pattern 'bug' it will select the first element starting with 'bug', and if there isn't any it will match 'bu' or 'b' (in that order), but if there are no elements starting with 'b' then it won't select anything, thus leading to this quite confusing interpretation. I agree it is not the best search tool ever but at least it provides some kind of search functionality.

belenrolandi commented 10 years ago

The search combobox has been reworked to fix this confusing behavior. Now it shows the list of relevant projects when it is loaded and searches for (all) the projects matching the search pattern when typing in the text area. We added a loading gif to indicate that the search is being performed and a place holder with the name convention used to list the projects (project[name]).