From ff23aa7d1d050573ab3c8717f195b3c07c5b4ebf Mon Sep 17 00:00:00 2001 From: dohyeons Date: Mon, 17 Nov 2025 09:49:13 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EC=A0=9C=EB=AA=A9=20=EB=88=84=EB=A5=B4=EB=A9=B4=20=ED=8E=B8?= =?UTF-8?q?=EC=A7=91=ED=99=94=EB=A9=B4=EC=9C=BC=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/dashboard/DashboardListClient.tsx | 16 ++++- .../widget-sections/CustomMetricSection.tsx | 72 ++++++++++--------- 2 files changed, 51 insertions(+), 37 deletions(-) diff --git a/frontend/app/(main)/admin/dashboard/DashboardListClient.tsx b/frontend/app/(main)/admin/dashboard/DashboardListClient.tsx index d8eeae61..082e8661 100644 --- a/frontend/app/(main)/admin/dashboard/DashboardListClient.tsx +++ b/frontend/app/(main)/admin/dashboard/DashboardListClient.tsx @@ -300,7 +300,14 @@ export default function DashboardListClient({ initialDashboards, initialPaginati {dashboards.map((dashboard) => ( - {dashboard.title} + + + {dashboard.description || "-"} @@ -355,7 +362,12 @@ export default function DashboardListClient({ initialDashboards, initialPaginati {/* 헤더 */}
-

{dashboard.title}

+

{dashboard.id}

diff --git a/frontend/components/admin/dashboard/widget-sections/CustomMetricSection.tsx b/frontend/components/admin/dashboard/widget-sections/CustomMetricSection.tsx index 6dbbb60c..97c0f395 100644 --- a/frontend/components/admin/dashboard/widget-sections/CustomMetricSection.tsx +++ b/frontend/components/admin/dashboard/widget-sections/CustomMetricSection.tsx @@ -89,68 +89,70 @@ export function CustomMetricSection({ queryResult, config, onConfigChange }: Cus {config.filters && config.filters.length > 0 ? ( -
+
{config.filters.map((filter, index) => ( -
- {/* 컬럼 선택 */} - +
+ {/* 첫 번째 줄: 컬럼 선택 */} +
+ + + {/* 삭제 버튼 */} + +
- {/* 연산자 선택 */} + {/* 두 번째 줄: 연산자 선택 */} - {/* 값 입력 */} + {/* 세 번째 줄: 값 입력 */} updateFilter(index, "value", e.target.value)} - placeholder="값" - className="h-8 flex-1 text-xs" + placeholder="값을 입력하세요" + className="h-9 w-full text-sm" /> - - {/* 삭제 버튼 */} -
))}
@@ -264,7 +266,7 @@ export function CustomMetricSection({ queryResult, config, onConfigChange }: Cus

필터:

{config.filters.map((filter, idx) => ( -

+

· {filter.column} {filter.operator} "{filter.value}"

))}