Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Umami currently uses the default "drag-and-drop + Add another item" multiple value implementation for managing categories and tags for recipes.
We have a "Tags-style autocompletion" widget, which allows autocompleting multiple items in a single textfield. This makes for better usability in this case, I think.
Proposed resolution
Use tags-style autocomplete widget instead.
Comment | File | Size | Author |
---|---|---|---|
#6 | tag-confirmation.jpeg | 291.76 KB | kpolte |
#5 | tag-style-autocompletion-2939747-5.patch | 903 bytes | adiaz |
umami-taxonomy.jpeg | 196.68 KB | tstoeckler |
Comments
Comment #2
tstoecklerNot sure if there were any specific reasons for using the current widgets, and I'm not much of a usability person, so maybe this is just "closed (works as designed)" but I thought I'd point it out. Seems to me at least that this would be an improvement.
Comment #3
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedComment #4
tstoecklerComment #5
adiazI agree, tag style autocompletion may improve usability. Here's a patch for review.
Comment #6
kpolte CreditAttribution: kpolte commentedTestet patch in recipe category and tags plus attached a schreenshot. Works perfect :D
Comment #7
kpolte CreditAttribution: kpolte commentedComment #8
tstoecklerThanks @kpolte, that's awesome. Code looks great as well. RTBC++
Comment #9
borisson_The status change in #8 seems accidental.
Comment #10
tstoecklerOops, sorry, yeah that was stupid.
Comment #12
tstoecklerHmm... failed on:
Assuming that's an issue with the bot so setting back to RTBC
Comment #13
lauriiiTotally makes sense for me to use the tags autocompletion for these fields.
Committed 71f416b and pushed to 8.6.x. Thanks!
Leaving RTBC against 8.5.x.
Comment #17
lauriiiCherry-picked 6fe9dd9 and pushed to 8.5.x.