[buddypress-trac] [BuddyPress] #3172: cancelling friendship via ajax should remove row from list

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Apr 23 11:59:31 UTC 2011


#3172: cancelling friendship via ajax should remove row from list
-------------------------+----------------------------
 Reporter:  DJPaul       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Theme        |    Version:
 Keywords:  needs-patch  |
-------------------------+----------------------------
 When cancelling a friendship via ajax on /members/admin/friends/my-
 friends/, BuddyPress draws a "add friend" button. If you refresh the page,
 this cancelled friendship obviously disappears.

 Whilst the "add friend" response adds a bit of a safety net in case a user
 misclicks, I think it harms the user experience. I don't expect to see an
 "add friend" button on a page which lists my current friends (especially
 just after telling the system to remove that relationship).

 This would involve patching bp_dtheme_ajax_addremove_friend() and the
 javascript function in global.js, perhaps to slideUp() the row like what
 happens in the WordPress dashboard when you mark a comment as spam.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3172>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list