Closed Bug 255428 Opened 21 years ago Closed 21 years ago

Allow multiple user selection in CC pull downs

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: altlist, Assigned: john)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 5 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618 Firefox/0.9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618 Firefox/0.9 The new userselect doesn't allow a person to select multiple CC's for a bug. Personally, I prefer a free form text field when adding CC's, but at least a multiple selection should be made available. Reproducible: Always Steps to Reproduce:
Attached patch suggested patch (obsolete) — Splinter Review
This is a suggested addendum to bug #251669 that only changes userselect.html.tmpl. One can then customize the edit/create tmpl files to support multiple selections in the CC field
*** Bug 262164 has been marked as a duplicate of this bug. ***
Comment on attachment 155977 [details] [diff] [review] suggested patch There needs to be some kind of "multiple='3'" in bug/edit.html.tmpl. While I think bug 262164, comment 4, is valid, the corresponding change in bug/edit-multiple.html.tmpl should imo be done in a separate bug.
Attachment #155977 - Flags: review-
Summary: All multiple user selection in CC pull downs → Allow multiple user selection in CC pull downs
Blocks: 269293
Assignee: myk → altlst
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 273516 has been marked as a duplicate of this bug. ***
See bug 277244 for a patch that modifies edit.html.tmpl and create.html.tmpl too. I can mark that as a duplicate and post my patch here if that's the "right thing".
*** Bug 277244 has been marked as a duplicate of this bug. ***
Attached patch Patch for Bugzilla, 2.18 branch (obsolete) — Splinter Review
Patch for Bugzilla, 2.18 branch. (Actually run against my local repository, which contains a vendor branch import of Bugzilla 2.18rc2, but I think it should apply cleanly to the 2.18 branch, and possibly to the tip). [Originally added to bug 277244 which has since been marked as a duplicate]
Oh, it seems I was confused about when userselect.html.tmpl came in, it wasn't on the 2.18 branch, but rather during development of 2.19, so this is a patch for the tip. The patch does apply cleanly to the tip, I just tested it.
FYI: $ patch -p0<~/patch.txt patching file template/en/default/bug/edit.html.tmpl Hunk #1 succeeded at 178 (offset 11 lines). patching file template/en/default/bug/create/create.html.tmpl Hunk #1 succeeded at 199 (offset -1 lines). patching file template/en/default/global/userselect.html.tmpl
This patch comes from a cvs diff to mozilla.org CVS tip, so is cleaner than my previous patch.
Attachment #170436 - Attachment is obsolete: true
Comment on attachment 170440 [details] [diff] [review] Patch for Bugzilla tip 2005/01/06 Good patch. + [% IF multiple %] multiple size="[% multiple FILTER html %]" [% END %] You're right in bug 277244, HTML4 indeed allows attributes without values. The right reference is http://www.bugzilla.org/docs/developer.html#templates, down at "Web Technologies", where it says code should be as XHTML compatible as possible, meaning attributes should have values. Please make that multiple="multiple" (this is what other places in Bugzilla have, too), and carry forward the review+ flag on your new patch.
Attachment #170440 - Flags: review+
Updated patch with suggestion from comment #11
Attachment #170440 - Attachment is obsolete: true
Attachment #170445 - Flags: review+
Attachment #155977 - Attachment is obsolete: true
Assignee: altlst → john
Flags: approval?
Noted the approval? flag, but I'm new to this flag business and https://bugzilla.mozilla.org/flag-help.html doesn't help. Am I meant to do something with that flag or not? :)
(In reply to comment #13) > Noted the approval? flag, but I'm new to this flag business and > https://bugzilla.mozilla.org/flag-help.html doesn't help. Am I meant to do > something with that flag or not? :) The Bugzilla project leader will now either approve or disapprove of what has been done here and will set the flag accordingly. Then, either the patch can be checked in, or we'll need to discuss what shall happen.
Attached patch Alternate patch for Bugzilla tip (obsolete) — Splinter Review
May I submit a slightly modified patch for consideration? The changes from John's patch (mostly for improved layout) are: * Added a "loginonly" flag to userselect.html: when set, it only shows the login name instead of the full name. * Set the multiselect size to 3 instead of 5. The "loginonly" flag makes the multiselect box fit much more cleanly in the third column of edit.html.tmpl. Consider, for instance, how the Reporter column has been folded to make it lay out nicely: since we can't do the same inside the multi-select box, this makes the box really wide if you try to display the full name. If showing only the login names (as in the cc: box), the column is the right size. And the multiselect size of 5 makes the edit page look rather ugly. 3 is somewhat better. (Though feel free to change the multiselect size back to 5 for the create page, if someone feels strongly about it..)
Attachment #170603 - Flags: review?
Oh, darn, forgot to make that a unified diff.
Attachment #170603 - Attachment is obsolete: true
Attachment #170605 - Flags: review?
Attachment #170603 - Flags: review?
Comment on attachment 170605 [details] [diff] [review] Alternate patch for Bugzilla tip - attempt 2 People not having given a full name would show up as empty lines with this patch. We'd need to fall back on the e-mail address for people not having given a full name. Barring this, I think that in a cc box the e-mail addresses are more useful than the full names because full names are not necessarily unique anyway. Personally I don't mind very much whether the box size is 3 or 5 lines. If we agree here, in time before approval+, to change the proposed 5 lines to some other value, then I'm fine with that. John?
Attachment #170605 - Attachment is obsolete: true
Attachment #170605 - Flags: review? → review-
Severity: minor → enhancement
Target Milestone: --- → Bugzilla 2.22
I think a height of 3 is too small, I greatly dislike scrolling in very small windows, you get little feedback about where you are, and I therefore find it much harder to find the entry/ies I'm looking for. The height of 5 matches the 5 high multiselect boxes elsewhere in Bugzilla. Concerning what we show in the multiselect, I agree the: Name <login> form may end up too long for some installations. In our installation it's not bad as our logins are of the form john.beranek. However, I'd be happy with making it so that the multiselects show just the login/email address. Showing just the name, as stated above (comment #17), isn't a good solution.
Oh, and regarding the milestone, are we saying this is too late for the 2.20 branch? It's a fairly minor enhancement to improve usability greatly.
This bug didn't change the way how to display the select box contents, so let's address shortening this to the e-mail addresses in a new bug, if you like. Let's go with attachment 170445 [details] [diff] [review] and wait for approval. I request blocking2.20 -- maybe it's not too late for 2.20.
Flags: blocking2.20?
OK, who's going to enter the new bug, Shankar? :)
(In reply to comment #17) > (From update of attachment 170605 [details] [diff] [review] [edit]) > People not having given a full name would show up as empty lines with this > patch. Uh, it's the full names that were being removed by the patch - the Email addresses would always be present. OK, I can see that 3 might be a bit small for the height. I guess a better answer would be to lay out the page somewhat differently, with the first two columns in one table, and the last one in another table, with both contained in one top-level table, which would allow things to be laid out more nicely without ugly gaps. But for now, ok, I have no problem with the patch being rejected. Thanks for the review.. (In reply to comment #21) > OK, who's going to enter the new bug, Shankar? :) I guess I am :-).
(In reply to comment #22) > Uh, it's the full names that were being removed by the patch - the Email > addresses would always be present. Ugh. I'm sorry. You're right. I don't know what I read :( Let's address shortening and box size in other bugs, and let's keep this at getting multiple selections in :)
Targeting bug to 2.20 since the 2.20 feature freeze was canceled.
Target Milestone: Bugzilla 2.22 → Bugzilla 2.20
Flags: approval? → approval+
Checking in template/en/default/bug/edit.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl,v <-- edit.html.tmpl new revision: 1.49; previous revision: 1.48 done Checking in template/en/default/bug/create/create.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl,v <-- create.html.tmpl new revision: 1.38; previous revision: 1.37 done Checking in template/en/default/global/userselect.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/global/userselect.html.tmpl,v <-- userselect.html.tmpl new revision: 1.2; previous revision: 1.1 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I've opened bug 278711 and bug 278710 due to this checkin.
Blocks: 278710, 278711
*** Bug 285156 has been marked as a duplicate of this bug. ***
*** Bug 286046 has been marked as a duplicate of this bug. ***
Flags: blocking2.20?
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: