Closed wsloand closed 9 years ago
This should actually be relatively easy, as I've just implemented jQuery Autocomplete in the Extraction UI recently, and it's very easy.
My only question is one of mechanics, and those depend on your intentions. Do you intend to search on the names of Parent and Subtemplates, or just one of the two? Without knowing the answer to that, here are my two preliminary ideas:
My guess is #1, as it makes it easier on new users to browse the template tree and learn the templates.
Making it easier on new users is a major part of the goal. I think that the first option makes sense. It's unlikely that there will be a large number of choices after just a few select characters are typed.
I like the new functionality, but I wasn't precise in the feature request. Here goes an updated description of the ideal for the group addition template choice:
As an ideal beyond the "need", I'd like to see the group for a searched item so that I'm sure I'm getting the correct thing. E.g. "Measurement:Mean and SD" where "Measurement:" doesn't need to be searched for, and more ideally would be somehow different (perhaps gray instead of black).
The current version looks great!
It would be nice to be able to use typeahead searching (like https://twitter.github.io/typeahead.js/examples/) for selecting the template when selecting the template for a group. That could significantly speed data entry (and QC when adding a group from a template).