feat: Registry-verified badge + registryData data flow + V3 error recording
- ClinicSnapshot.tsx: 'Registry 검증' badge (ShieldCheck icon), district/branches/brandGroup pills, external links (강남언니/네이버플레이스/구글맵) when source=registry - report.ts: add source and registryData fields to ClinicSnapshot type - transformReport.ts: ApiMetadata now accepts source/registryData; passes to clinicSnapshot - useReport.ts: DB load path extracts scrape_data.source + scrape_data.registryData → transformApiReport - V3 dual-write error recording: discover-channels, collect-channel-data, generate-report now write error_message + error status to analysis_runs on catch instead of silently swallowing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
36d2f1cf49
commit
ae87953fa0
7 files changed
+143
-4
No files matched your search
@@ -91,6 +91,9 @@ export function useReport(id: string | undefined): UseReportResult {
|
||||
url: row.url,
|
||||
clinicName: row.clinic_name || '',
|
||||
generatedAt: row.created_at,
|
||||
// Pass Registry metadata so ClinicSnapshot can show verified badge + district
|
||||
source: (scrapeData?.source as 'registry' | 'scrape' | undefined) ?? 'scrape',
|
||||
registryData: (scrapeData?.registryData as Record<string, string> | null | undefined) ?? null,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user