Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(integrations): migrate loading presentation to v3 (#8467)

Andrew Huang9f6a4f3e42e3
diff --git a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/OctopusDeployScopeValues.tsx b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/OctopusDeployScopeValues.tsx
index c0e830b6b7..db326cf90e 100644
--- a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/OctopusDeployScopeValues.tsx
+++ b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/OctopusDeployScopeValues.tsx
@@ -1,4 +1,5 @@
-import { FormLabel, Spinner } from "@app/components/v2";
+import { FormLabel } from "@app/components/v2";
+import { Spinner } from "@app/components/v3";
import { useGetIntegrationAuthOctopusDeployScopeValues } from "@app/hooks/api/integrationAuth/queries";
import {
OctopusDeployScope,
diff --git a/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx b/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx
index be494b31fa..376c8a571e 100644
--- a/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx
+++ b/frontend/src/pages/secret-manager/IntegrationsListPage/components/NativeIntegrationsTab/NativeIntegrationsTab.tsx
@@ -2,7 +2,8 @@ import { faPlus } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { createNotification } from "@app/components/notifications";
-import { Button, Checkbox, DeleteActionModal, Spinner } from "@app/components/v2";
+import { Button, Checkbox, DeleteActionModal } from "@app/components/v2";
+import { Spinner } from "@app/components/v3";
import { useProject } from "@app/context";
import { usePopUp, useToggle } from "@app/hooks";
import {
diff --git a/frontend/src/pages/secret-manager/integrations/BitbucketConfigurePage/BitbucketConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/BitbucketConfigurePage/BitbucketConfigurePage.tsx
index bf3daf7599..7d22d16a34 100644
--- a/frontend/src/pages/secret-manager/integrations/BitbucketConfigurePage/BitbucketConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/BitbucketConfigurePage/BitbucketConfigurePage.tsx
@@ -6,15 +6,8 @@ import { useNavigate, useSearch } from "@tanstack/react-router";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
-import {
- Button,
- Card,
- CardTitle,
- FilterableSelect,
- FormControl,
- Input,
- Spinner
-} from "@app/components/v2";
+import { Button, Card, CardTitle, FilterableSelect, FormControl, Input } from "@app/components/v2";
+import { Spinner } from "@app/components/v3";
import { ROUTE_PATHS } from "@app/const/routes";
import { useOrganization, useProject } from "@app/context";
import {
diff --git a/frontend/src/pages/secret-manager/integrations/CircleCIConfigurePage/CircleCIConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/CircleCIConfigurePage/CircleCIConfigurePage.tsx
index 7a00cd9dce..61ad9fab09 100644
--- a/frontend/src/pages/secret-manager/integrations/CircleCIConfigurePage/CircleCIConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/CircleCIConfigurePage/CircleCIConfigurePage.tsx
@@ -13,10 +13,10 @@ import {
FilterableSelect,
FormControl,
Select,
- SelectItem,
- Spinner
+ SelectItem
} from "@app/components/v2";
import { SecretPathInput } from "@app/components/v2/SecretPathInput";
+import { Spinner } from "@app/components/v3";
import { ROUTE_PATHS } from "@app/const/routes";
import { useOrganization, useProject } from "@app/context";
import { useCreateIntegration, useGetIntegrationAuthCircleCIOrganizations } from "@app/hooks/api";
diff --git a/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx
index ef9eb7df65..3e9dd26c50 100644
--- a/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/OctopusDeployConfigurePage/OctopusDeployConfigurePage.tsx
@@ -6,15 +6,9 @@ import { useNavigate, useSearch } from "@tanstack/react-router";
import { z } from "zod";
import { createNotification } from "@app/components/notifications";
-import {
- Button,
- Card,
- CardTitle,
- FilterableSelect,
- FormControl,
- Spinner
-} from "@app/components/v2";
+import { Button, Card, CardTitle, FilterableSelect, FormControl } from "@app/components/v2";
import { SecretPathInput } from "@app/components/v2/SecretPathInput";
+import { Spinner } from "@app/components/v3";
import { ROUTE_PATHS } from "@app/const/routes";
import { useOrganization, useProject } from "@app/context";
import { useCreateIntegration, useGetIntegrationAuthApps } from "@app/hooks/api";
diff --git a/frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx b/frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx
index 6d821fd5ab..d754eaff08 100644
--- a/frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx
@@ -4,7 +4,8 @@ import { useCallback, useEffect } from "react";
import { Helmet } from "react-helmet";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { Button, Card, CardTitle, ContentLoader } from "@app/components/v2";
+import { Button, Card, CardTitle } from "@app/components/v2";
+import { Loader } from "@app/components/v3";
import { ROUTE_PATHS } from "@app/const/routes";
import { useOrganization, useProject } from "@app/context";
import {
@@ -153,7 +154,11 @@ export const SelectIntegrationAuthPage = () => {
isLoadingIntegrationAuths ||
(integrationAuths?.length === 0 && isLoadingIntegrationAuthsSuccess)
) {
- return <ContentLoader />;
+ return (
+ <div className="container mx-auto flex h-screen w-full items-center justify-center px-8">
+ <Loader variant="brand" size="lg" className="h-32" />
+ </div>
+ );
}
return (