Skip to content

Alicia Wynona Tjahjadi | Oct2025-1 | Module-Legacy-Code | Sprint-1 | Purple Forest: New Feature: Unfollow - #6

Open
aliciawt wants to merge 3 commits into
mainfrom
feature/unfollow
Open

Alicia Wynona Tjahjadi | Oct2025-1 | Module-Legacy-Code | Sprint-1 | Purple Forest: New Feature: Unfollow#6
aliciawt wants to merge 3 commits into
mainfrom
feature/unfollow

Conversation

@aliciawt

Copy link
Copy Markdown
Owner

Feature: Unfollow

Description

Users can now unfollow users they no longer want to follow. The follow/unfollow button toggles based on the current follow status.

Implementation

  • Added POST /unfollow/<username> endpoint
  • Added unfollow() function to remove follow relationships
  • Updated profile component to show Unfollow button when following
  • Page reloads after unfollow to update the button state

Testing

  • Can unfollow a user (API works)
  • Button toggles between Follow and Unfollow
  • Cannot unfollow if not following

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant