-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISSUE-177: LoD Autocomplete Fixes and Improvements #178
Conversation
@alliomeria I tested with LoD From CSV and then cloned code. So ... someone (me too?) needs to test with the other ones. I feel confident about my code but would not hurt. Up to you how we test this.
How about I test this in my soon-to-be-born new 1.4.0 local deployment, set all the default multiple values webform LoD elements to single value, test drive there? is that too late-in-the-game for this? |
@alliomeria ok cool. Let me work now until I fade into dust fixing the "match" operator + the extended description thing and I let you know Thursday first hour when done so you can test? |
Please don't fade into dust! Sounds good, thanks @DiegoPino ! |
…ete limit I just wonder here if we need to sort on the "contains" on the position of appearance of the query @alliomeria ? Right now i am listing back the autocomplete list based on the actual "ocurrence" in the ROWS. So row 2 in the CSV appears first than row 10... (kinda obvious)
@livsolis @alliomeria I need a clarification. For the extended description from the CSV. Do you also need/want to have "matches" on them? As an option? We tried that in the past and honestly (with Getty) it brings tons of false positives obscuring the actual Labels that match many times. But let me know if that is a need or not |
I would definitely recommend -not- searching within the supplementary text for matches @DiegoPino. I think that was a leading reason for the extra-extra fuzziness and false positives. |
I agree with Allison. At least for some use cases I'm thinking of, the textual string might be very different from the term (e.g. a bio of a name) |
Basically no longer caching for autocompletes which means URLs don't will override Labels.
@livsolis @alliomeria this covers the basic needs for now
Have a good weekend and stay cool |
Hi @livsolis @alliomeria. I will merge this This request/use case:
|
Sounds great, thank you for all your work on this @DiegoPino ! |
@alliomeria @DiegoPino Let me know if you want me to test anything somewhere! |
Hello @livsolis! Thanks for offering to test. In your local instance, if you can test out this ISSUE-177 that would be great. Starting from inside your archipelago-deployment folder, run each command separately: Let us know if you run into any issues or have questions. Thanks again! |
Hey @alliomeria our webmaster Paul ( @wpwentzell ) tried your command but didn't see the option to switch to that issue. Are you sure about the command? We're running 1.3.0. |
@livsolis you might need to do a |
Great! Thanks for your feedback @livsolis ! |
@livsolis for the grey box, you can define the wrapper (fieldset) used by multiple values but also by single values (and css classes, spacing, etc) to match if you need a consistent UI. Give https://www.drupal.org/docs/8/modules/webform/webform-cookbook/how-to-alter-properties-of-a-composites-sub-elements this a read but also experiment with looks/css classes etc. Because styling is a theme decision we can't make that change/unify at code level. There might be folks that prefer to have visual differentiation for this too. One never knows. |
OK, we can play around with the styles. Thanks for the link. |
Hey @DiegoPino @alliomeria , I have been testing bios (contexutal info in parens) with names, our craziest taxonomy. I think it is extremely useful and will guide people to the right name. So many. many thanks again! One formatting question. The bios do make it harder to read the term you want to select. I think formatting could help. e.g. either making the bios text gray or making the label bold. Is that something easily doable either on our end or yours? This is obvs. the enhanciest of enhancements. Also, I think I'm going to cut off bios at ~200 characters, but even then, I think I'd still have legibility issues. ![]() |
See #177
@livsolis this is WIP. Will keep updating this list as we progress