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

Implement typeahead suggestions on the subreddit field of the submit form #33

Open
Kerrick opened this issue Apr 27, 2012 · 4 comments
Open

Comments

@Kerrick
Copy link
Owner

Kerrick commented Apr 27, 2012

Right now the subreddit box is static, which works if you know the subreddit name you want to submit to. However, implementing a typeahead dropdown would be nice, because it would act more like the form at http://www.reddit.com/submit does.

@ghost ghost assigned Kerrick Apr 27, 2012
@Kerrick
Copy link
Owner Author

Kerrick commented Apr 27, 2012

Should I poll http://www.reddit.com/api/search_reddit_names.json or sholud I maintain a list of the X most popular subreddits? The former would give a larger breadth of suggestions, but might seem slower for Mostly Harmless users, and might unnecessarily tax the Reddit API.

/cc @chromakode

@chromakode
Copy link

The search_reddit_names API endpoint was created expressly for completing subreddits on the submit page. As long as you abide by the API usage guidelines, I don't think it should impact us more than a regular submit page.

@Kerrick
Copy link
Owner Author

Kerrick commented Apr 29, 2012

I'm going to call this blocked on code.google.com/chromium#20226, because I'd rather implement it using the native HTML5 <datalist> element.

@Kerrick
Copy link
Owner Author

Kerrick commented Dec 7, 2012

Apparently, Chrome now supports the <datalist> element. Removing external dependency block.

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

No branches or pull requests

2 participants