Opened 3 years ago

Closed 3 years ago

#14982 closed feature (wontfix)

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:

Description

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?

Change History (1)

comment:1 Changed 3 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.