Bluesky app fork with some witchin' additions 💫

Add a client event for "See more" link on suggested user interstitials (#9249)

authored by Alex Benzer and committed by GitHub 6086bc5d 199821d6

Changed files
+19 -1
src
components
logger
+11 -1
src/components/FeedInterstitials.tsx
··· 390 390 {!isProfileHeaderContext && ( 391 391 <InlineLinkText 392 392 label={_(msg`See more suggested profiles on the Explore page`)} 393 - to="/search"> 393 + to="/search" 394 + onPress={() => { 395 + logger.metric('suggestedUser:seeMore', { 396 + logContext: isFeedContext ? 'Explore' : 'Profile', 397 + }) 398 + }}> 394 399 <Trans>See more</Trans> 395 400 </InlineLinkText> 396 401 )} ··· 429 434 to="/search" 430 435 color="primary" 431 436 label={_(msg`Browse more accounts on the Explore page`)} 437 + onPress={() => { 438 + logger.metric('suggestedUser:seeMore', { 439 + logContext: 'Explore', 440 + }) 441 + }} 432 442 style={[ 433 443 a.flex_col, 434 444 a.align_center,
+8
src/logger/metrics.ts
··· 297 297 recId?: number 298 298 position: number 299 299 } 300 + 'suggestedUser:seeMore': { 301 + logContext: 302 + | 'Explore' 303 + | 'InterstitialDiscover' 304 + | 'InterstitialProfile' 305 + | 'Profile' 306 + | 'Onboarding' 307 + } 300 308 'profile:unfollow': { 301 309 logContext: 302 310 | 'RecommendedFollowsItem'