RitehWebTeam / infobip-rimatch

RiMatch is a dating application which helps users find connections by creating profiles, matching them with others based on preferences, and enabling communication through chat.
http://rimatch-app.s3-website.eu-central-1.amazonaws.com/
0 stars 1 forks source link

User blocking UI and connecting to backend #110

Closed andrezz-b closed 4 months ago

andrezz-b commented 5 months ago

Changes

andrezz-b commented 5 months ago

@petra5555

Test case

  1. Create 2 compatible users (select the same location for both of them so that they can see only each other)
  2. Match each other on both accounts
  3. The 3 dots with the block action should appear in 2 places
    • On detailed profile page when clicking on a match on the /matches route
    • On chat page with that user
  4. Pressing the 3 dots should open a dropdown with a block button
  5. Pressing block should open a dialog where you can confirm or cancel
    • If you press cancel the dialog should close
  6. Pressing confirm you shuld be redirected to the list page (/matches if you blocked from the detailed profile page or /messages if you blocked the user from the chat page)
  7. The blocked user shuold disappear from My matches and the messages pages, he also should not appear in the new potential users