Project

General

Profile

Feature #1098

Create way for people to search through authors on blog listings

Added by Matt Gold about 10 years ago. Updated over 7 years ago.

Status:
Resolved
Priority name:
Low
Assignee:
Category name:
Blogs (BuddyPress)
Target version:
Start date:
2011-08-01
Due date:
% Done:

0%

Estimated time:
2.00 h

Description

A suggestion from a member:

"Can there be a quick search on the blog author for AC blogs rather than name of blog? This would greatly help people who don’t know the blog name, but know that the author has a blog out there."

Here is my response:

1. You could search the ”People” tab, but you’d have to click through to profiles to see the blogs people have

2. We could add author info to the blog listings and then allow people to order the listings and/or search by author.

The problem with #2 is that it would possibly clutter the page, but it's also not unreasonable, in my opinion, considering that that blog listing already (oddly) shows the personal avatars of authors.

What do you think? I'm cc'ing Chris on this since it involves UI issues.

History

#1 Updated by Boone Gorges about 10 years ago

  • Target version changed from 1.3 to 1.4

Re (2): This would require three mods on my end.
(a) Add author info to the Blogs tab. Adding the info is easy, but when a blog has lots of authors, we'd need to do something about hiding them (and probably providing a More... link, which adds complexity).
(b) Modify the blog search so that it searches member names. This is actually fairly complicated, as it means a few extra queries. Possible, but a decent amount of work.
(c) Add the ability to order by blog authors. This seems optional to me, and in any case poses a whole other set of problems; how, for example, do you sort by blog authors when blogs have more than one author?

I'm moving this out of the overcrowded 1.3 milestone, unless someone thinks its urgent enough to keep here.

#2 Updated by Matt Gold about 10 years ago

interesting thoughts. I think you're right to push this down. Let's reconsider when the 1.4 milestone approaches.

#3 Updated by Boone Gorges over 9 years ago

  • Priority name changed from Normal to Low

Would be nice to have this taken care of, but it seems low priority to me. Really ought to be handled as a BuddyPress feature.

#4 Updated by Boone Gorges over 9 years ago

  • Target version changed from 1.4 to 1.5

#5 Updated by Boone Gorges almost 9 years ago

  • Estimated time set to 2.00 h
  • Severity set to Low impact

#6 Updated by Boone Gorges about 8 years ago

  • Target version changed from 1.5 to 1.6

#7 Updated by Chris Stein about 8 years ago

Boone, saw you updated this and was wondering if you had done more thinking on it. I don't have any answers for solution number 2. You bring up some good, difficult questions around dealing with multiple authors and UI. If and when you're going to tackle it, let me know and I can focus more attention on it.

