Add KnownFollowers to ProfileGrid suggestion cards

Show known followers (compact/minimal) on each suggested profile card
in the ProfileGrid, between the description and the follow button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eric Bailey
2026-03-18 11:21:26 -05:00
parent 317ce2b3da
commit bc8b50fe90
+14
View File
@@ -37,6 +37,10 @@ import * as FeedCard from '#/components/FeedCard'
import {ArrowRight_Stroke2_Corner0_Rounded as ArrowRight} from '#/components/icons/Arrow'
import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag'
import {TimesLarge_Stroke2_Corner0_Rounded as X} from '#/components/icons/Times'
import {
KnownFollowers,
shouldShowKnownFollowers,
} from '#/components/KnownFollowers'
import {InlineLinkText} from '#/components/Link'
import * as ProfileCard from '#/components/ProfileCard'
import {Text} from '#/components/Typography'
@@ -504,6 +508,16 @@ export function ProfileGrid({
</View>
</View>
{shouldShowKnownFollowers(
profile.actor.viewer?.knownFollowers,
) && (
<KnownFollowers
profile={profile.actor}
moderationOpts={moderationOpts}
minimal
/>
)}
<ProfileCard.FollowButton
profile={profile.actor}
moderationOpts={moderationOpts}