Clarify draft changes and draft comments

We show the draft changes the user has when he clicks the drafts
the old functionality is moved to draft comments.

Change-Id: Ic0ab6ee8452f2bb745b655f7982afb00980d7922
This commit is contained in:
Deniz Türkoglu
2012-05-10 11:20:56 -07:00
parent 2e16cf4eef
commit d6799b1d40
6 changed files with 22 additions and 2 deletions

View File

@@ -53,6 +53,12 @@ class JumpKeys {
}
});
jumps.add(new KeyCommand(0, 'd', Gerrit.C.jumpMineDrafts()) {
@Override
public void onKeyPress(final KeyPressEvent event) {
Gerrit.display(PageLinks.toChangeQuery("is:draft"));
}
});
jumps.add(new KeyCommand(0, 'c', Gerrit.C.jumpMineDraftComments()) {
@Override
public void onKeyPress(final KeyPressEvent event) {
Gerrit.display(PageLinks.toChangeQuery("has:draft"));