Bug 2052188 - Move Close as Invalid button to the bottom action bar#2658
Conversation
dklawren
left a comment
There was a problem hiding this comment.
From Slack:
dholbert [1:09 PM]
It makes more sense there than in its current spot, but it will probably be a bit confusing to have ~adjacent buttons that look like they do the same thing:
[Close as Invalid] Resolve as [Fixed] [Invalid]
dholbert [1:12 PM]
I wonder if the label should also change to be a bit more specific? e.g. maybe we should align with the language in the warning message, e.g. Close as invalid test/spam bug ?
dholbert [1:13 PM]
(I know that's a bit longer, but it's likely helpful to make it a little more specific to disambiguate from the existing "Resolve as Invalid" UI)
Here is what I propose we do:
Move the "Closed as Invalid" button to the end of the the actions buttons with a extra gap after the last one ("DUPLICATE").
Also please add a title tag to the button containing " Close as invalid test/spam bug" or something similar in description.
Thanks
…add spacing and tooltip
|
What has been modified
|
| %] | ||
| [% IF can_close_invalid %] | ||
| <button type="button" id="close-as-invalid-btn" class="minor">Close as Invalid</button> | ||
| <button type="button" id="close-as-invalid-btn" class="minor" title="Close as Invalid Test/Spam bug">Close as Invalid</button> |
There was a problem hiding this comment.
https://bugzilla.mozilla.org/show_bug.cgi?id=2052993#c1
Not wanting to drag this out too long but we could change the button label to "Close and move to Invalid Bugs" as suggested in the above bug comment. Then we can consider this done IMO.
| %] | ||
| [% IF can_close_invalid %] | ||
| <button type="button" id="close-as-invalid-btn" class="minor">Close as Invalid</button> | ||
| <button type="button" id="close-as-invalid-btn" class="minor" title="Close as Invalid Test/Spam bug">Close and move to Invalid Bugs</button> |
There was a problem hiding this comment.
My fault for not mentioning in my previous comment. This will need to fixed to pass the sanity test for bugwords:
Failed test '/app/extensions/InvalidBugHelper/template/en/default/hook/bug_modal/edit-bottom_actions.html.tmpl contains invalid bare words (e.g. 'bug') --WARNING'
<button type="button" id="close-as-invalid-btn" class="minor" title="Close as Invalid Test/Spam [% terms.bug %]">Close and move to Invalid [% terms.Bugs%]</button>
Summary
bottom_actionshook point in the bug-modal comment-actions bar, between "Save Changes" and "Resolve As"top_actionshook to the newbottom_actionshookTest plan