:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(error-tracking): add missing iOS icon in setup prompt (#63615)
Catalin Irimie635d6f090254
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 009d42372183..7c0329658b4f 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -4899,13 +4899,13 @@ snapshots:scenes-app-error-project-unavailable--no-selectable-projects--light:hash: v1.k794b7964.4074c66e2c5048cf0574b95b4b53a81601be50bc733531b969eae030c6ced45d.xc0jzMCgimBXCdpIGauT6qHYv4aZP669O9mBqXnH7TUscenes-app-errortracking--group-page--dark:- hash: v1.k794b7964.c8e6860882c2adc15d79721f8790d613bded5df4d64424016547083a73b00b6a.2HqMTs3tTi5AWTdmpXCXHJF8_hZSC9pUVrodRXR1eZk+ hash: v1.k794b7964.351019f4dfa01f84212594077f2c058641353476698dbf687ced918e9e3ca339.0DU6yxui3d27ACY-cUcTMBIOveH1PP1bV__VFhft-3Mscenes-app-errortracking--group-page--light:- hash: v1.k794b7964.4bd10265cf91f93b2a9c664d72298e9f0082a9dd79baa1fc39511fd55ea53043.QePUCAYH9IthBk624aP_Kihxv_2Ba3yhFXTr52R9WhQ+ hash: v1.k794b7964.74804fafde4c99817b6e031d8d3e145a8ea41136d806e19729ff4ccda2f6f6b0.yaNK2q2P3I9hSRJ1hCWOPktnWq77lKCnABOzF6ruSEcscenes-app-errortracking--list-page--dark:- hash: v1.k794b7964.cf80259337e4fa435ea90833a58f8dbd0aac70d897dbe793a2fb3f4b3d2ee2cd.8KYx7tA4PK4N_b282q4IWOwTON6T4Hjyyb8KS7ukc18+ hash: v1.k794b7964.cad679e7808b1892ea75f17e3acc96d389aedadacbec0cb64d09a48d15733c7f.AIVJGBYr4wB8Ns0WdbELfAGCQbpB8ETQYjSv6MDYEo4scenes-app-errortracking--list-page--light:- hash: v1.k794b7964.8bc611cf5218844d5f958152a71e2a074a73302d8dbc3c9e2310b148578f1979.eBUZACFFoGzBFveQeEVGz0qOB8AIIL4NH49hogTEepQ+ hash: v1.k794b7964.5e83ec33eb7e6c06022dde7b3e47101133ad63c229b2ad79cd0a5adaf7ddc5ba.3bFPfKOmzxGmn-n09ABAvAffbzLvxWJTTHnYnhxuALkscenes-app-events--event-explorer--dark:hash: v1.k794b7964.255bb3a04f42d5dc5922480078098194199f9ab2654ef6923d7e725ff7968ba1.NqAiq7rAZkXlnjCi3_nZCTo3qi16OjXPDyE7wa8epHYscenes-app-events--event-explorer--light:diff --git a/products/error_tracking/frontend/components/SetupPrompt/SetupPrompt.tsx b/products/error_tracking/frontend/components/SetupPrompt/SetupPrompt.tsxindex de42b1065b18..572e84cdefbb 100644--- a/products/error_tracking/frontend/components/SetupPrompt/SetupPrompt.tsx+++ b/products/error_tracking/frontend/components/SetupPrompt/SetupPrompt.tsx@@ -1,5 +1,5 @@import { useActions, useValues } from 'kea'-import type { ComponentType } from 'react'+import { type ComponentType, isValidElement } from 'react'import { LemonButton, Link, Spinner } from '@posthog/lemon-ui'@@ -13,6 +13,7 @@ import { TeamMembershipLevel } from 'lib/constants'import { cn } from 'lib/utils/css-classes'import androidImage from 'scenes/onboarding/sdks/logos/android.svg'import flutterImage from 'scenes/onboarding/sdks/logos/flutter.svg'+import { IOSLogo } from 'scenes/onboarding/sdks/logos/IOSLogo'import javascriptImage from 'scenes/onboarding/sdks/logos/javascript_web.svg'import nextjsImage from 'scenes/onboarding/sdks/logos/nextjs.svg'import nodejsImage from 'scenes/onboarding/sdks/logos/nodejs.svg'@@ -24,7 +25,11 @@ import { ProductIntentContext, ProductKey } from '~/queries/schema/schema-generaimport { exceptionIngestionLogic } from './exceptionIngestionLogic'-export const ERROR_TRACKING_FRAMEWORK_LINKS: { name: string; image?: string; docsLink: string }[] = [+export const ERROR_TRACKING_FRAMEWORK_LINKS: {+ name: string+ image?: string | JSX.Element+ docsLink: string+}[] = [{name: 'JavaScript',image: javascriptImage,@@ -34,7 +39,7 @@ export const ERROR_TRACKING_FRAMEWORK_LINKS: { name: string; image?: string; doc{ name: 'React', image: reactImage, docsLink: 'https://posthog.com/docs/error-tracking/installation/react' },{ name: 'Node.js', image: nodejsImage, docsLink: 'https://posthog.com/docs/error-tracking/installation/nodejs' },{ name: 'Python', image: pythonImage, docsLink: 'https://posthog.com/docs/error-tracking/installation/python' },- { name: 'iOS', docsLink: 'https://posthog.com/docs/error-tracking/installation/ios' },+ { name: 'iOS', image: <IOSLogo />, docsLink: 'https://posthog.com/docs/error-tracking/installation/ios' },{ name: 'Android', image: androidImage, docsLink: 'https://posthog.com/docs/error-tracking/installation/android' },{name: 'React Native',@@ -128,7 +133,9 @@ export function ErrorTrackingIngestionPrompt({targetBlankonClick={onDocsLinkClick}icon={- image ? (+ isValidElement(image) ? (+ <span className="flex w-5 h-5 [&_svg]:w-full [&_svg]:h-full">{image}</span>+ ) : typeof image === 'string' ? (<img src={image} alt="" aria-hidden="true" className="w-5 h-5" />) : undefined}