Project

General

Profile

Actions

Feature #3332

closed

Feature #2945: My Commons

Avatar logic and nested secondary avatars for activity stream

Added by Boone Gorges almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
My Commons
Target version:
Start date:
2014-07-16
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

http://redmine.gc.cuny.edu/attachments/download/1293/Commons-PersonalHomepage-Options-v3.pdf page 11 makes a couple assumptions about avatars:

1. When looking at your personal homepage, it's kinda redundant to show your own avatar for activity. It's much more salient to show secondary avatars as primary. This is different from the way BP's default avatar logic works. So, for example, Chris's personal home page might have an activity item "Christopher Stein edited the Doc .... in the group Foo". Instead of showing Chris's avatar, show the Foo avatar.
2. In cases where a secondary avatar is available, show it as nested at the corner of the primary avatar (as in the mockup) rather than in the activity action text.

Ray, can I ask you to think about these and have a crack at it? I know that the requirements of 1 are a bit sketchy, but I assume it won't be too hard to catalog the activity types (there are maybe 20 on the Commons?) and to decide which avatar(s) should appear in which cases. For now, let's only have these changes apply when looking at the personal homepage - we'll leave avatars alone in all other activity streams on the site.

Obviously the implementation details will depend to some extent on #3331, but I'm hoping that at least some of the work might be done independently and in parallel.

Ray, please let me know what you think. Thanks!

Actions #1

Updated by Chris Stein almost 10 years ago

I spent a little time thinking about this so I'll add my thoughts. I haven't had time to do sit down and go through it in depth so I may be missing something.

While there are a lot of activity types they fall into a few categories:
  • Group related (join, forum post etc)
  • Site related
  • Person to Person (become friends)
  • Single Person (change profile pic)

For the group activity it seems to make sense to always show the group avatar as the main one and the person who did the action as secondary.

For the Site activity as far as I know we don't have site avatars so that only leaves one for the person. I suppose we could discuss whether it makes sense to have a generic icon for all site activity to help identify it. We may want to create a separate ticket for such a discussion.

For person to person we should show both avatars. I don't have enough knowledge of how friending gets recorded to know how to separate primary and secondary but I'm assuming that you could just do something like whichever shows first now is primary and the other is secondary. If you wanted to get more complicated you could ensure the user's own avatar was always secondary if involved. I'm interested in thoughts on whether we want to keep primary/secondary for this or do another layout that has both avatars the same size.

For single person it would also be just the single avatar.

It may or may not help at this point but thinking ahead towards the future we may want to put other kinds of activity on the personal homepage like: messages, wiki activity, docs and notifications from the Commons. Messages and Docs especially might use avatars as well.

Actions #2

Updated by Boone Gorges over 9 years ago

I've had a brief look at how Ray has implemented this, and I think it matches what Chris has laid out above. Ray, could you chime in?

Actions #3

Updated by Boone Gorges over 9 years ago

  • Status changed from Assigned to Resolved

I've reviewed the implementation again, and I'm comfortable marking this ticket resolved. If we find mismatches between avatars, let's reopen with details, or create a new ticket. Thanks again, Ray!

Actions

Also available in: Atom PDF