diff --git a/app/components/ecosystem/info-panel.tsx b/app/components/ecosystem/info-panel.tsx index c015f99..c455b4d 100644 --- a/app/components/ecosystem/info-panel.tsx +++ b/app/components/ecosystem/info-panel.tsx @@ -398,15 +398,15 @@ export function InfoPanel({ selectedCompany }: InfoPanelProps) { return (
- + - وضعیت بازیگران اکوسیستم نوآوری و فناوری + وضعیت زیست‌بوم فناوری و نوآوری - تعداد بازیگران اکوسیستم + تعداد بازیگران {formatNumber(counts.actor_count)} @@ -415,7 +415,7 @@ export function InfoPanel({ selectedCompany }: InfoPanelProps) { {/* Actor Count Display */} - تنوع بازیگران اکوسیستم + تنوع بازیگران {/* Middle - Bar Chart */} diff --git a/app/components/ecosystem/network-graph.tsx b/app/components/ecosystem/network-graph.tsx index d3ec6f6..4a82b98 100644 --- a/app/components/ecosystem/network-graph.tsx +++ b/app/components/ecosystem/network-graph.tsx @@ -419,6 +419,7 @@ export function NetworkGraph({ onNodeClick }: NetworkGraphProps) { // Add click handlers nodeGroup.on("click", async function (event, d) { + setIsLoading(true); event.stopPropagation(); // Don't handle center node clicks @@ -470,6 +471,7 @@ export function NetworkGraph({ onNodeClick }: NetworkGraphProps) { onNodeClick(basicDetails); } } + setIsLoading(false); }); // Update positions on simulation tick diff --git a/app/routes/ecosystem.tsx b/app/routes/ecosystem.tsx index c78e9a9..866c5fa 100644 --- a/app/routes/ecosystem.tsx +++ b/app/routes/ecosystem.tsx @@ -92,8 +92,9 @@ export default function EcosystemPage() { > - - معرفی شرکت + + معرفی + {selectedCompany?.category} @@ -103,7 +104,7 @@ export default function EcosystemPage() {
{/* Company Image */}
- {selectedCompany?.label || "اطلاعات شرکت"} + {selectedCompany?.label || ""} {selectedCompany?.stageid && token?.accessToken ? ( {/* Left Column - Company Fields */}
-

اطلاعات شرکت

+

+ اطلاعات + {selectedCompany?.category} +

{selectedCompany?.fields && selectedCompany.fields.length > 0 ? (