Change "Publish Comments" to "Review"
The term "Publish Comments" was overloaded in the UI, we used it to open the comment review screen, and we used it to actually mean send the comments by email and make them visible to other users. This is confusing to users. Call the first button "Review", making it more clear that the action will bring up a screen that helps the user review their comments, before they become visible to others. Change-Id: I39eeda35915a775f601154992f77a986fcd32b69 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -94,7 +94,7 @@ public interface ChangeConstants extends Constants {
|
||||
String headingAbandonMessage();
|
||||
String abandonChangeTitle();
|
||||
|
||||
String buttonPublishCommentsBegin();
|
||||
String buttonReview();
|
||||
String buttonPublishCommentsSend();
|
||||
String buttonPublishCommentsCancel();
|
||||
String headingCoverMessage();
|
||||
|
||||
@@ -71,7 +71,7 @@ buttonAbandonChangeCancel = Cancel
|
||||
headingAbandonMessage = Abandon Message:
|
||||
abandonChangeTitle = Code Review - Abandon Change
|
||||
|
||||
buttonPublishCommentsBegin = Publish Comments
|
||||
buttonReview = Review
|
||||
buttonPublishCommentsSend = Publish Comments
|
||||
buttonPublishCommentsCancel = Cancel
|
||||
headingCoverMessage = Cover Message:
|
||||
|
||||
@@ -110,7 +110,7 @@ class PatchSetPanel extends Composite implements OpenHandler<DisclosurePanel> {
|
||||
actionsPanel.setStyleName(Gerrit.RESOURCES.css().patchSetActions());
|
||||
body.add(actionsPanel);
|
||||
if (Gerrit.isSignedIn()) {
|
||||
populateCommentAction();
|
||||
populateReviewAction();
|
||||
if (changeDetail.isCurrentPatchSet(detail)) {
|
||||
populateActions(detail);
|
||||
}
|
||||
@@ -291,8 +291,8 @@ class PatchSetPanel extends Composite implements OpenHandler<DisclosurePanel> {
|
||||
}
|
||||
}
|
||||
|
||||
private void populateCommentAction() {
|
||||
final Button b = new Button(Util.C.buttonPublishCommentsBegin());
|
||||
private void populateReviewAction() {
|
||||
final Button b = new Button(Util.C.buttonReview());
|
||||
b.addClickHandler(new ClickHandler() {
|
||||
@Override
|
||||
public void onClick(final ClickEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user