Closed
Bug 1265895
Opened 8 years ago
Closed 8 years ago
[MERGE] Update the alias field for the bug modal form
Categories
(bugzilla.mozilla.org :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
4.50 KB,
patch
|
dylan
:
review+
|
Details | Diff | Splinter Review |
- the alias field shouldn't be moved from its current location, and should be a comma delimited list - moving the field into 'details' when editing is confusing/unexpected - displaying current aliases in a <select> is a no-go; i went to great pains to remove those from the current ui - they are ugly, and multi-select isn't obvious - when you demoed the ui to me in orlando i recall stating this wasn't a viable solution - make the alias field a comma separated list - bugs aren't expected to have a massive amount of aliases; we don't need a heavy ui to manage them - comma is already an invalid character in a bug alias
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•8 years ago
|
||
If you are pressed for time, punt this over to Dylan. - Removed old alias form elements - Added alias editing back to summary section as before - Aliases act like cc list values in that when hovering, a X is displayed allowing to remove each. - "Add" button displays an input to enter new comma separated alias values. dkl
Attachment #8744072 -
Flags: review?(glob)
Reporter | ||
Comment 2•8 years ago
|
||
Comment on attachment 8744072 [details] [diff] [review] 1265895_1.patch Talking it over, dylan may have more time to look at this than glob, so retargetting.
Attachment #8744072 -
Flags: review?(glob) → review?(dylan)
Comment on attachment 8744072 [details] [diff] [review] 1265895_1.patch Review of attachment 8744072 [details] [diff] [review]: ----------------------------------------------------------------- fwiw i don't agree that mirroring the CC approach is correct. it's expected that bugs will have a small amount of aliases, so a comma separated list is all that's required. ::: extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ +192,5 @@ > + label = "Alias" > + hide_on_view = 1 > + %] > + > + [% IF bug.check_can_change_field("alias", 0, 1) %] if the current user can't edit the alias field, it should be displayed the same as the view mode instead of editable with controls removed. try passing |hide_on_edit = NOT bug.check_can_change_field("alias", 0, 1)| to the field wrapper ::: extensions/BugModal/web/bug_modal.js @@ +1084,5 @@ > + }); > + $('#alias-list .alias-remove') > + .click(function(event) { > + event.preventDefault(); > + $('#top-save-btn').show(); you don't need to explicitly show the save buttons as these controls should only be visible when editing.
Reporter | ||
Comment 4•8 years ago
|
||
Ok. Much simpler patch this time around. dkl
Attachment #8744072 -
Attachment is obsolete: true
Attachment #8744072 -
Flags: review?(dylan)
Attachment #8746714 -
Flags: review?(dylan)
Comment 5•8 years ago
|
||
Comment on attachment 8746714 [details] [diff] [review] 1265895_2.patch Review of attachment 8746714 [details] [diff] [review]: ----------------------------------------------------------------- r=dylan
Attachment #8746714 -
Flags: review?(dylan) → review+
Reporter | ||
Comment 6•8 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git d96b42b..87063bd upstream-merge -> upstream-merge
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Assignee: dkl → nobody
Component: User Interface: Modal → User Interface
You need to log in
before you can comment on or make changes to this bug.
Description
•