From b02ee12b6c6711591a9ef4f7dccbcb7cf3c5ce04 Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Thu, 23 Nov 2023 14:26:27 +0000 Subject: [PATCH] fix: Fixing wording for 'Authorized' / 'Unauthorized' placehoolders Signed-off-by: Ilya Buziuk --- .../__tests__/__snapshots__/ProviderIcon.spec.tsx.snap | 4 ++-- .../UserPreferences/GitServicesTab/ProviderIcon/index.tsx | 4 ++-- .../__tests__/__snapshots__/index.spec.tsx.snap | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/__tests__/__snapshots__/ProviderIcon.spec.tsx.snap b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/__tests__/__snapshots__/ProviderIcon.spec.tsx.snap index d6fc14d17..c64546f4f 100644 --- a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/__tests__/__snapshots__/ProviderIcon.spec.tsx.snap +++ b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/__tests__/__snapshots__/ProviderIcon.spec.tsx.snap @@ -47,7 +47,7 @@ exports[`ProviderIcon component snapshot for the provider not authorized yet 1`] /> - User has not been authorized yet. + Unauthorized `; @@ -73,7 +73,7 @@ exports[`ProviderIcon component snapshot for the successfully authorized provide /> - User has been authorized successfully. + Authorized `; diff --git a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/index.tsx b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/index.tsx index 085730974..beea5fd2a 100644 --- a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/index.tsx +++ b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/index.tsx @@ -77,7 +77,7 @@ export class ProviderIcon extends React.PureComponent { const { hasOauthToken, isSkipOauth } = this.state; if (hasOauthToken) { return ( - User has been authorized successfully.}> + Authorized}> ); @@ -90,7 +90,7 @@ export class ProviderIcon extends React.PureComponent { } return ( - User has not been authorized yet.}> + Unauthorized}> ); diff --git a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/__tests__/__snapshots__/index.spec.tsx.snap b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/__tests__/__snapshots__/index.spec.tsx.snap index 50a769845..b6a53d8a3 100644 --- a/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/__tests__/__snapshots__/index.spec.tsx.snap +++ b/packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/__tests__/__snapshots__/index.spec.tsx.snap @@ -204,7 +204,7 @@ exports[`GitServices with 4 git services snapshot 1`] = ` /> - User has been authorized successfully. + Authorized @@ -332,7 +332,7 @@ exports[`GitServices with 4 git services snapshot 1`] = ` /> - User has not been authorized yet. + Unauthorized @@ -460,7 +460,7 @@ exports[`GitServices with 4 git services snapshot 1`] = ` /> - User has not been authorized yet. + Unauthorized @@ -588,7 +588,7 @@ exports[`GitServices with 4 git services snapshot 1`] = ` /> - User has not been authorized yet. + Unauthorized