Skip to content

Split UserCard into FollowCard/FollowRequestCard and Rewrite FollowList using HOCs

Tae Hoon requested to merge tae/pleroma-fe:398-rewrite-follow-list into develop

Closes #398 (closed)

I've split the current UserCard component into two based on its purpose (following/unfollowing user or accepting/rejecting follow request). Based on that, I've redefined the FollowList component using component composition technique with HOCs and the FollowCard component.

To make FollowCard and BlockCard consistent visually, I've added minor css changes.

Screenshots:

  • FollowList

FollowList

  • FollowRequestList

FollowRequestList

  • BlockList

BlockList

Edited by Tae Hoon

Merge request reports