fix(bug): show collection in dicover section on unfollowed or reload - #2356
Open
Abhishek7Tech wants to merge 2 commits into
Open
fix(bug): show collection in dicover section on unfollowed or reload#2356Abhishek7Tech wants to merge 2 commits into
Abhishek7Tech wants to merge 2 commits into
Conversation
Contributor
Greptile SummaryThe PR propagates an unfollowed collection ID from the followed section to the Discover section and defers inserting it until active collection requests finish.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/components/organisms/Collections/CollectionCard/CollectionCard.tsx | Propagates the collection ID when the user initiates an unfollow action. |
| src/components/organisms/Collections/CollectionsSections/CollectionsSections.tsx | Coordinates the latest unfollowed collection ID between Followed and Discover sections. |
| src/components/organisms/Collections/DiscoverCollections/DiscoverCollections.tsx | Defers insertion during active fetches and retries against the latest visible collection state when loading completes. |
| src/components/organisms/Collections/FollowedCollections/FollowedCollections.tsx | Passes the unfollow notification callback into followed collection cards. |
Reviews (2): Last reviewed commit: "fix(bug): show collection in dicover sec..." | Re-trigger Greptile
Author
|
@greptileai review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2237
Summary
Shows followed Collection is the Discover section after being unfollowed by the user when the page is reloaded, or the page is revisited by the user.
Screen recording
Screen.Recording.2026-08-17.142001.mp4