summaryrefslogtreecommitdiffstats
path: root/gerrit-patch-commonsnet
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2012-04-07 17:15:56 -0700
committerShawn O. Pearce <sop@google.com>2012-05-01 10:55:26 -0700
commitf93b3eececa1393c06cc3abee70f66af6c82b1e5 (patch)
treebc7e10a207f40d268a6e20231604a898d3b4b6ec /gerrit-patch-commonsnet
parent2a912fba44b88c2650ea2a5a29e69ff24ed6cb2f (diff)
/changes/: Support custom dashboards
A custom dashboard can now be shown in a layout similar to the per-user dashboard, but with the sections entirely configured from the URL. This makes custom dashboards stateless on the server side. Users or projects can simply trade URLs using an external system like a project wiki, or site administrators can put the links into the site's GerritHeader.html or GerritFooter.html. Dashboards are available such as: /#/dashboard/?title=Custom+View&To+Review=reviewer:sop@google.com&Pending+In+repo=project:tools/repo+is:open This opens a view showing the title "Custom View" with two sections, "To Review" and "Pending in repo": Custom View To Review Results of `reviewer:sop@google.com` Pending In repo Results of `project:tools/repo is:open` The dashboard URLs are pretty trivial to configure. All keys and values are URL query parameter encoded. Set the page and window title using an optional "title=Text" parameter. Each section's title is defined by the parameter name, section display order is defined by the order the parameters appear in the URL, and the query results are defined by the parameter value. To limit the number of rows in a query use "limit:N", otherwise the entire result set will be shown (up to the user's query limit). Parameters may be separted from each other using any of the following characters, as some users may find one more readable than another: & or ; or , Change-Id: Ie36fe5726d2ae2f7bf22d470f8a5608a576ff593
Diffstat (limited to 'gerrit-patch-commonsnet')
0 files changed, 0 insertions, 0 deletions