From f992535812d5e96421e3da7bba4893542afb489a Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Tue, 22 Jul 2025 11:03:25 -0300 Subject: [PATCH 1/3] Redo confirm changes box --- .../components/CommitForm/CommitForm.tsx | 69 ++++++++++--------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx index b961775d3..b953f63ae 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx @@ -1,6 +1,6 @@ /* eslint-disable jsx-a11y/label-has-associated-control */ import React, { useCallback, useState } from "react"; -import { faCodeCommit, faEye, faFolder, faKey, faTrash } from "@fortawesome/free-solid-svg-icons"; +import { faCodeCommit, faEye, faFolder, faKey } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Badge, Button, Input, Modal, ModalContent } from "@app/components/v2"; @@ -296,39 +296,46 @@ export const CommitForm: React.FC = ({ <> {/* Floating Panel */} {!isModalOpen && ( -
-
-
-
- +
+
+ {/* Left Content */} +
+ {/* Header */} +
+
Pending Changes + + {totalChangesCount} Change{totalChangesCount !== 1 ? "s" : ""} +
- - {totalChangesCount} Change{totalChangesCount !== 1 ? "s" : ""} - -
-
-
- - + {/* Description */} +

+ Review your pending changes and commit them to apply the updates. +

+
+ + {/* Right Buttons */} +
+ + +
)} From 4dcb3938e01ef24c26947815b3e0f81cce0cc03f Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 22 Jul 2025 08:58:12 -0700 Subject: [PATCH 2/3] improvements: minor adjustments --- .../components/CommitForm/CommitForm.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx index b953f63ae..ac45cf4a6 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx @@ -301,7 +301,7 @@ export const CommitForm: React.FC = ({ {/* Left Content */}
{/* Header */} -
+
Pending Changes @@ -310,13 +310,13 @@ export const CommitForm: React.FC = ({
{/* Description */} -

+

Review your pending changes and commit them to apply the updates.

{/* Right Buttons */} -
+