diff --git a/ui/app/(prowler)/_overview/graphs-tabs/graphs-tabs-wrapper.tsx b/ui/app/(prowler)/_overview/graphs-tabs/graphs-tabs-wrapper.tsx index f9741dc75e..379a4f7acf 100644 --- a/ui/app/(prowler)/_overview/graphs-tabs/graphs-tabs-wrapper.tsx +++ b/ui/app/(prowler)/_overview/graphs-tabs/graphs-tabs-wrapper.tsx @@ -2,6 +2,7 @@ import { Skeleton } from "@heroui/skeleton"; import { Suspense } from "react"; import { SkeletonTableNewFindings } from "@/components/overview/new-findings-table/table"; +import { SkeletonBoundary } from "@/components/shadcn"; import { SearchParamsProps } from "@/types"; import { GraphsTabsClient } from "./_components/graphs-tabs-client"; @@ -44,10 +45,21 @@ export const GraphsTabsWrapper = async ({ GRAPH_TABS.map((tab) => { const Component = GRAPH_COMPONENTS[tab.id]; const fallback = TAB_FALLBACKS[tab.id] ?? ; + const content = ; + + if (tab.id === "findings") { + return [ + tab.id, + + {content} + , + ]; + } + return [ tab.id, - + {content} , ]; }), diff --git a/ui/app/(prowler)/alerts/_components/alert-form-modal.tsx b/ui/app/(prowler)/alerts/_components/alert-form-modal.tsx index e3529d4056..afd522c349 100644 --- a/ui/app/(prowler)/alerts/_components/alert-form-modal.tsx +++ b/ui/app/(prowler)/alerts/_components/alert-form-modal.tsx @@ -45,6 +45,7 @@ import { MultiSelectTrigger, MultiSelectValue, } from "@/components/shadcn/select/multiselect"; +import { SkeletonContentReveal } from "@/components/shadcn/skeleton/skeleton-content-reveal"; import { useMountEffect } from "@/hooks/use-mount-effect"; import type { ScanEntity } from "@/types"; import type { ProviderProps } from "@/types/providers"; @@ -175,17 +176,19 @@ const PreviewSummarySkeleton = () => ( const PreviewSummary = ({ preview }: { preview: PreviewState }) => { if (preview.status === "error") { return ( - - -
- - Test result - - Error -
-

{preview.error}

-
-
+ + + +
+ + Test result + + Error +
+

{preview.error}

+
+
+
); } @@ -193,16 +196,18 @@ const PreviewSummary = ({ preview }: { preview: PreviewState }) => { if (!data) return null; return ( - - - - Test result - -

- {getPreviewMessage(data)} -

-
-
+ + + + + Test result + +

+ {getPreviewMessage(data)} +

+
+
+
); }; diff --git a/ui/app/(prowler)/mutelist/_components/advanced-mutelist-form.tsx b/ui/app/(prowler)/mutelist/_components/advanced-mutelist-form.tsx index d6992d6fb5..836467315f 100644 --- a/ui/app/(prowler)/mutelist/_components/advanced-mutelist-form.tsx +++ b/ui/app/(prowler)/mutelist/_components/advanced-mutelist-form.tsx @@ -12,6 +12,7 @@ import { } from "@/actions/processors"; import { Button, Card, Skeleton } from "@/components/shadcn"; import { Modal } from "@/components/shadcn/modal"; +import { SkeletonContentReveal } from "@/components/shadcn/skeleton/skeleton-content-reveal"; import { useToast } from "@/components/ui"; import { CustomLink } from "@/components/ui/custom/custom-link"; import { fontMono } from "@/config/fonts"; @@ -187,111 +188,114 @@ export function AdvancedMutelistForm() { - -
- {config && } + + + + {config && } -
-
-

- Advanced Mutelist Configuration -

-
    -
  • - - This Mutelist configuration will take effect on the next - scan. - -
  • -
  • - Use this for pattern-based muting with wildcards, regions, and - tags. -
  • -
  • - Learn more about configuring the Mutelist{" "} - - here - - . -
  • -
  • - A default Mutelist is used to exclude certain predefined - resources if no Mutelist is provided. -
  • -
-
- -
- +
-