josiah-wolf-oberholtzer / discograph

Social Graphing for the Discogs Database
MIT License
74 stars 11 forks source link

Improve credit role multiselect. #80

Open josiah-wolf-oberholtzer opened 9 years ago

josiah-wolf-oberholtzer commented 9 years ago

The current widget is both slow and makes examining what roles are selected difficult.

Consider switching to Select2 instead.

Pros:

Cons:

@delucis thoughts?

delucis commented 9 years ago

Select2 could potentially be a big improvement.

Accommodations needed

ul {
    overflow: scroll;
    height: 30px;
}

Alternative?

http://travistidwell.com/jquery.treeselect.js/

The example seems to run fairly quickly with a large, multi-level list (4096 items). Searching currently is only triggered by the search button, not while typing, but that ought to be a fairly straight-forward change.

Might also need some more skinning? Happy to volunteer some CSS-ing if needed.