MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM (#23172)
* MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM * Fix missing file from last commit * Fix test usage of plugin.NewEnvironment
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
44920deab6
Коммит
d001994ef9
@@ -6867,26 +6867,6 @@ const AdminDefinition = {
|
||||
isHidden: it.licensedForFeature('Cloud'),
|
||||
isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.EXPERIMENTAL.FEATURES)),
|
||||
},
|
||||
{
|
||||
type: Constants.SettingsTypes.TYPE_BOOL,
|
||||
key: 'ExperimentalSettings.PatchPluginsReactDOM',
|
||||
label: t('admin.experimental.patchPluginsReactDOM.title'),
|
||||
label_default: 'Patch React DOM used by plugins:',
|
||||
help_text: t('admin.experimental.patchPluginsReactDOM.desc'),
|
||||
help_text_default: 'When true, client-side plugins will be patched to use the version of React DOM provided by the web app. This should only be enabled if plugins break after upgrading to Mattermost 7.6. The server must be restarted for this setting to take effect. See the <link>Important Upgrade Notes</link> for more information.',
|
||||
help_text_values: {
|
||||
link: (msg) => (
|
||||
<ExternalLink
|
||||
location='admin_console'
|
||||
href='https://docs.mattermost.com/upgrade/important-upgrade-notes.html'
|
||||
>
|
||||
{msg}
|
||||
</ExternalLink>
|
||||
),
|
||||
},
|
||||
isHidden: it.licensedForFeature('Cloud'),
|
||||
isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.EXPERIMENTAL.FEATURES)),
|
||||
},
|
||||
{
|
||||
type: Constants.SettingsTypes.TYPE_BOOL,
|
||||
key: 'ExperimentalSettings.DisableRefetchingOnBrowserFocus',
|
||||
|
||||
@@ -954,8 +954,6 @@
|
||||
"admin.experimental.linkMetadataTimeoutMilliseconds.desc": "The number of milliseconds to wait for metadata from a third-party link. Used with Post Metadata.",
|
||||
"admin.experimental.linkMetadataTimeoutMilliseconds.example": "E.g.: \"5000\"",
|
||||
"admin.experimental.linkMetadataTimeoutMilliseconds.title": "Link Metadata Timeout:",
|
||||
"admin.experimental.patchPluginsReactDOM.desc": "When true, client-side plugins will be patched to use the version of React DOM provided by the web app. This should only be enabled if plugins break after upgrading to Mattermost 7.6. The server must be restarted for this setting to take effect. See the <link>Important Upgrade Notes</link> for more information.",
|
||||
"admin.experimental.patchPluginsReactDOM.title": "Patch React DOM used by plugins:",
|
||||
"admin.experimental.samlSettingsLoginButtonBorderColor.desc": "Specify the color of the SAML login button border for white labeling purposes. Use a hex code with a #-sign before the code. This setting only applies to the mobile apps.",
|
||||
"admin.experimental.samlSettingsLoginButtonBorderColor.title": "SAML login Button Border Color:",
|
||||
"admin.experimental.samlSettingsLoginButtonColor.desc": "Specify the color of the SAML login button for white labeling purposes. Use a hex code with a #-sign before the code. This setting only applies to the mobile apps.",
|
||||
|
||||
@@ -729,7 +729,6 @@ export type ExperimentalSettings = {
|
||||
EnableSharedChannels: boolean;
|
||||
EnableRemoteClusterService: boolean;
|
||||
EnableAppBar: boolean;
|
||||
PatchPluginsReactDOM: boolean;
|
||||
DisableRefetchingOnBrowserFocus: boolean;
|
||||
DelayChannelAutocomplete: boolean;
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user