Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

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

Conversation

@SaraTahir28
Copy link

@SaraTahir28 SaraTahir28 commented Feb 9, 2026
edited
Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

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

Projects

Status: Backlog

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /