Loomio
Fri 3 Oct 2014 4:43AM

"Top Twenty Tags" section in left sidebar

D Daniel Public Seen by 133

I am a new podmin and I've noticed the left sidebar is a little redundant and underutilized. The My Activity and Stream buttons are duplicated no more than 2 inches from each other on the stream page, so I removed them from the left side.

Under this, I added a "Top Twenty Tags" section. When new users join my pod, they quickly fall off because no one interacts with them. This gives them a well-rounded popular list that they will be bound to meet someone that shares interests with them. I've found new users are actively using the tags suggested here and there is much more interaction.

To generate this, I tried to edit the Ruby controller files but had no idea what I was doing. I think it should be similar to the following code used for the Admin page:

def stats
@popular_tags = ActsAsTaggableOn::Tagging.joins(:tag).limit(50).count(:group => :tag, :order => 'count(taggings.id) DESC')

but didn't know how to link it to the .haml files (if that's even what you do). For now, I just updated the en.yml and main.stream.html.haml file to manually type in each as a link. I kinda like being able to manually define this so I can shape it to what I see my community posting about so maybe this should instead turn into a parameter to add in a config file. Just a thought.

A

aj Sun 5 Oct 2014 3:33PM

i can't believe i did not know about the likes and comment streams!!!!!! left side bar links are clearly needed for those very useful streams :)

i would also use a link to a customizable tag page of some sort, although personally i would not have the tags themselves in the sidebar

G

goob Sun 5 Oct 2014 4:02PM

Good spot above on the /liked and /commented streams. I guess they could be made sub-menu items (perhaps along with /reshared, which doesn't yet exist) under 'My Activity'.

J

Jakob Sun 5 Oct 2014 5:37PM

The left sidebar could have more items without becoming clodded. Especially when "Stream" and "My activity" is duplicated from the topbar (where b.t.w. the "stream" and the diaspora-star also has the same function.) In the longer perspective I could see optional scripts or queries available to the user here.

On the other hand I agree with Augier. The #tags-list would right now be tech or politics, and I for one hope for a much richer biodiversity in what people share on Diaspora.

I think that we soon will have to give some opportunities to arrange and sort the stream. But not by popularity. The internet tends to clutter all the time and I hear more and more people complaining over this in Google and FB. For Diaspora the user should be in the center of the query not everybody else.

IGM

Ivan Gabriel Morén Sun 5 Oct 2014 8:57PM

A sum up of the proposals and current implementations I've seen on the subject of exploring tags:

  • Exploring tags by word of mouth (including tag lists?)
  • Exploring tags by looking at statistics, such as trending tags
  • Implementing fuzzy/loose tags (as mentioned by Kazhnuz)
  • A list of #tags commonly used in combination with the searched tag

So, ontopic I'd say that these "trending tags" should be on the outside of diaspora, maybe as a part of the statistics.json or as an improved version of a popular tags page.

M

msas Wed 4 Feb 2015 5:28PM

I have a question. My list of followed tags get longer and longer and to add a tag I have to scroll down quiet a bit. Is it an idea to add another 'add box' on top of all followed tags? So we have 2 boxes.

If I should put this somewhere else can anybody please tell me where? :)

G

goob Wed 4 Feb 2015 6:31PM

If I should put this somewhere else can anybody please tell me where?

I'd add it as an issue on Github. It's unlikely to be controversial, therefore doesn't require discussion here.

M

msas Wed 4 Feb 2015 6:49PM

Thx Goob. :)