From 3a259b45edf6eb103d7607ccef6d087a8f7697b5 Mon Sep 17 00:00:00 2001 From: Piyush Gupta Date: Tue, 14 Oct 2025 00:14:37 +0530 Subject: [PATCH] fix: lint --- .../secret-syncs/SecretSyncModalHeader.tsx | 10 +++++----- .../SecretSyncOptionsFields.tsx | 10 +++++----- .../SecretSyncReviewFields.tsx | 20 +++++++++---------- .../components/AppConnectionHeader.tsx | 16 +++++++-------- .../components/AppConnectionList.tsx | 14 ++++++------- .../CloudIntegrationSection.tsx | 14 ++++++------- .../SecretSyncDetailsByIDPage.tsx | 6 +++--- .../SecretSyncDestinatonSection.tsx | 6 +++--- .../SecretSyncOptionsSection.tsx | 6 +++--- 9 files changed, 51 insertions(+), 51 deletions(-) diff --git a/frontend/src/components/secret-syncs/SecretSyncModalHeader.tsx b/frontend/src/components/secret-syncs/SecretSyncModalHeader.tsx index cca24b4c6..a9882ecec 100644 --- a/frontend/src/components/secret-syncs/SecretSyncModalHeader.tsx +++ b/frontend/src/components/secret-syncs/SecretSyncModalHeader.tsx @@ -17,10 +17,10 @@ export const SecretSyncModalHeader = ({ destination, isConfigured }: Props) => { {`${destinationDetails.name}
-
+
{destinationDetails.name} Sync { className="mb-1 ml-1" rel="noopener noreferrer" > -
- +
+ Docs {
-

+

{isConfigured ? `Edit ${destinationDetails.name} Sync` : `Sync secrets to ${destinationDetails.name}`} diff --git a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx index de5b85e02..f66cadaea 100644 --- a/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx +++ b/frontend/src/components/secret-syncs/forms/SecretSyncOptionsFields/SecretSyncOptionsFields.tsx @@ -78,7 +78,7 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => { return ( <> -

Configure how secrets should be synced.

+

Configure how secrets should be synced.

{!hideInitialSync && ( <> { return (
  • - {name}:{" "} + {name}:{" "} {description}

  • @@ -119,7 +119,7 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => { isDisabled={!syncOption?.canImportSecrets} value={value} onValueChange={(val) => onChange(val)} - className="border-mineshaft-500 w-full border" + className="w-full border border-mineshaft-500" position="popper" placeholder="Select an option..." dropdownContainerClassName="max-w-none" @@ -138,7 +138,7 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => { )} /> {!syncOption?.canImportSecrets && ( -

    +

    {destinationName} only supports overwriting destination secrets.{" "} {!currentSyncOption.disableSecretDeletion && @@ -219,7 +219,7 @@ export const SecretSyncOptionsFields = ({ hideInitialSync }: Props) => { return ( { return (

    -
    - Source +
    + Source
    {environment.name} @@ -188,14 +188,14 @@ export const SecretSyncReviewFields = () => {
    -
    - Destination - {isChecking && Checking...} +
    + Destination + {isChecking && Checking...}
    {hasDuplicate && (
    - +

    Another secret sync in your organization is already configured with the same @@ -219,8 +219,8 @@ export const SecretSyncReviewFields = () => {

    -
    - Sync Options +
    + Sync Options
    @@ -241,8 +241,8 @@ export const SecretSyncReviewFields = () => {
    -
    - Details +
    + Details
    {name} diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionHeader.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionHeader.tsx index d0862b3b8..44aa194b3 100644 --- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionHeader.tsx +++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionHeader.tsx @@ -14,22 +14,22 @@ export const AppConnectionHeader = ({ app, isConnected, onBack }: Props) => { const appDetails = APP_CONNECTION_MAP[app]; return ( -
    +
    {`${appDetails.name} {appDetails.icon && ( )}
    -
    +
    {appDetails.name} { className="mb-1 ml-1" rel="noopener noreferrer" > - -

    +

    {isConnected ? `${appDetails.name} Connection` : `Connect to ${appDetails.name}`}

    {onBack && (
    diff --git a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/SecretSyncDestinatonSection.tsx b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/SecretSyncDestinatonSection.tsx index 41c346aba..78e00d8fa 100644 --- a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/SecretSyncDestinatonSection.tsx +++ b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncDestinationSection/SecretSyncDestinatonSection.tsx @@ -165,9 +165,9 @@ export const SecretSyncDestinationSection = ({ secretSync, onEditDestination }: : ProjectPermissionSub.SecretSyncs; return ( -
    -
    -

    Destination Configuration

    +
    +
    +

    Destination Configuration

    {(isAllowed) => ( -
    -
    -

    Sync Options

    +
    +
    +

    Sync Options

    {(isAllowed) => (