From 30252c2bcbb8ebe5420101a606760aa3b267455b Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 28 May 2025 00:06:50 -0400 Subject: [PATCH] minor text updates --- .../CommitDetailsTab/CommitDetailsTab.tsx | 20 ++++++------------- .../RollbackPreviewTab/RollbackPreviewTab.tsx | 8 ++++---- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/frontend/src/pages/secret-manager/CommitDetailsPage/components/CommitDetailsTab/CommitDetailsTab.tsx b/frontend/src/pages/secret-manager/CommitDetailsPage/components/CommitDetailsTab/CommitDetailsTab.tsx index 52f835730..ec166d25a 100644 --- a/frontend/src/pages/secret-manager/CommitDetailsPage/components/CommitDetailsTab/CommitDetailsTab.tsx +++ b/frontend/src/pages/secret-manager/CommitDetailsPage/components/CommitDetailsTab/CommitDetailsTab.tsx @@ -300,16 +300,12 @@ export const CommitDetailsTab = ({ onClick={() => goToRollbackPreview()} >
-
- Restore to this commit + Roll back to this commit - Restore the folder as it was at this time + Return this folder to its exact state at the time of this commit, discarding all other changes made after it
@@ -321,16 +317,12 @@ export const CommitDetailsTab = ({ onClick={() => handlePopUpOpen("revertChanges")} >
-
Revert commit changes - Create a new commit that undoes the changes in this commit + Will undo all changes made in this commit
@@ -360,11 +352,11 @@ export const CommitDetailsTab = ({ handlePopUpToggle("revertChanges", isOpen)} onDeleteApproved={handleRevertChanges} - buttonText="Revert Changes" + buttonText="Yes, revert changes" /> ); diff --git a/frontend/src/pages/secret-manager/CommitDetailsPage/components/RollbackPreviewTab/RollbackPreviewTab.tsx b/frontend/src/pages/secret-manager/CommitDetailsPage/components/RollbackPreviewTab/RollbackPreviewTab.tsx index 1cf5a58d2..820e0e4a2 100644 --- a/frontend/src/pages/secret-manager/CommitDetailsPage/components/RollbackPreviewTab/RollbackPreviewTab.tsx +++ b/frontend/src/pages/secret-manager/CommitDetailsPage/components/RollbackPreviewTab/RollbackPreviewTab.tsx @@ -222,7 +222,7 @@ export const RollbackPreviewTab = (): JSX.Element => { {deepRollback && nestedFolderChanges.length > 0 && ( <>
- Affected Child Folders + Child folders to be restored
{nestedFolderChanges.map((folder) => (
{
@@ -320,7 +320,7 @@ export const RollbackPreviewTab = (): JSX.Element => {
- + { onCheckedChange={setDeepRollback} id="deep-rollback" > - Recursively Restore Child Folders + Restore All Child Folders