Merge lp:~ben-hutchings/ensoft-sextant/autocomplete-fix into lp:ensoft-sextant
Status: | Merged |
---|---|
Approved by: | Robert |
Approved revision: | 38 |
Merged at revision: | 31 |
Proposed branch: | lp:~ben-hutchings/ensoft-sextant/autocomplete-fix |
Merge into: | lp:ensoft-sextant |
Diff against target: |
344 lines (+112/-69) 4 files modified
resources/sextant/web/interface.html (+6/-5) resources/sextant/web/queryjavascript.js (+78/-54) src/sextant/db_api.py (+8/-3) src/sextant/web/server.py (+20/-7) |
To merge this branch: | bzr merge lp:~ben-hutchings/ensoft-sextant/autocomplete-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert | Approve | ||
Review via email: mp+242486@code.launchpad.net |
This proposal supersedes a proposal from 2014-11-19.
Commit message
Web gui now has a hard limit on how many functions it is willing to get for the autocomplete menu. If there are more than this number of functions in the program, the empty list will be returned. Maximum number of functions is set to 75 at present - more than this leads to drop down lists not displaying properly sometimes.
Substring search in function names. Debouncing (one second timer at present).
Fixed bug that was completely stopping the autocomplete from being called!
Description of the change
Web gui now has a hard limit on how many functions it is willing to get for the autocomplete menu. If there are more than this number of functions in the program, the empty list will be returned. Maximum number of functions is set to 75 at present - more than this leads to drop down lists not displaying properly sometimes.
Substring search in function names. Debouncing (one second timer at present).
Fixed bug that was completely stopping the autocomplete from being called!
Also the limit is hardcoded in web/server.py, not db_api.py.