Closed
Bug 1279014
Opened 10 years ago
Closed 10 years ago
Remove the "Close" options from the dashboard
Categories
(MozReview Graveyard :: Review Board: User Interface, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcote, Assigned: davidwalsh)
Details
Attachments
(1 file)
We specifically disallow people from closing commit review requests by removing the "Close" button on the individual review-request views. However, it is still possible to close any review request from the dashboard by selecting one or more checkboxes. This is bad because it puts these review requests into a weird state, and there's no way to reopen them. We should hide those controls on the dashboard.
| Assignee | ||
Comment 1•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/58864/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/58864/
Attachment #8761784 -
Flags: review?(mcote)
| Assignee | ||
Comment 2•10 years ago
|
||
https://reviewboard.mozilla.org/r/58864/#review55766
Added image of what it will look like!
Comment 3•10 years ago
|
||
Comment on attachment 8761784 [details]
MozReview: Hide 'Close' links in review listing sidebar (Bug 1279014).
https://reviewboard.mozilla.org/r/58864/#review55884
Stealing. LGTM! Thanks davidwalsh!
Attachment #8761784 -
Flags: review+
Comment 4•10 years ago
|
||
https://reviewboard.mozilla.org/r/58864/#review55942
::: pylib/mozreview/mozreview/static/mozreview/js/default.js:9
(Diff revision 1)
> + // Hide "Close Discarded" and "Close Submitted" in request listings
> + $('#page_sidebar').find('a.discard, a.submit').remove();
FYI, I upstreamed some abortable signals on closing and reopening review requests that we can use to properly restrict the API calls this UI makes but I haven't gotten around to actually implementing the fix, See bug 1163095
| Reporter | ||
Updated•10 years ago
|
Attachment #8761784 -
Flags: review?(mcote) → review+
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8761784 [details]
MozReview: Hide 'Close' links in review listing sidebar (Bug 1279014).
https://reviewboard.mozilla.org/r/58864/#review55944
Pushed by mcote@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/b5ed2ccc629e
MozReview: Hide 'Close' links in review listing sidebar . r=mconley,mcote
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•10 years ago
|
Assignee: nobody → dwalsh
You need to log in
before you can comment on or make changes to this bug.
Description
•