feat: Naver Search API + multi-account Instagram + button UX fix
- Naver Blog search: collect blog post results for clinic name (total count + top 10 posts) - Naver Place search: collect place info (name, category, address, telephone) - Multi-account Instagram: AI prompt requests all IG accounts (국내/해외) - enrich-channels: process multiple IG handles with fallback per handle - transformReport: merge multiple IG accounts into instagramAudit.accounts[] - generate-report: socialHandles.instagram now array of handles - Hero/CTA: transition-all → transition-shadow for instant click response - Hero/CTA: disabled state when URL is empty (opacity-50 + cursor-not-allowed) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
cf482d1bd7
commit
72ea8f4a2d
8 files changed
+240
-68
No files matched your search
@@ -53,10 +53,10 @@ export default function ReportPage() {
|
||||
|
||||
const handles = stateSocialHandles || dbSocialHandles;
|
||||
|
||||
const igHandle =
|
||||
handles?.instagram ||
|
||||
baseData.instagramAudit?.accounts?.[0]?.handle ||
|
||||
undefined;
|
||||
// Instagram: support array of handles (multi-account) or single handle
|
||||
const igHandles: string[] = Array.isArray(handles?.instagram)
|
||||
? handles.instagram.filter(Boolean) as string[]
|
||||
: handles?.instagram ? [handles.instagram as string] : [];
|
||||
|
||||
const ytHandle =
|
||||
handles?.youtube ||
|
||||
@@ -66,7 +66,7 @@ export default function ReportPage() {
|
||||
return {
|
||||
reportId: baseData.id,
|
||||
clinicName: baseData.clinicSnapshot.name,
|
||||
instagramHandle: igHandle || undefined,
|
||||
instagramHandles: igHandles.length > 0 ? igHandles : undefined,
|
||||
youtubeChannelId: ytHandle || undefined,
|
||||
address: baseData.clinicSnapshot.location || undefined,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user