BMO/UserProfiles
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
(TODO: list the strings that would go with the short descriptions - liz)
Mousing over a field name would pop up a tooltip with the field name description.
Clicking on the field names in the profile would take the user to that term (anchor text) on a page with descriptions of all the user profile field names.
user profile field descriptions
Last activity
The date and time a user last logged in.
Bugs filed
The total number of bugs reported by the user. More info: <a href="https://wiki.mozilla.org/How_to_File_a_Bug">How to File a Bug</a>
Commented on
The total number of bugs that the user has commented on. More info: <a href="https://bugzilla.mozilla.org/page.cgi?id=etiquette.html">Bugzilla etiquette</a>
Confirmed
The number of bugs the user has changed from UNCONFIRMED to NEW. More info: <a href="https://developer.mozilla.org/en-US/docs/Mozilla/QA/Confirming_unconfirmed_bugs">Confirming unconfirmed bugs</a>
QA-contact
QA-contacts work as part of the QA team to help developers with regression testing, steps to reproduce bugs, and bug verification. More info: <a href="https://quality.mozilla.org/docs/misc/how-can-i-help-test/">How can I help test?</a>
Patches submitted
The number of patches a user has submitted to help fix a bug. More info: <a href="https://developer.mozilla.org/en-US/docs/Introduction">Contributing to the Mozilla Codebase</a>, <a href="https://developer.mozilla.org/en-US/docs/Developer_Guide/How_to_Submit_a_Patch">How to Submit a Patch</a>, and <a href="https://wiki.mozilla.org/Bugzilla:Review">Bugzilla:Review</a>.
Patches reviewed
Shows how many patches a user has reviewed. More info: <a href="https://developer.mozilla.org/en-US/docs/Code_Review_FAQ">Code Review FAQ</a> including how to become a reviewer.
Assigned to
Bugs poked
RESOLVED
INVALID
VERIFIED
FIXED
Firefox
Firefox for Android
FirefoxOS
Thunderbird
SeaMonkey
Prior Code
- https://bugs.gnome.org has a describe user page that has similar statistics
- Code hosted here: http://bazaar.launchpad.net/~bgo-maintainers/bugzilla.gnome.org/3.4/files/head:/extensions/describe-user/
- Based on Bugzilla 3.4 and may need significant changes to bring up to date