As a part of #2386793: Modify user role progression on Drupal.org we want to display 'New' indicator next to user picture on comments and on user profile itself for new user accounts - accounts registered less than 90 days ago.

CommentFileSizeAuthor
new-user-badge-confirm.png108.85 KBtvn

Comments

tvn’s picture

Issue summary: View changes

  • drumm committed 2ebf229 on 2446889-new-badge
    Issue #2446889: Keep badge on picture at all browser widths
    
  • drumm committed 2f9def2 on 2446889-new-badge
    Issue #2446889: Add new badge to user profile instead of picture
    
  • drumm committed 5d6e5a6 on 2446889-new-badge
    Issue #2446889: Use element-invisible class
    
  • drumm committed 88917cc on 2446889-new-badge
    Issue #2446889: Merge in dev branch
    
drumm’s picture

Status: Active » Fixed
Issue tags: +needs drupal.org deployment

  • drumm committed 2ebf229 on 7.x-3.x
    Issue #2446889: Keep badge on picture at all browser widths
    
  • drumm committed 2f9def2 on 7.x-3.x
    Issue #2446889: Add new badge to user profile instead of picture
    
  • drumm committed 5d6e5a6 on 7.x-3.x
    Issue #2446889: Use element-invisible class
    
  • drumm committed 88917cc on 7.x-3.x
    Issue #2446889: Merge in dev branch
    
drumm’s picture

Issue tags: -needs drupal.org deployment

Now deployed.

joshuami’s picture

Do we know of a good example we can point people to see on production?

Also, we may have missed a use case for the new label. When a user creates an issue or a forum post, we don't show their profile picture. It might be nice to incorporate that in our design plans so that we can highlight when a request is by a new user. That is a key point when interactions with them could be improved. It would be kinda cool to have a tag for "first issue" or "first post" as well.

markhalliwell’s picture

Yes, it would be nice to see this on the initial issue a user posts. As you can see here, #2447777: field formatter selection - stucked..., this isn't visible at all until you visit the user's profile.

yesct’s picture

What are the confirm and report things there (in the screenshot)?

sidharrell’s picture

It looks good on the comment pic, it's the same width as the pic, but on the user profile, the "New" blue bar is wider than the profile pic.
https://www.drupal.org/u/sidharrell

yesct’s picture

I could have sworn we had an older issue to do this. but I cannot find it.

tvn’s picture

Do we know of a good example we can point people to see on production?

https://www.drupal.org/node/2448135
https://www.drupal.org/node/2346373

When a user creates an issue or a forum post, we don't show their profile picture. It might be nice to incorporate that in our design plans so that we can highlight when a request is by a new user.

For forums we could definitely display user picture with a label.
For issues though - since issue summary is editable by anyone, and edits are in fact encouraged, we intentionally don't show user pictures for not to tie original author to the later state of summary too much. What we could do instead is generate an automated comment on issue when it is submitted. Comment could simply say [username] opened an issue. It would display user picture and 'new' label when applicable. While comments represent the whole history of changes to the issue, this automated comment would be a record of the starting point.

sidharrell’s picture

While comments represent the whole history of changes to the issue, this automated comment would be a record of the starting point.

Especially if that automated comment had a link to the original revision, it would solve a problem that I've seen (even in my "New" time here, see comment profile pic :) where there is a section at the bottom of the revised IS to hold the original report. If the first comment holds a link to the original report, it alleviates the issue of leaving the OP in the revised IS.

joshuami’s picture

@sidharrel, thank you for that idea. I appreciate you jumping in and helping make Drupal.org better.

I agree with the idea of an initial comment generated to help tackle this. We should also consider removing the author from the issue display if we want others to come in and edit without feeling like they are overwriting another's post. While new users can see the edit button, I'm sure they could be a bit surprised to know they can help add meta data to the issue itself. I know I felt uncomfortable editing someone else's issue summary the first time.

@YesCT, the confirm and report are related to some additional spam prevention tools that will be coming into play later. The confirm button is for users with the community role or higher to confirm that the user is not a spammer. The confirm button could conceivably be around even after a user is no longer new. The report button will allow confirmed users and above to flag potential spam users. We'll have a queue for administrators to go through and act on those accounts on a regular basis.

sidharrell’s picture

was talking with @kgoel about this at the meetup tonight. Having the reference there to the OP would also help people who are trying to make sense of the issue starting with the OP and then following the comments. Sometimes the IS gets changed so much that you read the IS, then the comments, the comments seem out of context and it becomes really difficult to get a foothold on groking the issue. Having a chronological trail there to follow, from an OP linked in an auto-generated first comment might smash down some barriers to entry that were there, but had not been clearly identified.
Drupal rules! woot!

tvn’s picture

Opened #2449489: Automatically generate comment when an issue is created for the automated comment idea, and #2449497: Don't display author in 'Posted by..' line on issues for potentially hiding author on issues as a next step.

Having a reference to the original post in that automated comment is a nice idea. I am not sure if revision id is already available at that point, as there are no revisions yet and 'Revisions' sub-menu item is not available until the first issue edit. But if it is, we should totally include it.

mgifford’s picture

I'm looking forward to seeing this in the issues I'm following. Seems like a totally great improvement.

Should we set up a follow up issue for an 'old' indicator next to user pictures? I figure for folks who have been involved for over a decade... Maybe just for April fools. :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.