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

dropdown menu for "power tags" #496

Closed
jywarren opened this issue Apr 12, 2016 · 2 comments · Fixed by #1558
Closed

dropdown menu for "power tags" #496

jywarren opened this issue Apr 12, 2016 · 2 comments · Fixed by #1558
Labels
enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute JavaScript

Comments

@jywarren
Copy link
Member

jywarren commented Apr 12, 2016

Problem

There are an increasing number of powertags which can be used to modify or add features to a post or a page. But these must be manually entered using the documentation at https://publiclab.org/wiki/power-tags

Tag form shown here:

screenshot 2016-04-12 at 4 13 02 pm

Proposed fix

Provide a low-profile dropdown menu (so as not to confuse newcomers, but be available for more experienced folks) which auto-tags or prompts for input in order to generate appropriate power tags. For example, if you select response, it'd prompt you in a dialog box (or a Bootstrap popover, perhaps?) for the ID of the post you're responding to -- and even offer a search function to find that post.

This last "autocomplete" addition could be a little bit like the Github interface which helps you link to other issues, as shown here:

screenshot 2016-04-12 at 4 11 10 pm

Code for the tagging form is here: https://github.com/publiclab/plots2/blob/master/app/views/tag/_tagging.html.erb#L11

The tagging form JavaScript might also be moved into its own file at /app/assets/javascripts/tagging.js.

@jywarren jywarren added enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute JavaScript labels Apr 12, 2016
@jywarren jywarren added this to the Activity grids milestone Sep 1, 2016
@jywarren
Copy link
Member Author

jywarren commented Jul 7, 2017

@jywarren
Copy link
Member Author

jywarren commented Jul 7, 2017

https://publiclab.org/wiki/power-tags

One-word input:

parent:_____
with:_____
var tagname = prompt("Enter the tagname you'd like to _____");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement explains that the issue is to improve upon one of our existing features help wanted requires help by anyone willing to contribute JavaScript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant