feat: add clickable source links to all report sections

YouTubeAudit: handle links to youtube.com/@{handle} with ExternalLink icon
InstagramAudit: handle links to instagram.com/{handle} with ExternalLink icon
ClinicSnapshot: domain is now clickable link, phone is tel: link
OtherChannels: Google Maps generates search URL, Naver Blog links to
  first blog post or search results (previously empty string)
transformReport: fills missing URL fields for Google Maps and Naver Blog

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Haewon KamandClaude Opus 4.6 committed 2026-04-04 11:02:35 +09:00
1 parent bb7b08e35c
commit 66b4826f55
4 files changed
+54 -12

No files matched your search

+2 -2
View File
@@ -994,7 +994,7 @@ export function mergeEnrichment(
name: '구글 지도',
status: 'active' as const,
details: `평점: ${gm.rating ?? '-'} / 리뷰: ${gm.reviewCount ?? '-'}`,
url: '',
url: gm.website || (gm.name ? `https://www.google.com/maps/search/${encodeURIComponent(String(gm.name))}` : ''),
};
if (gmChannelIdx >= 0) {
merged.otherChannels[gmChannelIdx] = gmChannel;
@@ -1089,7 +1089,7 @@ export function mergeEnrichment(
name: '네이버 블로그',
status: 'active' as const,
details: `검색 결과: ${nb.totalResults?.toLocaleString() ?? '-'}건 / 최근 포스트 ${nb.posts?.length ?? 0}개`,
url: '',
url: nb.posts?.[0]?.link || (nb.searchQuery ? `https://search.naver.com/search.naver?query=${encodeURIComponent(String(nb.searchQuery))}` : ''),
};
if (nbChannelIdx >= 0) {
merged.otherChannels[nbChannelIdx] = nbChannel;