Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readers autocomplete should match anyone on the site #23

Open
boonebgorges opened this issue Oct 6, 2015 · 1 comment
Open

Readers autocomplete should match anyone on the site #23

boonebgorges opened this issue Oct 6, 2015 · 1 comment

Comments

@boonebgorges
Copy link
Member

I built the Readers autocomplete tool #18 so that it reads from a JS array built on the server, instead of AJAX requests. The array includes the logged-in user's friends, current readers of the paper, and members of all groups the user is a member of. I did it this way because user autocomplete is pretty slow on the Commons, and this way of doing things is much, much faster.

But there will be cases where someone will want to add someone who doesn't fall into one of these categories. I spent some time writing a custom dataAdapter for Select2 - one that would first look in a local array, and then search via AJAX when nothing was found there - but didn't want to go too deep in the rabbit hole for v1. I'm opening this ticket so that I don't forget about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant