blob: a015e4c3aeb5d08730bcd28fb08238f45ab157f6 [file] [log] [blame]
Edwin Kempind25d10a2012-07-19 10:56:34 +02001Gerrit Code Review - Custom Dashboards
2======================================
3
4Description
5-----------
6
7A custom dashboard is shown in a layout similar to the per-user
8dashboard, but the sections are entirely configured from the URL.
9Because of this custom dashboards are stateless on the server side.
10Users or projects can simply trade URLs using an external system like
11a project wiki, or site administrators can put the links into the
12site's `GerritHeader.html` or `GerritFooter.html`.
13
14Dashboards are available via URLs like:
15----
16 /#/dashboard/?title=Custom+View&To+Review=reviewer:john.doe@example.com&Pending+In+myproject=project:myproject+is:open
17----
18This opens a view showing the title "Custom View" with two sections,
19"To Review" and "Pending in myproject":
20----
21 Custom View
22
23 To Review
24
25 Results of `reviewer:john.doe@example.com`
26
27 Pending In myproject
28
29 Results of `project:myproject is:open`
30----
31
32The dashboard URLs are easy to configure. All keys and values in the
33URL are encoded as query parameters. Set the page and window title
34using an optional `title=Text` parameter.
35
36Each section's title is defined by the parameter name, the section
37display order is defined by the order the parameters appear in the
38URL, and the query results are defined by the parameter value. To
39limit the number of rows in a query use `limit:N`, otherwise the
40entire result set will be shown (up to the user's query limit).
41
42Parameters may be separated from each other using any of the following
43characters, as some users may find one more readable than another:
44`&` or `;` or `,`
45
46GERRIT
47------
48Part of link:index.html[Gerrit Code Review]