Closed
Bug 1288109
Opened 8 years ago
Closed 7 years ago
flipping the r+ combo box on the "finish review" dialog shows the "Loading..." indicator
Categories
(MozReview Graveyard :: General, defect)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: froydnj, Assigned: glob)
References
Details
Attachments
(1 file)
I just finished reviews in https://reviewboard.mozilla.org/r/65572/ and every time I hit "Finish Review..." and flipped the r+ combo box, I was given the "Loading..." indicator at the top for multiple seconds. I'm unsure what it is doing, but flipping a combo box should not require deep thought on MozReview's part.
Comment 1•8 years ago
|
||
The "Loading" indicator shows because the R/+/-/? value is being saved.
i suspect this is a reviewboard bug which appears to have already been fixed on master when migrating to es6.. > RB.setActivityIndicator = function(status, options) { > var $activityIndicator = $("#activity-indicator"), > $indicatorText = $activityIndicator.children('.indicator-text'); > > if (status) { > if (RB.ajaxOptions.enableIndicator && !options.noActivityIndicator) { > $indicatorText > .text((options.type || options.type === "GET") > ? gettext("Loading...") : gettext("Saving...")); > ... when saving options.type is 'PUT', however that incorrectly results in 'Loading...' https://github.com/reviewboard/reviewboard/blob/1ddc83098007246c1790d7a1cd9b2c4cdb4713c0/reviewboard/static/rb/js/utils/apiUtils.es6.js#L26 > .text((options.type && options.type === 'GET') > ? gettext("Loading...") : gettext("Saving...")); david - can you verify this is the correct fix?
Assignee: nobody → dwalsh
Comment 3•8 years ago
|
||
Yeah, that looks correct.
Comment hidden (mozreview-request) |
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8793618 [details] Backport fix for 'Loading...' indicator being displayed instead of 'Saving...' (bug 1288109) https://reviewboard.mozilla.org/r/80332/#review79746
Attachment #8793618 -
Flags: review?(dwalsh) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8793618 [details] Backport fix for 'Loading...' indicator being displayed instead of 'Saving...' (bug 1288109) https://reviewboard.mozilla.org/r/80332/#review79750 Ooops, R+'d this too soon. We should copy to a `_mozreview.js` file, yes?
Attachment #8793618 -
Flags: review+ → review-
Comment on attachment 8793618 [details] Backport fix for 'Loading...' indicator being displayed instead of 'Saving...' (bug 1288109) https://reviewboard.mozilla.org/r/80332/#review79750 i don't think so - we're backporting an upstream fix, not making a mozreview specific modification.
this was fixed as part of another bug.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•