[forge:site-support:#1907]
I'd expect that the Labels field would provide completion to make it easier and more likely to choose an existing label.
Also, how does one get a list of existing labels?
He's referring to labels for tickets.
Auto-completion would be nice, but a way to browse seems easier and more important to me.
Originally by: wohler
[WTF? When I entered my second comment and hit Post, I got an error (Can't GET or something like that). When I refreshed this ticket, I saw that my second comment, which appeared to have failed appeared twice, and my first comment was gone. Trying my first comment again...]
In the first screenshot, note that several tags are suggested. When these tags are clicked, they are added to the current list of tags.
The simplest way to get a list of suggested tags is to list the top 10 common tags. This would be fine for my projects, for example. For projects that have dozens or hundreds of tags, a fuzzy match of the words in the ticket might be useful.
Originally by: wohler
In the second screenshot, a combobox appears when the user types the tag, showing all tags that start with the currently entered prefix. In Pinboard, the TAB is used to select the selected tag. However, the use of RET to select the tag would be more standard.
Browsing and selecting tags in this fashion is extremely fast. "Browsing" conjures up additional screens and sounds really slow.
The new tag JS library supports this. I think it should do a substring match when you start typing, and list the results in descending order of frequency (e.g most-used labels first)
We need to make sure this is performant for projects with lots of labels and tickets. Using the (relatively new) Mongodb aggregation pipelines might be a good way to get the labels & their counts. Another option is solr faceting.
Created #310: [#5465] autocomplete labels for tickets (2 cp)
Related
Tickets:
#5465Closed #310.
je/42cc_5465