툴팁 적용

This commit is contained in:
2026-05-11 22:12:16 +09:00
parent 062e26c6d9
commit b8a1dad2b7
@@ -5,6 +5,7 @@ import { Controller, useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
import { Search } from "lucide-react";
import { Tooltip, TooltipContent, TooltipTrigger } from "@common/components";
import { CodeSelect } from "@/entities/code/ui/code-select";
import { verificationTargetManagementApi } from "@/entities/statistics/api/verification-target-management-service";
@@ -320,7 +321,18 @@ export function VerificationTargetDialog({
{tabValue !== "IMR" && (
<TableRow>
<TableHead className="bg-muted font-medium">
중요도 계수(μ)
<Tooltip>
<TooltipTrigger asChild>
<span className="inline-flex cursor-help items-center gap-1">
중요도 계수(μ)
<i className="diveicon di-info-circle text-muted-foreground" />
</span>
</TooltipTrigger>
<TooltipContent>
<p>통계청(Statistics Canada) 등에서 기업 단위의 주기적 조사 데이터(수익, 매출, 생산량 등)에서 이상치(Outlier)를 탐지할 때, 데이터의 크기(규모)에 따라 이상치 판별 기준을 다르게 적용하기 위해 도입된 가중치 요인</p>
</TooltipContent>
</Tooltip>
</TableHead>
<TableCell>
<Controller
@@ -356,7 +368,17 @@ export function VerificationTargetDialog({
/>
</TableCell>
<TableHead className="bg-muted font-medium">
백분위수 기준값(pct)
<Tooltip>
<TooltipTrigger asChild>
<span className="inline-flex cursor-help items-center gap-1">
백분위수 기준값(pct)
<i className="diveicon di-info-circle text-muted-foreground" />
</span>
</TooltipTrigger>
<TooltipContent>
<p>데이터가 정규분포를 따르지 않아도, 데이터의 하위/상위 몇 % 위치를 기준으로 이상치 범위를 정할지 결정</p>
</TooltipContent>
</Tooltip>
</TableHead>
<TableCell>
<Controller
@@ -368,7 +390,7 @@ export function VerificationTargetDialog({
type="number"
min="0"
max="0.5"
step="0.1"
step="0.01"
value={
field.value ??
""
@@ -385,7 +407,7 @@ export function VerificationTargetDialog({
: null,
)
}
placeholder="(0 ~ 0.5, 0.1 단위)"
placeholder="(0 ~ 0.5, 0.01 단위)"
/>
</div>
)}
@@ -397,7 +419,18 @@ export function VerificationTargetDialog({
{tabValue !== "IMR" && (
<TableRow>
<TableHead className="bg-muted font-medium">
스케일 조정 계수(A)
<Tooltip>
<TooltipTrigger asChild>
<span className="inline-flex cursor-help items-center gap-1">
스케일 조정 계수(A)
<i className="diveicon di-info-circle text-muted-foreground" />
</span>
</TooltipTrigger>
<TooltipContent>
<p>데이터의 크기가 다른 경우, 특히 규모가 작은 업체가 이상치로 잘못 탐지되는 것을 막기 위해 변환된 비율(Symmetric Ratios)에 규모(size)의 영향을 보정하는 역할</p>
</TooltipContent>
</Tooltip>
</TableHead>
<TableCell>
<Controller
@@ -432,8 +465,18 @@ export function VerificationTargetDialog({
)}
/>
</TableCell>
<TableHead className="bg-muted font-medium">
임계 계수(c)
<TableHead className="bg-muted font-medium" >
<Tooltip>
<TooltipTrigger asChild>
<span className="inline-flex cursor-help items-center gap-1">
임계 계수(c)
<i className="diveicon di-info-circle text-muted-foreground" />
</span>
</TooltipTrigger>
<TooltipContent>
<p>데이터의 분포가 중앙값(median)을 중심으로 얼마나 흩어져 있는지를 바탕으로 이상치 범위를 결정</p>
</TooltipContent>
</Tooltip>
</TableHead>
<TableCell>
<Controller