[buddypress-trac] [BuddyPress Trac] #5644: Activity Favorites: alternative management & new features
buddypress-trac
noreply at wordpress.org
Mon Feb 26 23:17:46 UTC 2024
#5644: Activity Favorites: alternative management & new features
--------------------------------------+-----------------------
Reporter: imath | Owner: imath
Type: enhancement | Status: assigned
Priority: normal | Milestone: 14.0.0
Component: Activity | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests |
--------------------------------------+-----------------------
Changes (by prbot):
* keywords: needs-patch => has-patch has-unit-tests
Comment:
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/238 PR #238] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://github.com/imath imath].''
I'm back again with Favorites improvement. The story of this ticket
highlighted the fact we should consider moving to **Likes**. I agree and
now we have a Backward Compatibility Add-on (BP Classic). I believe we
should move the Activity Favorites feature into this Add-on and finally
have **Likes** instead into BuddyPress.
I've tested many ways to fix this ticket and I believe I finally have
something solid to improve how we deal with **Likes** or more globally
with **Reactions** to an activity. My reasoning to build the Activity
Likes feature is Activity comments or Activity Likes are both reactions to
an activity: I like what the activity says or I reply to it. So **Activity
Likes** can be compared to Activity comments without content. If this PR
is still a WIP, it already contains:
- An Activity Type API (it should help us fix
[https://buddypress.trac.wordpress.org/ticket/6429 #6429]
- Examples of what improvements this API can bring: see the
`bp_activity_type_supports()` function.
- An initial Reaction API I'm inaugurating with the **Activity Likes**
feature.
- Adding/Removing Likes, getting likes count for an activity, getting the
activity the user liked
Next steps if we agree on this scenario:
- List the users who liked an activity on the Activity single screen
- Ajax/JavaScript implementation into Template packs
More possible ambitious steps:
- Sort Activity stream according to number of activity likes
- Sort Activity stream according to number of comments.
I really think we should go this road for Activity Reactions/Likes. What
do you think? Should we make this the 14.0.0 release top feature?
Trac ticket: https://buddypress.trac.wordpress.org/ticket/5644
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5644#comment:57>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list