260922_01_ENH: KON, KIWI 내부적 연동에 따라 url에 대한 경고문 및 전체 url 제거 #42

Merged
gitadmin merged 1 commits from develop into master 2026-09-22 15:23:53 +09:00

View File

@@ -285,11 +285,6 @@ const SurveyCard = ({ survey, index, itrntPrjctCd, userTeam, invalidField, onReg
<div className="space-y-2">
<div className="flex items-center gap-2">
<Label className="text-base">설문 URL</Label>
{isKonKiwi && (
<span className="text-sm text-red-600" role="alert">
⚠️ {SURVEY_TYPE_LABEL[survey.surveyTy]}에서 제공하는 단축 URL과 다른 URL입니다.
</span>
)}
</div>
<div className="flex items-center gap-2">
{isKonKiwi ? (
@@ -332,30 +327,6 @@ const SurveyCard = ({ survey, index, itrntPrjctCd, userTeam, invalidField, onReg
</div>
</div>
{isKonKiwi && (
<div className="space-y-2">
<Label className="text-base">설문 전체 URL</Label>
<div className="flex items-center gap-2">
<Input
value={survey.surveyFullUrl || ''}
readOnly
placeholder="저장 후 자동 생성됩니다"
className="h-9 flex-1 bg-gray-100"
/>
<Button
type="button"
variant="outline"
onClick={() => copyToClipboard(survey.surveyFullUrl, 'fullUrl')}
disabled={!survey.surveyFullUrl?.trim()}
aria-label="설문 전체 URL 복사"
className="h-9 w-9 shrink-0 p-0"
>
{copiedField === 'fullUrl' ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
</Button>
</div>
</div>
)}
{survey.surveyTy === SurveyType.EXTERNAL && (
<div className="space-y-2">
<Label className="text-base">설문 대시보드 URL</Label>
@@ -811,15 +782,6 @@ const ProjectInfoPage = () => {
<div className="flex items-center justify-between">
<div className="flex items-center gap-4">
<h3 className="shrink-0 text-xl font-semibold">설문 연동</h3>
{surveys.length > 0 && (
<div className="flex items-start gap-1 text-sm text-red-600" role="alert">
<span aria-hidden="true">⚠️</span>
<div>
<p>설문 URL에서 <span className="font-semibold">psidx=[$설문번호]</span>가 빠지면 연동되지 않습니다.</p>
<p>설문 카드에 표시된 단축 URL을 사용하면 별도 설정 없이 정상 연동됩니다.</p>
</div>
</div>
)}
</div>
<Button type="button" variant="outline" onClick={handleAddSurvey}>
설문 추가