From e6276f59f6d75a5e94438da172256d53c5e2abf2 Mon Sep 17 00:00:00 2001 From: brohlfs Date: Fri, 5 Apr 2019 09:13:04 +0200 Subject: [PATCH] Add a 'banner' extension point Feature: Issue 5791 Change-Id: Id2ca0982888f972c4f7a815a29b9bc35738c7c5e (cherry picked from commit 848de213ab87619c4ae6aacdbea050b0115c9cbb) --- Documentation/pg-plugin-endpoints.txt | 5 +++++ polygerrit-ui/app/elements/gr-app.html | 1 + 2 files changed, 6 insertions(+) diff --git a/Documentation/pg-plugin-endpoints.txt b/Documentation/pg-plugin-endpoints.txt index ad613a57fb..c0d78542ac 100644 --- a/Documentation/pg-plugin-endpoints.txt +++ b/Documentation/pg-plugin-endpoints.txt @@ -35,6 +35,11 @@ components. The following endpoints are available to plugins. +=== banner +The `banner` extension point is located at the top of all pages. The purpose +is to allow plugins to show outage information and important announcements to +all users. + === change-view-integration The `change-view-integration` extension point is located between `Files` and `Messages` section on the change view page, and it may take full page's diff --git a/polygerrit-ui/app/elements/gr-app.html b/polygerrit-ui/app/elements/gr-app.html index b34cd0a498..1f711fc301 100644 --- a/polygerrit-ui/app/elements/gr-app.html +++ b/polygerrit-ui/app/elements/gr-app.html @@ -146,6 +146,7 @@ limitations under the License. color: var(--error-text-color); } +