From 0ce059820cb892146df6683fe7eb34dec2e9d35a Mon Sep 17 00:00:00 2001 From: Neel Khamar Date: Fri, 15 Nov 2024 06:16:49 +0000 Subject: [PATCH] feat: [CDE-494]: Changed the text for tooltip and made UI changes (#2999) * Changed the text for tooltip * Changed the text for tooltip --- .../cde-gitness/components/DetailsCard/DetailsCard.tsx | 3 --- web/src/cde-gitness/constants/index.ts | 8 ++++---- web/src/cde-gitness/strings/strings.en.yaml | 6 +++--- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/web/src/cde-gitness/components/DetailsCard/DetailsCard.tsx b/web/src/cde-gitness/components/DetailsCard/DetailsCard.tsx index bec7adfaa..df129f7e3 100644 --- a/web/src/cde-gitness/components/DetailsCard/DetailsCard.tsx +++ b/web/src/cde-gitness/components/DetailsCard/DetailsCard.tsx @@ -176,9 +176,6 @@ export const DetailsCard = ({ {getString('cde.changesTooltip.description')} - - {getString('cde.changesTooltip.learnMore')} - } diff --git a/web/src/cde-gitness/constants/index.ts b/web/src/cde-gitness/constants/index.ts index 7e564d17f..4d3bc3840 100644 --- a/web/src/cde-gitness/constants/index.ts +++ b/web/src/cde-gitness/constants/index.ts @@ -44,10 +44,6 @@ export interface GitspaceStatusTypesListItem { } export const GitspaceStatusTypes = (getString: any) => [ - { - label: getString('cde.gitspaceStatus.error'), - value: GitspaceStatus.ERROR - }, { label: getString('cde.gitspaceStatus.active'), value: GitspaceStatus.RUNNING @@ -55,6 +51,10 @@ export const GitspaceStatusTypes = (getString: any) => [ { label: getString('cde.gitspaceStatus.stopped'), value: GitspaceStatus.STOPPED + }, + { + label: getString('cde.gitspaceStatus.error'), + value: GitspaceStatus.ERROR } ] diff --git a/web/src/cde-gitness/strings/strings.en.yaml b/web/src/cde-gitness/strings/strings.en.yaml index 3f27bc465..a77920399 100644 --- a/web/src/cde-gitness/strings/strings.en.yaml +++ b/web/src/cde-gitness/strings/strings.en.yaml @@ -134,12 +134,12 @@ minuteUsage: Minute Usage renewsEveryMonth: Renews 1st of every month remainingOfTotal: remaining of {{total}} renewTooltip: - line1: The amount of minutes for which a gitspace can run in the account. - line2: The amount is reset after every 30 days + line1: With our beta plan, you receive 2,000 free minutes of Gitspace usage each month. + line2: These minutes automatically renew every 30 days, resetting on the 1st of each month. haveQuestion: Have questions ? contactUs: Contact Us changesTooltip: - description: A gitspace is meant to be used just like a user might use an IDE locally in their laptop. To check if a gitspace has any changes which a user might want to save/sync with the remote repo before deleting it, the user needs to start the gitspace and check. + description: You can monitor updates to your Gitspaces using this flag. If there are active changes, this status updates to “Has Changes”. learnMore: Learn more about Gitspace changes lastUsedTooltip: Timestamp indicating when the Gitspace was last used. lastStartedTooltip: Timestamp indicating when the Gitspace was most recently started.