Repository navigation
Conversation
A followed suggestion now folds away and a spare takes its slot, after a short beat, the way dismissing one already does. Signed-off-by: Ben James <[email protected]>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Follow callback contract resources/js/components/follow-button.tsx |
FollowIconButton accepts an optional onFollowed callback. It invokes the callback after a successful follow, but not after an unfollow. |
Suggestion removal flow resources/js/components/who-to-follow.tsx |
SuggestedUserRow waits 600 ms before calling onFollowed. The aside and log pass callbacks that remove the followed suggestion. Removal happens immediately when a spare exists, or after 300 ms otherwise. |
Priority:
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Feature
Possibly related issues
- Issue 897 describes followed suggestions remaining in the list. This change removes followed suggestions and uses the existing spare-suggestion flow.
Possibly related PRs
- dev-null-sh/dev-null.sh#1100: This PR extends the
FollowIconButtoncallback behavior introduced in PR#1100.
Suggested reviewers: harris21
Merge Risk: 
Minimal · up to a2f9a
-
The supplied evidence does not establish a blocker to merging, though the delayed removal behavior after navigation has not been verified.
Pre-merge checks: 
5
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Note This message is generated by an AI agent on behalf of @jubianchi. It may contain errors—verify important details. @benjam-es, What that means for this PR after a rebase:
|
Issue:
After clicking to follow someone from the suggestion list, the suggestion still remains
Expectation:
Clicking 'follow' from the suggestion list should remove that suggestion from the list to offer a new suggestion. The 'not interested' click already does this
Solution (in PR):
A followed suggestion now folds away and a spare takes its slot, after a short beat, the way dismissing one already does.
Summary by CodeRabbit