publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
956 stars 1.83k forks source link

Sidebar UI changes to disambiguate tags from power tags #6593

Open steviepubliclab opened 4 years ago

steviepubliclab commented 4 years ago

Hello, Starting a thread here on the role of tags vs. power tags on Public Lab, and how they show up to users.

Background:

We've been working on the tagging infrastructure a good bit on Public Lab recently. Some of the goals of tags on the website are

1) to help people more easily navigate the website, 2) to make it so people can more easily "follow" topical material on the website, and 3) so information is clearly organized by type.

An issue that has surfaced in the UI exploration of our tagging infrastructure people are confused about the difference between tags and power tags - what they each are, what they each do, and how to use them.

About "Tags"- Sorting by Topic:

We have used tags as a way to sort materials by topics. Recently, we've been making a concerted effort to do more work on this - highlighting topics that we're hoping to build followers around, and organizing around words and terms that are ubiquitous and easy to understand.

About "Power Tags" - Sorting by Type

We use power tags as a way to prompt a page to do something specific. Power tags often use a header as the part of the piping to tell the following normal tag to do something specific. For example the power tag "question:foo" prompts that page into the "questions" stream on the website- separate from regular research notes. The power tags "activity:foo" does a similar thing.

The Problems and Suggestions

1) While power tags and regular tags serve two different purposes on Public Lab, they show up for the user in the same place - this has been confusing to users.

2) When you add power tags to a page, such as the "activity:foo" and "question:foo," it only applies the power sorting to the tags you use with the power. For example if someone was to add the following tags to a note: "question:water," "oil-and-gas," "pollution" - the page would only know that the question power is related to "water" and not the following two tags. However, Rarely (or never) is there a situation where something is a "question" about one topic, but a regular "note" about the following topics. However, under our current system in this example, the power would only be applied to the first topic.

Currently, to work this in a successful way (to mark something appropriately as a question), the user must know what power tags are, how they work, and they must remember to mark each "tag" on a post with the correct "power."

Other issues to consider

Some Power tags such as "with:username" and "locked" act in a different way. They are not meant to sort pages by information type, but rather they apply different features to the page.

Looking forward to exploring this issue with everyone! Thanks for support in the ideas @ebarry @jywarren and @publiclabmimi

ebarry commented 4 years ago

Here's a link to fully fleshed out proposal to address what's described above as Suggestion 1B:

we move power tags to a different place on posts which is less prominent than the topical tagging location

See this comment on the Draft Style Guide: https://publiclab.org/notes/warren/05-07-2019/introducing-a-draft-style-guide-for-public-lab#c25779

ebarry commented 4 years ago

From the links above, here's a screenshot of current --> proposed:

36134

Does this look good? UPDATE 2021: contrary to the screenshot, we are not going to change lat:foo and lng:foo tags to latitude:foo and longitude:foo

jywarren commented 4 years ago

I like this. If @steviepubliclab agrees, i can start chopping this up into tasks. Thanks, @ebarry @publiclab-mimi!

steviepubliclab commented 4 years ago

hi!

for the "And these powertags" what does the "and these" mean? Maybe it should just say "powertags"

jywarren commented 4 years ago

Sure, that sounds reasonable. I'll defer to the others on final wording there. Does the overall design look good to go? Thanks!

jywarren commented 4 years ago

And to be clear, when you add new tags, it should figure out if they are powertags or not, and make them appear with the appropriate mini cards; powertags below and topics above:

image

Is that right?

steviepubliclab commented 4 years ago

that sounds good to me!

jywarren commented 4 years ago

OK, so the overall project parts will be:

These will probably break some tests, which will have to be refactored to the new version, esp. in test/system/tag_test.rb and test/system/place_tags_test.rb.

NitinBhasneria commented 4 years ago

Can I take this issue please @jywarren @steviepubliclab

jywarren commented 4 years ago

We would LOVE help with this, thank you!!

On Tue, Jan 14, 2020 at 4:59 AM Nitin Bhasneria notifications@github.com wrote:

Can I take this issue please @jywarren https://github.com/jywarren @steviepubliclab https://github.com/steviepubliclab

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/6593?email_source=notifications&email_token=AAAF6J47WCVK5URBT3PPFLTQ5WEI3A5CNFSM4JH7WRX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4AFFI#issuecomment-574096021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAF6J2VKATRGC3IS6XV3S3Q5WEI3ANCNFSM4JH7WRXQ .

jywarren commented 3 years ago

Working on quite a few more of these in https://github.com/publiclab/plots2/pull/8684

jywarren commented 3 years ago

Relaying in ideas for discussion -

leaving a label in the popover indicating that it's a powertag and explaining what that is:

image

Also possibly switching non-powertags to blue and powertags to grey, and @17sushmita suggested possibly an icon to suggest it's a "utility" tag (a cog? Discussion!)

Screenshot of current state:

image

ebarry commented 3 years ago

Great to see the new "utility grey" styling on the powertag display in the sidebar! Also to have the big blue follow button removed from powertag cards. Thank you for working on this!

Screen Shot 2021-07-20 at 2 15 10 PM
Manasa2850 commented 3 years ago

I've made couple of changes to disambiguate tags from power tags in the sidebar. Ref PRs #9972 #9889 #9863 #9822
Please let me know if there are any more improvisations that I can do. I'd love to brainstorm on it. Thanks!

jywarren commented 3 years ago

Amazing! I think the only remaining things are: