Skip to content

Improve the tag inputs when creating a protip #329

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

Merged
merged 1 commit into from
Apr 28, 2015

Conversation

stim371
Copy link
Contributor

@stim371 stim371 commented Apr 28, 2015

Add selectize.js to Gemfile, and attach selectize to topic_list field on Protips edit page to provide enhanced tagging interface.

Moving the placeholder to the selectize function also fixes an issue where you can save an empty protip in production and it saves with the tags of "Tags" and "comma separated"

One previous attempter said there were structural issues, but I don't know what that means. The only minor roadblock I found is trying to move the error hover if you try to submit a protip without a tag. Let me know if you have an idea how to correct that.

Bounty #490

Protips edit page to provide enhanced tagging interface.

Bounty #490
seuros added a commit that referenced this pull request Apr 28, 2015
Improve the tag inputs when creating a protip
@seuros seuros merged commit 51c5b81 into coderwall:master Apr 28, 2015
@stim371
Copy link
Contributor Author

stim371 commented Apr 28, 2015

I just tested this in prod and it looks like I forgot the CSS. When I try to add a tag, it stays plaintext and kicks to a newline. Can someone confirm? @seuros

I can put up a new pr to fix this evening.

@stim371 stim371 deleted the fancy_tags branch May 5, 2015 01:56
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

Successfully merging this pull request may close these issues.

2 participants