Closed
Bug 1291628
Opened 8 years ago
Closed 8 years ago
Review comment lost after hitting 'publish'
Categories
(MozReview Graveyard :: Review Board: User Interface, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sebastian, Assigned: davidwalsh)
References
Details
Attachments
(2 files)
See attached screenshot (for reference). I wrote a lengthy review comment, updated the review state and pressed "Publish". Unfortunately I was required to hit "OK" first. Because of this I lost my comment and had to retype it. This is clearly a 'user error' but it would be nice if the interface could prevent me from doing something stupid. :)
Comment 1•8 years ago
|
||
Ah, I have a feeling the publish button inside the old dialog would perform a save, and we didn't make sure the button in the banner now does that. David, any chance you could look into making sure the draft banner's publish will perform a save of all the text fields when the drop down is open?
Flags: needinfo?(dwalsh)
Assignee | ||
Comment 2•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/69004/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/69004/
Attachment #8777476 -
Flags: review?(smacleod)
Assignee | ||
Comment 3•8 years ago
|
||
https://reviewboard.mozilla.org/r/69004/#review66082
Comment 4•8 years ago
|
||
Comment on attachment 8777476 [details] MozReview: 'maybeSave' unpublished comments within dropdown dialog (Bug 1291628). https://reviewboard.mozilla.org/r/69004/#review66084 ::: reviewboard/reviewboard/static/rb/js/views/draftReviewBannerView_mozreview.js:178 (Diff revision 1) > * Handler for the Publish button. > * > * Publishes the review. > */ > _onPublishClicked: function() { > + this._RDVInstance._saveReview(true); In cases where the dialog hasn't been opened, this will fail won't it?
Attachment #8777476 -
Flags: review?(smacleod) → review-
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8777476 [details] MozReview: 'maybeSave' unpublished comments within dropdown dialog (Bug 1291628). Review request updated; see interdiff: https://reviewboard.mozilla.org/r/69004/diff/1-2/
Attachment #8777476 -
Flags: review- → review?(smacleod)
Assignee | ||
Comment 6•8 years ago
|
||
https://reviewboard.mozilla.org/r/69004/#review66084 > In cases where the dialog hasn't been opened, this will fail won't it? Good catch; so many ways to use this dialog. Updated to accommodate said situation.
Comment 7•8 years ago
|
||
Comment on attachment 8777476 [details] MozReview: 'maybeSave' unpublished comments within dropdown dialog (Bug 1291628). https://reviewboard.mozilla.org/r/69004/#review66816 This *seems* like it should be fine to me... lets cross our fingers.
Attachment #8777476 -
Flags: review?(smacleod) → review+
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(dwalsh)
Updated•8 years ago
|
Severity: normal → critical
Priority: -- → P1
Updated•8 years ago
|
Assignee: nobody → dwalsh
Assignee | ||
Comment 9•8 years ago
|
||
AFAIK this just needs deploy
Comment 10•8 years ago
|
||
Pushed by smacleod@mozilla.com: https://hg.mozilla.org/webtools/reviewboard/rev/677d00d65abc MozReview: 'maybeSave' unpublished comments within dropdown dialog . r=smacleod
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•