import React from "react"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui"; import { Terminal } from "./Terminal"; import { SearchBar } from "./SearchBar"; import { MetricsChart } from "./MetricsChart"; import { YamlEditor } from "./YamlEditor"; import { useKubernetesStore } from "@/stores/kubernetesStore"; import { useStore } from "zustand"; interface ApplicationViewProps { clusterId: string; namespace: string; } export function ApplicationView({ clusterId, namespace }: ApplicationViewProps) { const [activeTab, setActiveTab] = React.useState("overview"); const clusters = useStore(useKubernetesStore, (state) => state.clusters); const selectedCluster = clusters.find((c: { id: string }) => c.id === clusterId); return (
Workloads will be displayed here
Infrastructure resources will be displayed here