From 362bf15d32916bd4df2d97e3636329e760e6cb2d Mon Sep 17 00:00:00 2001 From: RowHeat <40065760+rowheat02@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:43:48 +0545 Subject: [PATCH] Home and Login Plugins do not appear on the page if the Burger Menu is activated in the context in 2024.01.01 version #10503 (#10590) --- web/client/plugins/Home.jsx | 14 ++++++++++++++ web/client/plugins/Login.jsx | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/web/client/plugins/Home.jsx b/web/client/plugins/Home.jsx index 361439cdbc..9bb9583a52 100644 --- a/web/client/plugins/Home.jsx +++ b/web/client/plugins/Home.jsx @@ -44,6 +44,20 @@ const HomeConnected = connect((state) => ({ * It can be rendered in {@link #plugins.OmniBar|OmniBar}. * Supports as containers at lower priority {@link #plugins.Toolbar|Toolbar}. * You can configure the home target path globally by setting `miscSettings.homePath` in `localConfig.json`. By default it redirects to `"#/"`; + * + * If you want to show this plugin with BurgerMenu (so without Sidebar), apply the following configuration: + * + * ```javascript + * { + * "cfg": {}, + * "override": { + * "OmniBar": { + * "priority": 5 + * } + * } + * } + * ``` + * * @name Home * @class * @memberof plugins diff --git a/web/client/plugins/Login.jsx b/web/client/plugins/Login.jsx index 9d97a0acd5..aff7e10c2e 100644 --- a/web/client/plugins/Login.jsx +++ b/web/client/plugins/Login.jsx @@ -37,6 +37,20 @@ import { isAdminUserSelector } from '../selectors/security'; * } * ``` * By default, if not set, it will use classic `{"type": "basic", "provider": "geostore"}` setup for GeoStore. + * + * If you want to show this plugin with BurgerMenu (so without Sidebar), apply the following configuration: + * + * ```javascript + * { + * "cfg": {}, + * "override": { + * "OmniBar": { + * "priority": 5 + * } + * } + * } + * ``` + * * @class Login * @memberof plugins * @static