Add screen to browse the server info
GET /config/server/info returns a JSON describing important properties
of the server. Most of them are only needed for PolyGerrit, but some are
relevant for users, e.g. which account visibility is configured or the
server metadata (needed to investigate account and ACL issues).
Pointing users to this REST endpoint and explaining them where in the
returned JSON they can find relevant information is difficult and not
user friendly. Instead have a screen that shows the user relevant part
of the server info in a simple list. Then we can tell users to look at
value Foo at this screen.
The new screen is available at /admin/server-info. This is an example
how it looks like: https://i.imgur.com/WVafczb.png
Bug: Google b/330836100
Release-Notes: Added screen to browse the server info
Change-Id: Iad1c19b7848974c26582433757d8aea2617cbf39
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/polygerrit-ui/app/elements/core/gr-router/gr-router_test.ts b/polygerrit-ui/app/elements/core/gr-router/gr-router_test.ts
index 6f4e528..4a78140 100644
--- a/polygerrit-ui/app/elements/core/gr-router/gr-router_test.ts
+++ b/polygerrit-ui/app/elements/core/gr-router/gr-router_test.ts
@@ -161,6 +161,7 @@
'handlePluginListRoute',
'handleRepoCommandsRoute',
'handleRepoEditFileRoute',
+ 'handleServerInfoRoute',
'handleSettingsLegacyRoute',
'handleSettingsRoute',
];