From 94091e93f888fd01b782a9cc91933117788de93e Mon Sep 17 00:00:00 2001 From: Mario Sarcher Date: Mon, 18 Jul 2022 18:18:37 +0200 Subject: [PATCH] Do not show Version on welcome screen (#5840) Co-authored-by: k8slens-bot --- ...haracters-in-page-registrations.test.tsx.snap | 2 +- .../navigate-to-extension-page.test.tsx.snap | 2 +- ...vigation-using-application-menu.test.tsx.snap | 2 +- ...time-since-update-was-downloaded.test.ts.snap | 6 +++--- ...ling-update-using-topbar-button.test.tsx.snap | 4 ++-- .../installing-update-using-tray.test.ts.snap | 12 ++++++------ .../__snapshots__/installing-update.test.ts.snap | 12 ++++++------ .../periodical-checking-of-updates.test.ts.snap | 2 +- .../selection-of-update-stability.test.ts.snap | 2 +- .../keyboard-shortcuts.test.tsx.snap | 16 ++++++++-------- ...avigation-using-application-menu.test.ts.snap | 2 +- ...avigation-using-application-menu.test.ts.snap | 2 +- .../navigation-using-tray.test.ts.snap | 2 +- ...ems-originating-from-extensions.test.tsx.snap | 2 +- ...avigation-using-application-menu.test.ts.snap | 4 ++-- src/renderer/components/+welcome/welcome.tsx | 2 +- 16 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/behaviours/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap b/src/behaviours/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap index 2cc8acffca..6fff5572d7 100644 --- a/src/behaviours/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap +++ b/src/behaviours/__snapshots__/extension-special-characters-in-page-registrations.test.tsx.snap @@ -77,7 +77,7 @@ exports[`extension special characters in page registrations renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/__snapshots__/navigate-to-extension-page.test.tsx.snap b/src/behaviours/__snapshots__/navigate-to-extension-page.test.tsx.snap index a895b145bc..9487506cf4 100644 --- a/src/behaviours/__snapshots__/navigate-to-extension-page.test.tsx.snap +++ b/src/behaviours/__snapshots__/navigate-to-extension-page.test.tsx.snap @@ -77,7 +77,7 @@ exports[`navigate to extension page renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap index ae49c27b6d..46cb3aeaa1 100644 --- a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap +++ b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap @@ -77,7 +77,7 @@ exports[`add-cluster - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap b/src/behaviours/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap index 186c470d12..e6856ccc51 100644 --- a/src/behaviours/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap +++ b/src/behaviours/application-update/__snapshots__/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.ts.snap @@ -96,7 +96,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -316,7 +316,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -583,7 +583,7 @@ exports[`force user to update when too long since update was downloaded when app style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap b/src/behaviours/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap index 2fbbc159a8..ec1935b053 100644 --- a/src/behaviours/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap +++ b/src/behaviours/application-update/__snapshots__/installing-update-using-topbar-button.test.tsx.snap @@ -96,7 +96,7 @@ exports[`encourage user to update when sufficient time passed since update was d style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -298,7 +298,7 @@ exports[`encourage user to update when sufficient time passed since update was d style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/installing-update-using-tray.test.ts.snap b/src/behaviours/application-update/__snapshots__/installing-update-using-tray.test.ts.snap index 38f6f43166..fcb3eb4729 100644 --- a/src/behaviours/application-update/__snapshots__/installing-update-using-tray.test.ts.snap +++ b/src/behaviours/application-update/__snapshots__/installing-update-using-tray.test.ts.snap @@ -78,7 +78,7 @@ exports[`installing update using tray when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -280,7 +280,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -482,7 +482,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -702,7 +702,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -922,7 +922,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1124,7 +1124,7 @@ exports[`installing update using tray when started when user checks for updates style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/installing-update.test.ts.snap b/src/behaviours/application-update/__snapshots__/installing-update.test.ts.snap index 011f02dc42..394dc9c96c 100644 --- a/src/behaviours/application-update/__snapshots__/installing-update.test.ts.snap +++ b/src/behaviours/application-update/__snapshots__/installing-update.test.ts.snap @@ -78,7 +78,7 @@ exports[`installing update when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -280,7 +280,7 @@ exports[`installing update when started when user checks for updates renders 1`] style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -482,7 +482,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -702,7 +702,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -922,7 +922,7 @@ exports[`installing update when started when user checks for updates when new up style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1124,7 +1124,7 @@ exports[`installing update when started when user checks for updates when no new style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap b/src/behaviours/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap index 7fdeb14c3a..faae797792 100644 --- a/src/behaviours/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap +++ b/src/behaviours/application-update/__snapshots__/periodical-checking-of-updates.test.ts.snap @@ -78,7 +78,7 @@ exports[`periodical checking of updates given updater is enabled and configurati style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/application-update/__snapshots__/selection-of-update-stability.test.ts.snap b/src/behaviours/application-update/__snapshots__/selection-of-update-stability.test.ts.snap index 5e73c632c0..a8629b21b6 100644 --- a/src/behaviours/application-update/__snapshots__/selection-of-update-stability.test.ts.snap +++ b/src/behaviours/application-update/__snapshots__/selection-of-update-stability.test.ts.snap @@ -78,7 +78,7 @@ exports[`selection of update stability when started renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap b/src/behaviours/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap index 04b5432f31..cf68d3d742 100644 --- a/src/behaviours/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap +++ b/src/behaviours/command-pallet/__snapshots__/keyboard-shortcuts.test.tsx.snap @@ -159,7 +159,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -442,7 +442,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing ESC style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -725,7 +725,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1020,7 +1020,7 @@ exports[`Command Pallet: keyboard shortcut tests when on linux when pressing SHI style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1222,7 +1222,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1424,7 +1424,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing ESC style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1626,7 +1626,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -1840,7 +1840,7 @@ exports[`Command Pallet: keyboard shortcut tests when on macOS when pressing SHI style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap index aafe097eb1..36047c7184 100644 --- a/src/behaviours/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/behaviours/extensions/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -77,7 +77,7 @@ exports[`extensions - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap index 416527b2d2..ddde0b5255 100644 --- a/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/behaviours/preferences/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -77,7 +77,7 @@ exports[`preferences - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/preferences/__snapshots__/navigation-using-tray.test.ts.snap b/src/behaviours/preferences/__snapshots__/navigation-using-tray.test.ts.snap index df28e92136..5f4148f251 100644 --- a/src/behaviours/preferences/__snapshots__/navigation-using-tray.test.ts.snap +++ b/src/behaviours/preferences/__snapshots__/navigation-using-tray.test.ts.snap @@ -78,7 +78,7 @@ exports[`show-about-using-tray renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap b/src/behaviours/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap index bf196b7ccd..d7f4658367 100644 --- a/src/behaviours/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap +++ b/src/behaviours/status-bar/__snapshots__/status-bar-items-originating-from-extensions.test.tsx.snap @@ -78,7 +78,7 @@ exports[`status-bar-items-originating-from-extensions when application starts wh style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap b/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap index 43f0bf8522..acbf6c0515 100644 --- a/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap +++ b/src/behaviours/welcome/__snapshots__/navigation-using-application-menu.test.ts.snap @@ -77,7 +77,7 @@ exports[`welcome - navigation using application menu renders 1`] = ` style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your @@ -917,7 +917,7 @@ exports[`welcome - navigation using application menu when navigated somewhere el style="width: 320px;" >

- Welcome to OpenLens 5! + Welcome to OpenLens!

To get you started we have auto-detected your clusters in your diff --git a/src/renderer/components/+welcome/welcome.tsx b/src/renderer/components/+welcome/welcome.tsx index 20bcaf04a6..4be617ae73 100644 --- a/src/renderer/components/+welcome/welcome.tsx +++ b/src/renderer/components/+welcome/welcome.tsx @@ -74,7 +74,7 @@ const NonInjectedWelcome = observer(({ welcomeMenuItems, welcomeBannerItems }: D data-testid="welcome-text-container" >

- {`Welcome to ${productName} 5!`} + {`Welcome to ${productName}!`}