Skip to main content

Search and Top Navigation

#14982 closed feature (wontfix)

Opened June 03, 2016 04:40PM UTC

Closed June 03, 2016 05:21PM UTC

Autocomplete support for "mentions" (highlighted references to pre-existing entities) (solution available)

Reported by: klawson88 Owned by:
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.11.3
Keywords: Cc:
Blocked by: Blocking:

Mentions (highlighted references to pre-existing entities) is a feature that is nearly ubiquitous in web-apps today, and one which is always paired with an autocomplete feature. Given such a relationship between the two features, I (and many others) think it makes sense to incorporate support for the former (mentions) inside UI's implementation of the latter (autocomplete).

Luckily, not much work has to be done for that to happen. Mentionator, a plug-in I created, enables users to create mentions, and actually utilizes UI Autocomplete to expose the interface through which mentions can be created. The repo contains a link to a demo where you can try it out!

I think providing the functionality of Mentionator through Autocomplete as an optional feature would be a low-cost, high reward refactor that would undoubtedly increase the value of the widget in the eyes of past, current, and potential users. I'm fully committed to submitting the plug-in for such a purpose.

What do you guys think?

Attachments (0)
Change History (1)

Changed June 03, 2016 05:21PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

The cost is actually very high and would only be useful to subset of users. jQuery UI widgets are intentionally scoped to prevent feature creep like this. They're also designed for extensibility to allow building on top of as you've done.

If we did decide to implement a widget like this, it would be its own widget, not part of autocomplete. You should just promote your own widget instead.