Because the situation described, knowing the person but not the blog, can be solved by visiting their profile and clicking sites (you're solution 1) it does beg the question whether people realize this and if there are other UI changes that can be made to help them find that solution. A couple thoughts on that and if anyone else thinks they're worth pursuing we could create separate tickets on them.

  • We are inconsistent with the naming. In the main nav we have "Blogs" and then in the profile it is "Sites." This could be confusing and could be made more consistent.
  • The profile has a "Blog" entry which allows people to fill out any blog they want. That's a good thing but for someone who doesn't know the interface they may think that is the full listing of the person's blogs and not look further. That problem probably won't get any better with the move to the new profiles.

#8 Updated by Boone Gorges over 7 years ago

  • Category name changed from BuddyPress (misc) to Blogs (BuddyPress)

#9 Updated by Boone Gorges over 7 years ago

I've started work on this. Author information is now displayed in the blogs directory: http://cdev.gc.cuny.edu/blogs/ Notes:

- Some blogs have many, many authors. I'm only displaying 5 per blog, with the "and x more" notice when there are more that aren't shown
- When choosing the five users, I select randomly on each pageload
- Authors are displayed in a random order on each pageload
- I've applied some minimal styling to make it look decent. It adds quite a bit of visual bulk to the directory, but I don't know that there's a way around that, given the amount of data we're adding

Please have a look and let me know if you have thoughts. I'll be working next on implementing search.

#10 Updated by Matt Gold over 7 years ago

Interesting work, Boone. To my mind, it's not necessary to see author names in the listing by default, especially since, as you say, it clutters up the page a fair amount. Perhaps having authors listed there could be a preference that one could check or uncheck?

I do think that search is important, and that it would be good to be able to search for a user and then see what blogs that person is on.

Looking forward to hearing other thoughts on this, and thanks for your work.

#11 Updated by Matt Gold over 7 years ago

Oy, and now I'm seeing that showing the member names there was my idea to begin with. I am sorry. What do others think?

#12 Updated by Boone Gorges over 7 years ago

  • Status changed from Assigned to Testing Required

#13 Updated by Matt Gold over 7 years ago

Thanks, Boone. Is there a limit of 11 max results of the search?

Also, I wonder whether we need to tell people that they can search by user? Maybe some starting text in the search box (that disappears when clicked) that says "search by author or blog name"? What do you think?

#14 Updated by Boone Gorges over 7 years ago

Is there a limit of 11 max results of the search?

No. There is no limit - just 20-per-page pagination. If you're finding incorrect results, please provide details.

#15 Updated by Matt Gold over 7 years ago

Just noticed that when I searched for "Boone" and "Gold," 11 results were returned, which seemed odd. When I search for "Smith," the same thing happens.

#16 Updated by Boone Gorges over 7 years ago

When I search for "boone", I get 13 items. When I search for "gold", I get 17 items.

Please try with another browser, in case there are cookie issues. As always, please also hard refresh your browser.

#17 Updated by Matt Gold over 7 years ago

Not sure what is going on, but I am getting 11 results on Firefox, too. I'm supposed to be entering these terms in the searchbox here, right? http://cdev.gc.cuny.edu/blogs/

Note that I am doing this as a logged-out user -- maybe that makes a difference? Screenshot of what I'm seeing in FF attached.

#18 Updated by Boone Gorges over 7 years ago

Note that I am doing this as a logged-out user -- maybe that makes a difference?

Ah, yes, this explains why we're getting different numbers.

The 11 is just a coincidence. Try searching for something more generic, like the letter 'a'.

#19 Updated by Matt Gold over 7 years ago

Okay! Weird that "boone," "gold," and "smith" all brought back 11 sites! Wonder if they're the same sites (too tired to check).

At any rate, this looks good. Sorry for the false alarm.

Is "search sites..." new?

#20 Updated by Boone Gorges over 7 years ago

  • Status changed from Testing Required to Reporter Feedback

Is "search sites..." new?

Nope, this has always been there.

Leaving this ticket open pending feedback on the authors issue.

#21 Updated by Boone Gorges over 7 years ago

  • Assignee changed from Boone Gorges to Chris Stein

#22 Updated by Chris Stein over 7 years ago

I think this is ready to go as is for this release.

I have some ideas on changes/additions, but making the changes or debating them shouldn't hinder this making the release. If we like some of them but they won't make the release then I'd suggest adding new tickets and closing this one.

We need to list the authors even if it does add some bulk, otherwise there is not way to see the authors.

Change 1
The placeholder text reads
"Search sites..."
perhaps it should change to
"Search sites and authors..."

Change 2
If someone is really interested in seeing all of the blogs a person is author on then the best thing to do is to view that person's sites page. While power users know that it is not clear to most users.

One way to get around that is to make the author link go to their sites page instead of their main profile page

Addition 1
This solution is an indirect way to search for blogs by a user. A more direct way would be to add a filter (like how you can filter by college in Members) that would be similar to send invite where you could start typing a name to find someone and then it would filter the search to just blogs that person authored.

I don't think that is needed in this case. If we do go down that route we should probably also filter on other info we have like letting people find blogs attached to a particular group, blogs who have made a post in the last x days or even blogs by people who are your friends.

That sounds like a new ticket to me

#23 Updated by Boone Gorges over 7 years ago

  • Status changed from Reporter Feedback to Assigned
  • Assignee changed from Chris Stein to Boone Gorges

Thanks, Chris. The two suggested changes should be fairly quick to make. The suggested addition is a major change, and (as you suggest) should get its own ticket.

#24 Updated by Matt Gold over 7 years ago

Both of the suggested changes sound advisable to me.Looking forward to the separate ticket to discuss the potential addition, which is a nice idea.

#25 Updated by Boone Gorges over 7 years ago

  • Status changed from Assigned to Testing Required

Search text changed to "search sites and authors..." in https://github.com/castiron/cac/commit/10e39252683588326643de03cd6a3091a5dd5b96

Author links changed to point to Blogs pages in https://github.com/castiron/cac/commit/cbc95285931e29138054ff5b1a7b28536f888c82

Ready to test on cdev.

#26 Updated by Boone Gorges over 7 years ago

  • Assignee changed from Boone Gorges to Chris Stein

Reassigning to Chris for initial testing.

#27 Updated by Chris Stein over 7 years ago

  • Assignee changed from Chris Stein to Boone Gorges

The changes look good to me Boone. One small tweak, if you increase the width of the input on search to about 180px then the full text is visible. Something like
#blogs_search {
width: 180px;
}

#28 Updated by Boone Gorges over 7 years ago

  • Status changed from Testing Required to Resolved

Made it 190 for good measure :) https://github.com/castiron/cac/commit/ca54681171fd45d81faeaf0aaa66866dca2df6db Thanks. Marking resolved.

Also available in: Atom PDF