/changes/: Display account dashboards

Replace the old JSON-RPC call showing a dashboard to instead be
three queries using the newer /changes/ REST API. This moves all
of the logic into the common ListChanges and QueryProcessor, and
simplifies the server code.

Like the All > Open view, the columns in the table now update
dynamically to reflect the labels actually required to submit
the changes displayed.

Changes in the outgoing and incoming sections are sorted by project,
branch, topic, and then the legacy change number.  This gives a
more predictable sorting when looking at a very busy dashboard,
as users can scan the Project and Branch columns and work down
the page until they locate the change(s) they are looking for. In
particular it helps me when I want to look at changes for git-repo,
or stable changes for gerrit near release time.

Change-Id: Ia9e9fc103561b43fe0188958bfa226fdc21b6992
This commit is contained in:
Shawn O. Pearce
2012-04-16 16:27:47 -07:00
parent a7cc5042cc
commit 2a912fba44
8 changed files with 143 additions and 53 deletions

View File

@@ -23,7 +23,11 @@ public interface ChangeConstants extends Constants {
String statusLongAbandoned();
String statusLongDraft();
String changesRecentlyClosed();
String myDashboardTitle();
String unknownDashboardTitle();
String incomingReviews();
String outgoingReviews();
String recentlyClosed();
String starredHeading();
String watchedHeading();