diff --git a/apps/console-v5/src/routes/_authenticated/organization/$organizationId/project/$projectId/environment/$environmentId/overview/index.tsx b/apps/console-v5/src/routes/_authenticated/organization/$organizationId/project/$projectId/environment/$environmentId/overview/index.tsx index 1fc714d186c..7a376f5e769 100644 --- a/apps/console-v5/src/routes/_authenticated/organization/$organizationId/project/$projectId/environment/$environmentId/overview/index.tsx +++ b/apps/console-v5/src/routes/_authenticated/organization/$organizationId/project/$projectId/environment/$environmentId/overview/index.tsx @@ -1,10 +1,7 @@ import { createFileRoute } from '@tanstack/react-router' import { Suspense } from 'react' import { useEnvironment } from '@qovery/domains/environments/feature' -import { ServiceList } from '@qovery/domains/services/feature' -import { Section, Skeleton, TablePrimitives } from '@qovery/shared/ui' - -const { Table } = TablePrimitives +import { ServiceList, ServiceListSkeleton } from '@qovery/domains/services/feature' export const Route = createFileRoute( '/_authenticated/organization/$organizationId/project/$projectId/environment/$environmentId/overview/' @@ -23,67 +20,6 @@ function Services() { return } -function ServiceListSkeleton() { - const columnSizes = ['40%', '15%', '15%', '20%', '10%'] - - return ( -
-
-
-
-
- - -
-
-
-
-
-
-
- - -
- - - - {[...Array(5)].map((_, index) => ( - - - - ))} - - - - {[...Array(3)].map((_, index) => ( - - {[...Array(5)].map((_, index) => ( - - {index === 0 ? ( -
- - -
- ) : ( - - )} -
- ))} -
- ))} -
-
-
-
-
-
- ) -} - function RouteComponent() { return ( }> diff --git a/libs/domains/environments/feature/src/lib/environment-last-deployment-section/environment-last-deployment-section.tsx b/libs/domains/environments/feature/src/lib/environment-last-deployment-section/environment-last-deployment-section.tsx index 2aacc7a6cf1..7bd7db22645 100644 --- a/libs/domains/environments/feature/src/lib/environment-last-deployment-section/environment-last-deployment-section.tsx +++ b/libs/domains/environments/feature/src/lib/environment-last-deployment-section/environment-last-deployment-section.tsx @@ -47,9 +47,9 @@ const EnvironmentLastDeploymentSkeleton = () => {
- - - + + +
diff --git a/libs/domains/services/feature/src/lib/last-version/__snapshots__/last-version.spec.tsx.snap b/libs/domains/services/feature/src/lib/last-version/__snapshots__/last-version.spec.tsx.snap index c83963bc4c5..6e9b5b2001b 100644 --- a/libs/domains/services/feature/src/lib/last-version/__snapshots__/last-version.spec.tsx.snap +++ b/libs/domains/services/feature/src/lib/last-version/__snapshots__/last-version.spec.tsx.snap @@ -7,7 +7,7 @@ exports[`LastVersion should match snapshot 1`] = ` class="flex" > - + diff --git a/libs/domains/services/feature/src/lib/service-actions/service-actions.tsx b/libs/domains/services/feature/src/lib/service-actions/service-actions.tsx index 475244fa38f..221f9ec3981 100644 --- a/libs/domains/services/feature/src/lib/service-actions/service-actions.tsx +++ b/libs/domains/services/feature/src/lib/service-actions/service-actions.tsx @@ -916,7 +916,7 @@ export function ServiceActions({ const { data: deploymentStatus } = useDeploymentStatus({ environmentId: environment.id, serviceId }) if (!service || !deploymentStatus) - return + return return (
diff --git a/libs/domains/services/feature/src/lib/service-list/__snapshots__/service-list-action-bar.spec.tsx.snap b/libs/domains/services/feature/src/lib/service-list/__snapshots__/service-list-action-bar.spec.tsx.snap index 9a9a7152f69..4f328389e0f 100644 --- a/libs/domains/services/feature/src/lib/service-list/__snapshots__/service-list-action-bar.spec.tsx.snap +++ b/libs/domains/services/feature/src/lib/service-list/__snapshots__/service-list-action-bar.spec.tsx.snap @@ -4,55 +4,53 @@ exports[`ServiceListActionBar should match snapshot 1`] = `
+ + 1 + selected + service + +
- - 1 - selected - service -