From bc36c007121c52076d2c1d20e61ff69fe6a50a1f Mon Sep 17 00:00:00 2001 From: dohyeons Date: Mon, 27 Oct 2025 13:20:31 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=9C=84?= =?UTF-8?q?=EC=A0=AF=20=EC=A0=9C=EB=AA=A9=20=ED=95=9C=20=EA=B0=9C=EB=A7=8C?= =?UTF-8?q?=20=EB=A0=8C=EB=8D=94=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/dashboard/widgets/ListWidget.tsx | 5 ----- .../dashboard/widgets/CustomMetricWidget.tsx | 15 ++++++++------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/frontend/components/admin/dashboard/widgets/ListWidget.tsx b/frontend/components/admin/dashboard/widgets/ListWidget.tsx index 378d8825..252831c5 100644 --- a/frontend/components/admin/dashboard/widgets/ListWidget.tsx +++ b/frontend/components/admin/dashboard/widgets/ListWidget.tsx @@ -217,11 +217,6 @@ export function ListWidget({ element }: ListWidgetProps) { return (
- {/* 제목 - 항상 표시 */} -
-

{element.customTitle || element.title}

-
- {/* 테이블 뷰 */} {config.viewMode === "table" && (
diff --git a/frontend/components/dashboard/widgets/CustomMetricWidget.tsx b/frontend/components/dashboard/widgets/CustomMetricWidget.tsx index d97ec05f..3b6e5d92 100644 --- a/frontend/components/dashboard/widgets/CustomMetricWidget.tsx +++ b/frontend/components/dashboard/widgets/CustomMetricWidget.tsx @@ -351,7 +351,9 @@ export default function CustomMetricWidget({ element }: CustomMetricWidgetProps)
  • • 선택한 컬럼의 데이터로 지표를 계산합니다
  • • COUNT, SUM, AVG, MIN, MAX 등 집계 함수 지원
  • • 사용자 정의 단위 설정 가능
  • -
  • 그룹별 카드 생성 모드로 간편하게 사용 가능
  • +
  • + • 그룹별 카드 생성 모드로 간편하게 사용 가능 +
  • @@ -361,11 +363,7 @@ export default function CustomMetricWidget({ element }: CustomMetricWidgetProps) ? "SQL 쿼리를 입력하고 실행하세요 (지표 추가 불필요)" : "SQL 쿼리를 입력하고 지표를 추가하세요"}

    - {isGroupByMode && ( -

    - 💡 첫 번째 컬럼: 카드 제목, 두 번째 컬럼: 카드 값 -

    - )} + {isGroupByMode &&

    💡 첫 번째 컬럼: 카드 제목, 두 번째 컬럼: 카드 값

    }
    @@ -386,7 +384,10 @@ export default function CustomMetricWidget({ element }: CustomMetricWidgetProps) const colors = colorMap[colorKey]; return ( -
    +
    {card.label}
    {card.value.toLocaleString()}