Closed jerohero closed 3 years ago
When a user follows me and I go to their profile it doesn't show me 'Follow Back' instead of 'Follow'
After refresh it seems to work though? Strange...
Reproduce
Issue 2
Mobile buttons don't work well. Very unclear in which state of following you are with a person.
I didn't make this. Do you mean it doesn't represent the friend state with another user (follow back, unfriend) or the general state of following (follow, unfollow)?
Issue 2
Mobile buttons don't work well. Very unclear in which state of following you are with a person.
I replaced them with some icons from Font Awesome. I don't think these icons fit very well (considering the unfollow button when the user is not followed back is a check icon, but is an icon with a slash when the user does follow back), but I was unable to find anything better.
closes #269
What is it supposed to do
The follow/unfollow button changes to follow back/unfriend if that user follows the logged in user. A followsYou field was added to the return value of the GET profile route.
How can we test your branch
Log in with two different accounts and let them follow each other to see if the text in the follow button changes properly.
Additional notes
n/a
1. General checklist
2. If relevant, front-end checklist
3. If relevant, back-end checklist
4. If relevant, test these browsers