Project

General

Profile

Actions

Bug #17126

closed

Removing or deprecating activity favoriting feature

Added by Raymond Hoh 3 months ago. Updated 13 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2022-10-31
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

#17050 outlined how the activity favoriting feature has not worked for the past five years.

To remind everyone how the activity favorite feature works, you can click on the "Favorite" link in the activity stream to favorite an item. See attached GIF. On the Commons, the places where you can favorite an activity item would be on the current News page or on any user's Commons Profile Activity page. To find out which activity items you have favorited in the past, you can visit your Commons Profile's "Activity > Favorites" page.


On a previous dev call, we mentioned removing the activity favoriting feature due to limited usage.

I ran some numbers with the following database query before the fix in #17050 was deployed:

select user_id,meta_value from wp_usermeta where meta_key = 'bp_favorite_activities' and meta_value != 'a:0:{}' and meta_value > '' order by char_length(meta_value) desc;                                                                            
And found that between when the activity favoriting feature was introduced in 2010 until when it stopped working in 2017:
  • 305 users favorited 1+ items
  • 83 users favorited 2+ items
  • 42 users favorited 3+ items
  • 24 users favorited 4+ items
  • 21 users favorited 5+ items
  • 7 users favorited 8+ items
  • 4 users favorited 20+ items
  • 1 user favorited 60+ items

I ran the same DB query just now and one new user favorited something over the past week. Take that as you will.

To remove the activity favoriting feature, we can remove the Favorite button from the activity stream. Should we also remove the "Activity > Favorites" page from a user's Commons Profile altogether? Or keep it for the 306 users that have favorited something?

Another alternative is leaving the activity favoriting feature alone and perhaps re-introducing it with some documentation and better repositioning. For example, we can add a "Favorites" tab to the redesigned Activity page (#16535) and perhaps renaming the tab to something more palatable like "Bookmarks"?

Actions #1

Updated by Colin McDonald 3 months ago

Thanks Ray, I think we've been leaning toward removing the feature altogether. The low usage suggests to me that it won't be missed or cause much confusion. In general though, maybe we should have a general documentation page with things that have been deprecated.

Adding a few watchers here. We're talking about removing the Favorite button from the activity stream as well as the "Activity > Favorites" page from a user's Commons Profile.

Actions #2

Updated by Raymond Hoh 2 months ago

  • Status changed from New to Staged for Production Release

BuddyPress activity favoriting is now disabled -- https://github.com/cuny-academic-commons/cac/commit/5cf27025775c9d78526bc71dee005df1313df4b1. The "Favorite" button no longer shows up in the activity loop and the "Activity > Favorites" nav item is no longer available.

cdev is also updated if anyone wants to test this.

Actions #3

Updated by Boone Gorges 13 days ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF