Skip to content

WestMidlands| SDC NOV 2025 |Sara Tahir| Sprint 1| Feature/Unfollow#121

Open
SaraTahir28 wants to merge 3 commits intoCodeYourFuture:mainfrom
SaraTahir28:feature/unfollow
Open

WestMidlands| SDC NOV 2025 |Sara Tahir| Sprint 1| Feature/Unfollow#121
SaraTahir28 wants to merge 3 commits intoCodeYourFuture:mainfrom
SaraTahir28:feature/unfollow

Conversation

@SaraTahir28
Copy link

@SaraTahir28 SaraTahir28 commented Feb 9, 2026

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

  • This PR introduces the new unfollow feature, completing the follow system across the app.

  • On the backend, the unfollow request was corrected to use the proper /unfollow endpoint and JSON payload ({ unfollow_username }), aligning with the legacy API structure.

  • On the frontend, the profile component now includes a dynamic Follow/Unfollow toggle that updates instantly based on profileData.is_following

Questions

I have no questions

…egacy code-Tested via curl to confirm its working correctly.
await apiService.getProfile(username);
to avoid doube fetching and unneccessary rerenders
@SaraTahir28 SaraTahir28 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant