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({ />