From 3e3ab8342ecaef13ba73fb3f6a0750673e1581b1 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 (cherry picked from commit 27d888eacab570be8080bdf690c383c78e67ecf3) --- .../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 7bc6e79aba5ad..408989dd05cac 100644 --- a/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx +++ b/web/packages/teleterm/src/ui/ClusterConnect/ClusterLogin/ClusterLogin.tsx @@ -59,7 +59,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 7dd0cfba48d8e..de3ac47f9da43 100644 --- a/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx +++ b/web/packages/teleterm/src/ui/Search/SearchBar.test.tsx @@ -313,7 +313,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());