From 94e5117637d438606bb51f7483d77b230c55bbdd Mon Sep 17 00:00:00 2001 From: Elena Stoeva <59341489+ElenaStoeva@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:28:42 +0000 Subject: [PATCH] [Advanced Settings][Serverless] Extend reload page toast lifetime (#173563) Addresses https://github.com/elastic/kibana/issues/172922 ## Summary This PR extends the "Reload page" toast lifetime to 15s (it was 5s before). This change was added to the original (stateful) Advanced settings plugin with https://github.com/elastic/kibana/pull/169899 and we need to also add it to the new Settings packages before we integrate them into stateful Kibana. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../settings/components/form/reload_page_toast.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/kbn-management/settings/components/form/reload_page_toast.tsx b/packages/kbn-management/settings/components/form/reload_page_toast.tsx index a8414dd4ccbe8..430dec61a7d7f 100644 --- a/packages/kbn-management/settings/components/form/reload_page_toast.tsx +++ b/packages/kbn-management/settings/components/form/reload_page_toast.tsx @@ -45,5 +45,6 @@ export const reloadPageToast = (theme: ThemeServiceStart, i18nStart: I18nStart): { i18n: i18nStart, theme } ), color: 'success', + toastLifeTimeMs: 15000, }; };