From 14d079b34fb93e759fc4f195d5b5563448f6145a Mon Sep 17 00:00:00 2001 From: dohyeons Date: Wed, 15 Oct 2025 10:14:10 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=ED=83=80=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=82=AC=ED=95=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/dashboard/ChartConfigPanel.tsx | 45 ++++--------------- .../admin/dashboard/ElementConfigModal.tsx | 7 +-- 2 files changed, 12 insertions(+), 40 deletions(-) diff --git a/frontend/components/admin/dashboard/ChartConfigPanel.tsx b/frontend/components/admin/dashboard/ChartConfigPanel.tsx index 297a37da..a7649c8a 100644 --- a/frontend/components/admin/dashboard/ChartConfigPanel.tsx +++ b/frontend/components/admin/dashboard/ChartConfigPanel.tsx @@ -10,7 +10,7 @@ import { Badge } from "@/components/ui/badge"; import { Alert, AlertDescription } from "@/components/ui/alert"; import { Checkbox } from "@/components/ui/checkbox"; import { Separator } from "@/components/ui/separator"; -import { Settings, TrendingUp, AlertCircle } from "lucide-react"; +import { TrendingUp, AlertCircle } from "lucide-react"; interface ChartConfigPanelProps { config?: ChartConfig; @@ -86,25 +86,6 @@ export function ChartConfigPanel({
총 {queryResult.totalRows}개 데이터 중 첫 번째 행:
{JSON.stringify(sampleData, null, 2)}
- - {/* 컬럼 타입 정보 */} - {Object.keys(columnTypes).length > 0 && ( -
-
컬럼 타입 분석:
-
- {availableColumns.map((col) => { - const type = columnTypes[col]; - const isComplex = type === "object" || type === "array"; - return ( - - {col}: {type} - {isComplex && " ⚠️"} - - ); - })} -
-
- )} )} @@ -159,7 +140,6 @@ export function ChartConfigPanel({ {simpleColumns.map((col) => { - const type = columnTypes[col] || "unknown"; const preview = sampleData[col]; const previewText = preview !== undefined && preview !== null @@ -170,13 +150,8 @@ export function ChartConfigPanel({ return ( - - {col} - - {type} - - {previewText && (예: {previewText})} - + {col} + {previewText && (예: {previewText})} ); })} @@ -237,9 +212,6 @@ export function ChartConfigPanel({ />