Display team emblem on bugs from project contributors

Bug #81692 reported by Matt Zimmerman
38
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

It sometimes happens that a well-intentioned community member responds inappropriately to a bug filed by a developer. For example, by rejecting the bug, or asking for additional information when the problem is well understood by the relevant developers.

Additionally, in a bug with many comments, it is difficult to distinguish authoritative information from comments by arbitrary Launchpad users.

To address these and related problems, I propose the following:

When displaying the name of the bug reporter or the author of a comment, *if* they are a member of a team which holds an *official role* within the project, the emblem of that team should be displayed with their name. For example, teams with upload privileges to the distribution containing a package (for distro bugs), or bug contacts for the product, package or distro.

This would make their role clear to anyone looking at the bug, and help to lend authority to their statements, without the problem of cluttering the display with all of the user's emblems (many of which might not be relevant).

Matt Zimmerman (mdz)
description: updated
Matt Zimmerman (mdz)
Changed in malone:
importance: Undecided → Wishlist
Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

sounds like a good idea to me.

Matt Zimmerman (mdz)
description: updated
Revision history for this message
Christian Reis (kiko) wrote :

How interesting! Very cool idea. It is a bit expensive to implement the lookups but I am thinking abou tit.

Changed in malone:
assignee: nobody → kiko
status: Unconfirmed → Confirmed
Revision history for this message
James Henstridge (jamesh) wrote :

If we just want to display comments from developers differently, we could do it with one extra query:

1. After assembling all the bug comments, we have a set of all the message authors.
2. For each bug task, get the context and grab the person IDs that would cover developers (owners and drivers would cover it, I think).
3. Query the TeamParticipation table for rows where person is in the list of people from (1) and team is in the list of people from (2).
4. Take the set of TeamParticipation.person values from the above query. If the author of a comment is in this set, then it can be marked as coming from a developer.

Using raw SQL, this could probably be included in the main query used to get all the bug comments, but that is probably a bit difficult to do with our ORM. However, the extra query shouldn't add much overhead.

Revision history for this message
James Henstridge (jamesh) wrote :

As an addition to the above solution, if we care about showing team emblems, the result set from (3) gives us the team team the user is a member of too, so we can get the emblem too.

That said, I reckon that displaying comments from developers differently goes a long way to solving the problem, even without the emblems.

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 81692] Re: Display team emblem on bugs from project contributors

On Mon, Jan 29, 2007 at 06:23:02AM -0000, James Henstridge wrote:
> If we just want to display comments from developers differently, we

We want to display both comments and the report(er) itself differently, so
the identity of the reporter is clear even they haven't commented.

Of course, both are individually useful.

> could do it with one extra query:
>
> 1. After assembling all the bug comments, we have a set of all the message authors.
> 2. For each bug task, get the context and grab the person IDs that would cover developers (owners and drivers would cover it, I think).

For a distro, this would be:

- Registrant
- Bug contact
- Security contact
- Uploaders to the various components

In current Ubuntu practice, of course, some of these are the same (or
contain one another), but the above should apply equally well to other
distributions and upstream products.

--
 - mdz

Revision history for this message
Joey Stanford (joey) wrote :

Reassigning to Curtis to work into the Badges spec.

Changed in malone:
assignee: kiko → sinzui-is
Revision history for this message
Curtis Hovey (sinzui) wrote :

Testing reassignment behaviour of milestone in production. Sorry for the spam. But for anyone truly interested in this bug, I will start on it as soon as OfficialProjectMembersSpec is approved.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I'm pushing this back two releases because I have no approval to work on the OfficialProjectMembers spec, and my 1.1.9 bugs will take most of my development time.

Revision history for this message
Joey Stanford (joey) wrote :

upgrading from wishlist to low.

Changed in malone:
importance: Wishlist → Low
Revision history for this message
Curtis Hovey (sinzui) wrote :

I'm pushing this back a release because the OfficialProjectMembers spec is being rewritten.

Christian Reis (kiko)
Changed in malone:
milestone: 1.1.11 → 1.2.2
Revision history for this message
Björn Tillenius (bjornt) wrote :

Curtis, is this something you will work on during 1.2.2? If not, please re-assign to to another milestone, or unassign it completely.

Revision history for this message
Curtis Hovey (sinzui) wrote :

We have not committed to work on this so I removed the milestone.

Changed in malone:
milestone: 1.2.2 → none
Revision history for this message
Curtis Hovey (sinzui) wrote :

The launchpad-registry must provide the infrastructure to answer the question who is a project contributor before this feature can be added.

Changed in malone:
assignee: sinzui → nobody
importance: Low → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.