Skip to content

Commit fff93e1

Browse files
committed
feat: support global shell settings
1 parent f470303 commit fff93e1

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

i18n/en.pot

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ msgstr ""
55
"Content-Type: text/plain; charset=utf-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
8-
"POT-Creation-Date: 2025-01-17T10:18:20.401Z\n"
9-
"PO-Revision-Date: 2025-01-17T10:18:20.402Z\n"
8+
"POT-Creation-Date: 2025-03-05T20:30:30.881Z\n"
9+
"PO-Revision-Date: 2025-03-05T20:30:30.890Z\n"
1010

1111
msgid "Failed to load: {{error}}"
1212
msgstr "Failed to load: {{error}}"
@@ -257,6 +257,16 @@ msgstr "This setting can be overridden by user settings"
257257
msgid "No options"
258258
msgstr "No options"
259259

260+
msgid "Settings must be configured to send emails to enforce verified emails"
261+
msgstr "Settings must be configured to send emails to enforce verified emails"
262+
263+
msgid ""
264+
"You cannot enable \"Enforce Verified Email\" until email settings are "
265+
"configured."
266+
msgstr ""
267+
"You cannot enable \"Enforce Verified Email\" until email settings are "
268+
"configured."
269+
260270
msgid "No settings matched the search term"
261271
msgstr "No settings matched the search term"
262272

@@ -665,6 +675,12 @@ msgstr "Custom"
665675
msgid "Login page template"
666676
msgstr "Login page template"
667677

678+
msgid "Enable Global Shell"
679+
msgstr "Enable Global Shell"
680+
681+
msgid "Global Shell App"
682+
msgstr "Global Shell App"
683+
668684
msgid "Custom login page logo"
669685
msgstr "Custom login page logo"
670686

@@ -722,6 +738,9 @@ msgstr "Enable user account recovery"
722738
msgid "Lock user account temporarily after multiple failed login attempts"
723739
msgstr "Lock user account temporarily after multiple failed login attempts"
724740

741+
msgid "Enable embedded dashboards"
742+
msgstr "Enable embedded dashboards"
743+
725744
msgid "Enforce verified emails"
726745
msgstr "Enforce verified emails"
727746

src/settingsCategories.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,14 @@ export const categories = {
212212
{
213213
setting: 'loginPageTemplate',
214214
},
215+
{
216+
setting: 'globalShellEnabled',
217+
maximumApiVersion: 42,
218+
},
219+
{
220+
setting: 'globalShellApp',
221+
maximumApiVersion: 42,
222+
}
215223
],
216224
},
217225
email: {

src/settingsKeyMapping.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,15 @@ const settingsKeyMapping = {
459459
multiLine: true,
460460
rowsMax: 10,
461461
},
462+
globalShellEnabled: {
463+
label: i18n.t('Enable Global Shell'),
464+
type: 'checkbox'
465+
},
466+
globalShellApp: {
467+
label: i18n.t('Global Shell App'),
468+
type: 'dropdown',
469+
source: 'startModules',
470+
},
462471
keyUseCustomLogoFront: {
463472
label: i18n.t('Custom login page logo'),
464473
type: 'staticContent',

0 commit comments

Comments
 (0)