plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Power tag change from "tool" to "method"

Open steviepubliclab opened this issue 9 years ago • 7 comments

I was wondering if we could switch the tag that compiles materials on the /methods page to "method" instead of "tool"

www.publiclab.org/methods

steviepubliclab avatar Jul 18 '17 17:07 steviepubliclab

Can help more soon but the line of code the change is needed on is here!

https://github.com/publiclab/plots2/blob/master/app/controllers/wiki_controller.rb#L355

On Jul 18, 2017 1:03 PM, "steviepubliclab" [email protected] wrote:

I was wondering if we could switch the tag that compiles materials on the /methods page to "method" instead of "tool"

www.publiclab.org/methods

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/1545, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJzxb1E6Zi3nNhMgtZskeBUhwgT6Hks5sPOU4gaJpZM4ObpFL .

jywarren avatar Jul 18 '17 23:07 jywarren

I want to help on this but cannot understand the issue!!

devaman avatar Sep 16 '17 14:09 devaman

Hi! I can't help with the coding aspect of it (non-coder) but I can try to explain the issue as I meant when I posted it in non-coding terms.

Currently, when someone adds the tag "tool" on to any wiki page right now, the page also becomes represented on this page:

  • www.publiclab.org/methods

For example here's a page with the tag "tool" and you can see it on the Methods wiki page now.

I'm hoping to get the power tag function switched so that what "tool" currently does, the tag "method" would do. I've gone and tagged all the pages with both, so everything should still show show up when this switch happens.

For back story:: For a while we were trying to decide whether to call these compiled materials pages "tools" or "methods." The power tag function was created for the word "tool" but we ultimately decided that we prefer the term "method." So hoping to get that power tag switched!

Hope that makes sense! -Stevie

steviepubliclab avatar Sep 18 '17 15:09 steviepubliclab

Thanks! It really helped me a lot.

devaman avatar Sep 18 '17 16:09 devaman

I'll change the power tag but then we have to alter all tools tag to methods tag.Should I change the line mentioned by @jywarren?

devaman avatar Sep 18 '17 18:09 devaman

I believe the change would just be to change "tool" to "method" on this line, as referenced above:

                 .where('term_data.name = ?', 'tool')

jywarren avatar Sep 18 '17 18:09 jywarren

Thanks!!

jywarren avatar Sep 18 '17 18:09 jywarren