diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 05fb08b4164..ecab8ed2278 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -10,6 +10,7 @@ issue_enrichment: enabled: true reviews: + high_level_summary: false # Skip machine-generated / vendored files (mirrors .prettierignore). Keeps # reviews focused on hand-written code and preserves rate-limit budget on # large codegen diffs. diff --git a/apps/docs/components/ContentListings/ContentListings.client.tsx b/apps/docs/components/ContentListings/ContentListings.client.tsx index 93086bd588a..b28e1b18841 100644 --- a/apps/docs/components/ContentListings/ContentListings.client.tsx +++ b/apps/docs/components/ContentListings/ContentListings.client.tsx @@ -29,6 +29,8 @@ function useContentListingClickHandler(group: ContentListingGroup) { const trackClick = useCallback( (item: ContentListingItem) => { + if (!item.href) return + sendTelemetryEvent({ action: 'docs_content_listing_clicked', properties: { @@ -73,8 +75,45 @@ function ContentListingsGroup({ group }: { group: ContentListingGroup }) { )}