From b34dcfc4ff0a86fb15d8e4afd9be2d909c4d81fd Mon Sep 17 00:00:00 2001 From: "xan.lol" Date: Thu, 16 Jul 2026 19:34:19 -0700 Subject: [PATCH] small Followed by improvements - longer list (can't load more tho :< no mutuals counters) - when the impressions mode is set to Exact, it's no longer ugly --- src/components/KnownFollowers.tsx | 30 +++++----------------------- src/state/queries/known-followers.ts | 2 +- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/src/components/KnownFollowers.tsx b/src/components/KnownFollowers.tsx index ab86bfd50..77f370e71 100644 --- a/src/components/KnownFollowers.tsx +++ b/src/components/KnownFollowers.tsx @@ -247,7 +247,7 @@ function KnownFollowersInner({ }, ]} numberOfLines={2}> - {showExactText ? ( + {showExactText && serverCount > 2 ? ( textStyle: object[] }) { - if (slice.length >= 3) { - return ( - - Followed by{' '} - , - including{' '} - - {slice[0].profile.displayName} - - ,{' '} - - {slice[1].profile.displayName} - - , and{' '} - - {slice[2].profile.displayName} - - - ) - } - - if (slice.length === 2) { + if (slice.length >= 2) { return ( Followed by{' '} - , + ,{' '} including{' '} {slice[0].profile.displayName} @@ -384,7 +363,8 @@ function FollowedByExactText({ return ( Followed by{' '} - , including{' '} + ,{' '} + including{' '} {slice[0].profile.displayName} diff --git a/src/state/queries/known-followers.ts b/src/state/queries/known-followers.ts index 05bbd5e67..b1ae5f646 100644 --- a/src/state/queries/known-followers.ts +++ b/src/state/queries/known-followers.ts @@ -11,7 +11,7 @@ import { import {useAgent} from '#/state/session' -const PAGE_SIZE = 50 +const PAGE_SIZE = 100 type RQPageParam = string | undefined const RQKEY_ROOT = 'profile-known-followers' -- 2.51.2