scorelab / Codelabz

Codelabz
Apache License 2.0
144 stars 409 forks source link

Added confirmation modal window whenever user wants to follow and unfollow someone. Also added unfollow functionality #1145

Closed PoulavBhowmick03 closed 6 months ago

PoulavBhowmick03 commented 7 months ago

Description

This PR is linked to the issue I created, #1020 These are the functionalities added

  1. Whenever we click on the follow button now, it asks if we want to follow that person
  2. Added an unfollow functionality
  3. Similar to the follow confirmation, when we click to unfollow, it asks for a confirmation from the user

Related Issue

Fixes #1020

Motivation and Context

This change provides user an option to decide on whether they really want to follow an user and gives them the ability to even unfollow someone, which was initially missing

How Has This Been Tested?

Screenshots or GIF (In case of UI changes):

https://github.com/scorelab/Codelabz/assets/133862694/7015ced9-daea-46ad-9c01-83abf832eef5

Types of changes

Checklist: