Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Avi follow experiment tweaks (#4341)

* Move avi button to visually align content

* Fix wrong prop warning

* Remove avi follow from post thread

authored by

dan and committed by
GitHub
3b55f61d 8c596b61

+13 -14
+6 -11
src/view/com/post-thread/PostThreadItem.tsx
··· 40 40 import {PostAlerts} from '../../../components/moderation/PostAlerts' 41 41 import {PostHider} from '../../../components/moderation/PostHider' 42 42 import {getTranslatorLink, isPostInLanguage} from '../../../locale/helpers' 43 - import {AviFollowButton} from '../posts/AviFollowButton' 44 43 import {WhoCanReply} from '../threadgate/WhoCanReply' 45 44 import {ErrorMessage} from '../util/error/ErrorMessage' 46 45 import {Link, TextLink} from '../util/Link' ··· 472 471 {/* If we are in threaded mode, the avatar is rendered in PostMeta */} 473 472 {!isThreadedChild && ( 474 473 <View style={styles.layoutAvi}> 475 - <AviFollowButton author={post.author} moderation={moderation}> 476 - <PreviewableUserAvatar 477 - size={38} 478 - profile={post.author} 479 - moderation={moderation.ui('avatar')} 480 - type={ 481 - post.author.associated?.labeler ? 'labeler' : 'user' 482 - } 483 - /> 484 - </AviFollowButton> 474 + <PreviewableUserAvatar 475 + size={38} 476 + profile={post.author} 477 + moderation={moderation.ui('avatar')} 478 + type={post.author.associated?.labeler ? 'labeler' : 'user'} 479 + /> 485 480 486 481 {showChildReplyLine && ( 487 482 <View
+2 -2
src/view/com/posts/AviFollowButton.tsx
··· 97 97 }), 98 98 a.absolute, 99 99 { 100 - bottom: 0, 101 - right: 0, 100 + bottom: -1, 101 + right: -1, 102 102 borderWidth: 1, 103 103 borderColor: t.atoms.bg.backgroundColor, 104 104 },
+5 -1
src/view/com/posts/AviFollowButton.web.tsx
··· 1 - export {Fragment as AviFollowButton} from 'react' 1 + import React from 'react' 2 + 3 + export function AviFollowButton({children}: {children: React.ReactNode}) { 4 + return children 5 + }