BMO/UserProfiles

From MozillaWiki
Jump to navigation Jump to search

This is a project to add a user profile page into Bugzilla. It would show a few stats summing up particular actions or contributions by the user, and would be visible to all logged in users.

In this version of the profile, the user does not have to upload or fill in any fields, as the entire profile is generated from data within Bugzilla.

Bug filed at: https://bugzilla.mozilla.org/show_bug.cgi?id=859550 [ateamtrack: p=bugzilla q=2 m=1]

How a simple user profile might look


  • Name: lizzard
  • Login: lhenry@mozilla.com
  • Mozillians.org profile: [link ] (BMO) (Needs some complexity to implement)
  • Last activity: 2013-03-26
  • Bugs filed: 13
  • Commented on: 53
  • Confirmed: 10 (confirmed meaning # of bugs you changed from unco to new)
  • QA-contact: 0 (info)
  • Patches submitted: 0 (info) (# of attachments that have content type of patch)
  • Patches reviewed: 0
  • Assigned to: 1
  • Bugs poked: 155
  • RESOLVED: INVALID (3), VERIFIED (5), FIXED (5)


  • Firefox (23), Firefox for Android (2), FirefoxOS (1), Thunderbird (6), SeaMonkey (2)

Explanation of these stats

  • Each stat has a number associated with it, a description, and a more info link.
  • Stats that don't have any activity should still show on the page with a zero for the #.
  • The number should link to a bugzilla query.
  • The field names should each have a tooltip short description. Each field name could also either be links themselves, or could have a "more info" long description which might be either an explanation or a link to an external page. (In this case probably a WMO page.)
    • the pages will have to be able to be hosted by Bugzilla if the work is going upstream.

Questions

  • Should patches submitted be all the ones submitted? obsolete ones too?
  • Should we give a different stat for patches reviewed + accepted?
  • Bugs assigned would be all of them ever for this user, not just open ones. Would only the current assignee "count"? If the assignee changes, do they both increment?)
  • We can show a link to a Mozillians profile by checking the email address against the Mozillians API. However, Mozillian profiles are only visible to vouched Mozillians. So, to display the link, we would need to know which Bugzilla users are vouched Mozillians, and not show the link to others. Would that mess up performance?
    • right now automatically linking from bmo to mozillians isn't viable as mozillians only allows for a single email address, and many people use different accounts on bmo vs mozillians.
    • it would be much simpler to add a 'mozillians user' field to the user, add it to the account profile tab, and show that link if it's populated. i don't think we need to validate that field in the first revision.

Strings

(862441 and 859550)

(TODO: list the strings that would go with the short descriptions - liz)

Prior Code