From 27d888eacab570be8080bdf690c383c78e67ecf3 Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Mon, 21 Oct 2024 13:06:05 +0200 Subject: [PATCH] Replace logo in webauthn graphics (#47739) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Replace webauthn graphics with a new logo * `Login to` -> `Log in to` * Run the svg through ImageOptim --------- Co-authored-by: Rafał Cieślak --- .../ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx | 2 +- .../ClusterLogin/FormLogin/PromptWebauthn/hardware.svg | 10 +--------- web/packages/teleterm/src/ui/Search/SearchBar.test.tsx | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx b/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx index ec09da2030e39..5f80e5f5565a9 100644 --- a/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx +++ b/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx @@ -60,7 +60,7 @@ export function ClusterLoginPresentation({ <>

- Login to {title} + Log in to {title}

diff --git a/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/FormLogin/PromptWebauthn/hardware.svg b/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/FormLogin/PromptWebauthn/hardware.svg index 57a457f62f97c..a60e9e7513ddb 100644 --- a/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/FormLogin/PromptWebauthn/hardware.svg +++ b/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/FormLogin/PromptWebauthn/hardware.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx b/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx index ef505e483e470..00524ce787187 100644 --- a/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx +++ b/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx @@ -338,7 +338,7 @@ it('shows a login modal when a request to a cluster from the current workspace f await waitFor(() => { expect(screen.getByTestId('Modal')).toBeInTheDocument(); }); - expect(screen.getByTestId('Modal')).toHaveTextContent('Login to'); + expect(screen.getByTestId('Modal')).toHaveTextContent('Log in to'); // Verify that the search bar stays open after closing the modal. act(() => screen.getByLabelText('Close').click());