Skip to content

London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 1 | Implement unfollow#173

Open
aydaeslami wants to merge 1 commit intoCodeYourFuture:mainfrom
aydaeslami:Unfollow-feature
Open

London | 25-SDC-Nov | Aida Eslamimoghadam | Sprint 1 | Implement unfollow#173
aydaeslami wants to merge 1 commit intoCodeYourFuture:mainfrom
aydaeslami:Unfollow-feature

Conversation

@aydaeslami
Copy link

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

Add unfollow functionality to allow users to unfollow previously followed users. Updates backend endpoint, API service, and profile UI to support Follow/Unfollow toggle.

@aydaeslami aydaeslami added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 1, 2026
Copy link

@OracPrime OracPrime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny tweak needed, otherwise very good

type_check_error = verify_request_fields({"username": str, "password": str})
if type_check_error is not None:
return type_check_error
assert request.json is not None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit unfriendly: is request.json is None this will probably give a 500 internal server error. Raising an explicit bad request error, with a message, would be better

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Purple Forest Kanban Mar 3, 2026
@OracPrime OracPrime added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants