From 2c889d14eec3cf109dfd5feecb695159323ec1fa Mon Sep 17 00:00:00 2001 From: johnnyjoygh Date: Sun, 27 Sep 2026 08:23:17 +0800 Subject: [PATCH] fix(web): only honor pinned memos in single-creator feeds Explore mixed other users' pinned memos to the top and showed the pinned mark on them. Pinning is the owner's arrangement of their own memos, so pinned-first ordering and the mark now apply only when the feed is scoped to one creator (Home, user profile); Explore stays chronological. --- web/src/pages/Home.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/pages/Home.tsx b/web/src/pages/Home.tsx index b9ebe44a9..6054c370d 100644 --- a/web/src/pages/Home.tsx +++ b/web/src/pages/Home.tsx @@ -34,9 +34,12 @@ const Home = () => { includePinned: true, }); const canComposeInScope = Boolean(user && (!creatorUsername || creatorUsername === user.username)); + // Pinning is the owner's arrangement of their own memos, so it only shapes a single + // creator's feed; a mixed-author feed like Explore stays purely chronological. + const honorPinned = Boolean(creatorUsername); const { listSort, orderBy } = useMemoSorting({ - pinnedFirst: true, + pinnedFirst: honorPinned, state: State.NORMAL, }); @@ -50,7 +53,7 @@ const Home = () => { memo={memo} showCreator={!creatorUsername} showVisibility - showPinned + showPinned={honorPinned} showSpace={!selectedSpaceName} compact={compact} />