Redesign change screen on new REST API

The new screen exists at #/c2/<id> as it is missing a large number of
features.  The proposal is to include the screen as-is and iterate in
tree, similar to the CodeMirror work.  This allows power users to
start trying the screen out by editing the URL.

Missing features:
- Add reviewer(s)
- Remove reviewer(s)
- Edit commit message
- Diff files in two patch sets
- Dependencies and dependents
- Download links by URL and action (cherry-pick, checkout, etc.)

Change-Id: Ie957fb85c873d044c947000f0f0207a66f87c784
This commit is contained in:
Shawn Pearce
2013-07-14 19:39:45 -07:00
parent 0058c0a049
commit 097b957915
45 changed files with 3587 additions and 18 deletions

View File

@@ -0,0 +1,34 @@
// Copyright (C) 2013 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.client.change;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.resources.client.ImageResource;
interface Resources extends ClientBundle {
static final Resources I = GWT.create(Resources.class);
@Source("star_open.png") ImageResource star_open();
@Source("star_filled.png") ImageResource star_filled();
@Source("reload_black.png") ImageResource reload_black();
@Source("reload_white.png") ImageResource reload_white();
@Source("common.css") Style style();
interface Style extends CssResource {
String button();
}
}