Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Statsig] Track threads (#6057)

* [Statsig] Send thread length

* Split events

authored by

dan and committed by
GitHub
125ac504 1c2186bc

+12
+5
src/lib/statsig/events.ts
··· 122 122 'post:create': { 123 123 imageCount: number 124 124 isReply: boolean 125 + isPartOfThread: boolean 125 126 hasLink: boolean 126 127 hasQuote: boolean 127 128 langs: string 128 129 logContext: 'Composer' 130 + } 131 + 'thread:create': { 132 + postCount: number 133 + isReply: boolean 129 134 } 130 135 'post:like:sampled': { 131 136 doesLikerFollowPoster: boolean | undefined
+7
src/view/com/composer/Composer.tsx
··· 405 405 ? post.embed.media.images.length 406 406 : 0, 407 407 isReply: index > 0 || !!replyTo, 408 + isPartOfThread: thread.posts.length > 1, 408 409 hasLink: !!post.embed.link, 409 410 hasQuote: !!post.embed.quote, 410 411 langs: langPrefs.postLanguage, ··· 412 413 }) 413 414 index++ 414 415 } 416 + } 417 + if (thread.posts.length > 1) { 418 + logEvent('thread:create', { 419 + postCount: thread.posts.length, 420 + isReply: !!replyTo, 421 + }) 415 422 } 416 423 } 417 424 if (postUri && !replyTo) {