Closed
Bug 327077
Opened 19 years ago
Closed 18 years ago
Implement a way to get all the components with a given default assignee (owner) and/or default qacontact
Categories
(Bugzilla :: Administration, task)
Bugzilla
Administration
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: reed, Assigned: LpSolit)
References
Details
Attachments
(2 files, 1 obsolete file)
|
9.13 KB,
patch
|
bugzilla-mozilla
:
review+
|
Details | Diff | Splinter Review |
|
39.08 KB,
image/png
|
Details |
Both timeless and myself have recently had to search all the products and components shown through describecomponents.cgi to find where a specific account is a default assignee/qacontact. There needs to be a better way to search for this instead of looking at each individual component.
*** Bug 349008 has been marked as a duplicate of this bug. ***
| Assignee | ||
Updated•19 years ago
|
Assignee: general → LpSolit
Severity: normal → enhancement
Component: Bugzilla-General → Administration
Summary: It's too hard to find all the components with a given default assignee and/or default qacontact → Implement a way to get all the components with a given default assignee (owner) and/or default qacontact
Target Milestone: --- → Bugzilla 3.0
Version: 2.20 → unspecified
| Assignee | ||
Comment 2•19 years ago
|
||
we are in "soft freeze" mode for 3.0.
Target Milestone: Bugzilla 3.0 → Bugzilla 3.2
Comment 3•19 years ago
|
||
It would also be helpful if users could change that role from the search results as well. So if john.doe@some.com leaves the company and fred.smith@some.com is taking over his duties, it would be very helpful if there were a simple way to change responsibilities from John to Fred with minimal input from the admin.
| Assignee | ||
Comment 4•18 years ago
|
||
Attachment #260636 -
Flags: review?(wurblzap)
Attachment #260636 -
Flags: review?(bugzilla-mozilla)
Comment 5•18 years ago
|
||
Comment on attachment 260636 [details] [diff] [review]
patch, v1
>Index: template/en/default/admin/users/responsibilities.html.tmpl
Yes, it works. However, I do not like the layout. I get stuff like:
* Default Assignee and Default QA Contact for storage:applet
* Default Assignee and Default QA Contact for gnome-blog:Blog Applet
* Default Assignee and Default QA Contact for storage:General
* Default Assignee and Default QA Contact for storage:libmrs
* Default Assignee and Default QA Contact for storage:libmrs-converter
* Default Assignee and Default QA Contact for storage:libstorage-nl
* Default Assignee and Default QA Contact for storage:libstorage-translators
* Default Assignee and Default QA Contact for storage:PET
* Default Assignee and Default QA Contact for storage:storage-store
* Default Assignee and Default QA Contact for gnome-themes:theme-crux
* Default Assignee and Default QA Contact for gnome-themes:theme-oceandream
* Default Assignee for gnome-themes:theme-simple
* Default Assignee and Default QA Contact for gnome-themes:theme-smokeyblue
* Default Assignee and Default QA Contact for storage:VFS
First of all, why aren't we using a table for this (with some kind of checkmark for Default Assignee and Default QA columns)? Secondly, please sort first on product name, then component. In the table I'd ideally like a column for product, then for component. Ideally the product would span the number of components the user is responsible for. For extra points, I'd like the components cell to be blank if the user is reponsible for all components within a product.
Attachment #260636 -
Flags: review?(bugzilla-mozilla) → review-
| Assignee | ||
Updated•18 years ago
|
Attachment #260636 -
Flags: review?(wurblzap)
| Assignee | ||
Comment 6•18 years ago
|
||
I fixed all bkor's review comments (except the last one about mentioning when the user is involved in all components of a product).
Attachment #260636 -
Attachment is obsolete: true
Attachment #264188 -
Flags: review?(bugzilla-mozilla)
| Assignee | ||
Comment 7•18 years ago
|
||
Nice, isn't it? ;)
Comment 8•18 years ago
|
||
Comment on attachment 264188 [details] [diff] [review]
patch, v2
>Index: Bugzilla/User.pm
>@@ -917,14 +917,33 @@ sub product_responsibilities {
>+ my $components = Bugzilla::Component->new_from_list(\@comp_ids);
>+
>+ my @prod_list;
>+ # @$products is already sorted alphabetically.
>+ foreach my $prod (@$products) {
>+ # We use @components instead of $prod->components because we only want
>+ # components where the user is either the default assignee or QA contact.
>+ push(@prod_list, {product => $prod,
>+ components => [grep {$_->product_id == $prod->id} @$components]});
Nit: This is slow. Imagine if someone is responsible for 800 components in 20 products; for each product you'd filter the 800 components again. Probably won't happen that often in reality though.
Attachment #264188 -
Flags: review?(bugzilla-mozilla) → review+
Updated•18 years ago
|
Flags: approval?
| Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Flags: approval? → approval+
| Assignee | ||
Comment 9•18 years ago
|
||
Checking in Bugzilla/User.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm
new revision: 1.152; previous revision: 1.151
done
Checking in skins/standard/editusers.css;
/cvsroot/mozilla/webtools/bugzilla/skins/standard/editusers.css,v <-- editusers.css
new revision: 1.3; previous revision: 1.2
done
Checking in template/en/default/filterexceptions.pl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/filterexceptions.pl,v <-- filterexceptions.pl
new revision: 1.100; previous revision: 1.99
done
Checking in template/en/default/admin/users/confirm-delete.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/confirm-delete.html.tmpl,v <-- confirm-delete.html.tmpl
new revision: 1.16; previous revision: 1.15
done
Checking in template/en/default/admin/users/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/edit.html.tmpl,v <-- edit.html.tmpl
new revision: 1.10; previous revision: 1.9
done
RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/responsibilities.html.tmpl,v
done
Checking in template/en/default/admin/users/responsibilities.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/users/responsibilities.html.tmpl,v <-- responsibilities.html.tmpl
initial revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 10•17 years ago
|
||
Added to the release notes for Bugzilla 3.2 in a patch on bug 432331.
Keywords: relnote
You need to log in
before you can comment on or make changes to this bug.
Description
•