Better search function for tags
Closed this issue · 22 comments
Currently, the search function for existing tags on Annotate page can only takes the first letter. There will soon be thousands of tags. It will be helpful to have a more powerful search function for existing tags.
Some kind of autocomplete text box. Match on tag and description tokens.
Not sure how you search tags on Annotate page. Did you mean looking up tags in Tag control page? I guess we can add quick inplace filter on that one.
To @ir4y: add a text filter on this page left of create button:
- initially focused
- all tags are shown when field is empty
- when anything is typed in remove all tags on a page not matching the query
- query should be matched against tag title, description, ontology and concept name, case insensitive
- when all tags with some starting letter disappear, letter also disappears
To everyone: you can really use browser in page search for now.
The feature is done.
You can check how it is working at this page http://stargeo.org/tags/
Search tags looks good. We need to index tag descriptions too when returning results. Searching for 'dengue' should reveal the DF DHFand DSS tags too. We also need this inplace filter on the annotate page.
Now you can search by tag description at http://stargeo.org/annotations/ and http://stargeo.org/annotations/ pages.
Need the search on the annote page too: http://stargeo.org/annotate/?series_id=2099. The drop down for tag should be replaced with inplace filter.
This feature is done and deployed.
We need to have the search function on the annotate page. See: http://stargeo.org/annotate/?series_id=2099. The Tag dropdown (name="tag_id") needs to be replaced with the in-place search that exists at: http://stargeo.org/tags/
Dexter you should elaborate. There are no tags on annotate page besides that field, so there is nothing to filter inplace.
@iDrDex I think it's a browser cache problem. Could you clean it up?
@Suor we need to add http://whitenoise.evans.io/en/stable/ for assets managment to prevent browser cache based problems.
I think we don't need to change the color of select options.
At annotate page we are selecting a tag and it's a simple form element.
Only after serie will be annotated with tag, the tag should get color.
I have created a separated task to track tag page enhancement.