mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Remove IE check + banner (#186396)
## Summary Address https://github.com/elastic/kibana/issues/138089
This commit is contained in:
parent
3528d54e27
commit
243ed27d1a
4 changed files with 0 additions and 36 deletions
|
@ -11,7 +11,6 @@ import { FormattedMessage } from '@kbn/i18n-react';
|
|||
import { BehaviorSubject, combineLatest, merge, type Observable, of, ReplaySubject } from 'rxjs';
|
||||
import { mergeMap, map, takeUntil, filter } from 'rxjs';
|
||||
import { parse } from 'url';
|
||||
import { EuiLink } from '@elastic/eui';
|
||||
import useObservable from 'react-use/lib/useObservable';
|
||||
|
||||
import type { CoreContext } from '@kbn/core-base-browser-internal';
|
||||
|
@ -314,14 +313,6 @@ export class ChromeService {
|
|||
projectNavigation.setProjectName(projectName);
|
||||
};
|
||||
|
||||
const isIE = () => {
|
||||
const ua = window.navigator.userAgent;
|
||||
const msie = ua.indexOf('MSIE '); // IE 10 or older
|
||||
const trident = ua.indexOf('Trident/'); // IE 11
|
||||
|
||||
return msie > 0 || trident > 0;
|
||||
};
|
||||
|
||||
if (!this.params.browserSupportsCsp && injectedMetadata.getCspConfig().warnLegacyBrowsers) {
|
||||
notifications.toasts.addWarning({
|
||||
title: mountReactNode(
|
||||
|
@ -333,27 +324,6 @@ export class ChromeService {
|
|||
});
|
||||
}
|
||||
|
||||
if (isIE()) {
|
||||
notifications.toasts.addWarning({
|
||||
title: mountReactNode(
|
||||
<FormattedMessage
|
||||
id="core.chrome.browserDeprecationWarning"
|
||||
defaultMessage="Support for Internet Explorer will be dropped in future versions of this software, please check {link}."
|
||||
values={{
|
||||
link: (
|
||||
<EuiLink target="_blank" href="https://www.elastic.co/support/matrix" external>
|
||||
<FormattedMessage
|
||||
id="core.chrome.browserDeprecationLink"
|
||||
defaultMessage="the support matrix on our website"
|
||||
/>
|
||||
</EuiLink>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
),
|
||||
});
|
||||
}
|
||||
|
||||
const getHeaderComponent = () => {
|
||||
const defaultChromeStyle = chromeStyleSubject$.getValue();
|
||||
|
||||
|
|
|
@ -547,7 +547,6 @@
|
|||
"controls.timeSlider.previousLabel": "Fenêtre temporelle précédente",
|
||||
"controls.timeSlider.settings.pinStart": "Épingler le début",
|
||||
"controls.timeSlider.settings.unpinStart": "Désépingler le début",
|
||||
"core.chrome.browserDeprecationWarning": "La prise en charge d'Internet Explorer sera abandonnée dans les futures versions de ce logiciel. Veuillez consulter le site {link}.",
|
||||
"core.deprecations.deprecations.fetchFailedMessage": "Impossible d'extraire les informations de déclassement pour le plug-in {domainId}.",
|
||||
"core.deprecations.deprecations.fetchFailedTitle": "Impossible d'extraire les déclassements pour {domainId}",
|
||||
"core.deprecations.elasticsearchSSL.manualSteps1": "Ajoutez le paramètre \"{missingSetting}\" à kibana.yml.",
|
||||
|
@ -678,7 +677,6 @@
|
|||
"core.application.appNotFound.pageDescription": "Aucune application détectée pour cette URL. Revenez en arrière ou sélectionnez une application dans le menu.",
|
||||
"core.application.appNotFound.title": "Application introuvable",
|
||||
"core.application.appRenderError.defaultTitle": "Erreur d'application",
|
||||
"core.chrome.browserDeprecationLink": "la matrice de prise en charge sur notre site web",
|
||||
"core.chrome.legacyBrowserWarning": "Votre navigateur ne satisfait pas aux exigences de sécurité de Kibana.",
|
||||
"core.deprecations.deprecations.fetchFailed.manualStepOneMessage": "Vérifiez le message d'erreur dans les logs de serveur Kibana.",
|
||||
"core.deprecations.elasticsearchUsername.manualSteps1": "Utilisez l'outil CLI elasticsearch-service-tokens afin de créer un jeton pour le compte de service \"elastic/kibana\".",
|
||||
|
|
|
@ -549,7 +549,6 @@
|
|||
"controls.timeSlider.previousLabel": "前の時間ウィンドウ",
|
||||
"controls.timeSlider.settings.pinStart": "開始をピン留め",
|
||||
"controls.timeSlider.settings.unpinStart": "開始をピン留め解除",
|
||||
"core.chrome.browserDeprecationWarning": "このソフトウェアの将来のバージョンでは、Internet Explorerのサポートが削除されます。{link}をご確認ください。",
|
||||
"core.deprecations.deprecations.fetchFailedMessage": "プラグイン{domainId}の廃止予定情報を取得できません。",
|
||||
"core.deprecations.deprecations.fetchFailedTitle": "{domainId}の廃止予定を取得できませんでした",
|
||||
"core.deprecations.elasticsearchSSL.manualSteps1": "\"{missingSetting}\"設定をkibana.ymlに追加します。",
|
||||
|
@ -678,7 +677,6 @@
|
|||
"core.application.appNotFound.pageDescription": "この URL にアプリケーションが見つかりませんでした。前の画面に戻るか、メニューからアプリを選択してみてください。",
|
||||
"core.application.appNotFound.title": "アプリケーションが見つかりません",
|
||||
"core.application.appRenderError.defaultTitle": "アプリケーションエラー",
|
||||
"core.chrome.browserDeprecationLink": "Web サイトのサポートマトリックス",
|
||||
"core.chrome.legacyBrowserWarning": "ご使用のブラウザが Kibana のセキュリティ要件を満たしていません。",
|
||||
"core.deprecations.deprecations.fetchFailed.manualStepOneMessage": "エラーメッセージについては、Kibanaサーバーログを確認してください。",
|
||||
"core.deprecations.elasticsearchUsername.manualSteps1": "elasticsearch-service-tokens CLIツールを使用して、「elastic/kibana」サービスアカウントの新しいサービスアカウントトークンを作成します。",
|
||||
|
|
|
@ -549,7 +549,6 @@
|
|||
"controls.timeSlider.previousLabel": "上一时间窗口",
|
||||
"controls.timeSlider.settings.pinStart": "固定开始屏幕",
|
||||
"controls.timeSlider.settings.unpinStart": "取消固定开始屏幕",
|
||||
"core.chrome.browserDeprecationWarning": "本软件的未来版本将放弃对 Internet Explorer 的支持,请查看{link}。",
|
||||
"core.deprecations.deprecations.fetchFailedMessage": "无法提取插件 {domainId} 的弃用信息。",
|
||||
"core.deprecations.deprecations.fetchFailedTitle": "无法提取 {domainId} 的弃用信息",
|
||||
"core.deprecations.elasticsearchSSL.manualSteps1": "将“{missingSetting}”设置添加到 kibana.yml。",
|
||||
|
@ -680,7 +679,6 @@
|
|||
"core.application.appNotFound.pageDescription": "在此 URL 未找到任何应用程序。尝试返回或从菜单中选择应用。",
|
||||
"core.application.appNotFound.title": "未找到应用程序",
|
||||
"core.application.appRenderError.defaultTitle": "应用程序错误",
|
||||
"core.chrome.browserDeprecationLink": "我们网站上的支持矩阵",
|
||||
"core.chrome.legacyBrowserWarning": "您的浏览器不满足 Kibana 的安全要求。",
|
||||
"core.deprecations.deprecations.fetchFailed.manualStepOneMessage": "请在 Kibana 服务器日志中查看错误消息。",
|
||||
"core.deprecations.elasticsearchUsername.manualSteps1": "使用 elasticsearch-service-tokens CLI 工具为“elastic/kibana”服务帐户创建新的服务帐户令牌。",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue