Project

General

Profile

Actions

Feature proposal #3788

closed

Implement like buttons

Added by krileon about 12 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 November 2012
Due date:
% Done:

100%

Estimated time:

Description

Implement the ability to like another asset. The base for this stream api should be the follow class. There should only need to be 2 endpoints. 1 for displaying the button(s) (which also includes the ajax) and 1 for saving the stream. When creating a likes stream the asset supplied is the asset to be liked.

For the button display endpoint it's probably best to reserve show/default for an actual view (e.g. if in the future there's a view to display all the assets the user liked) so use ->likes( 'button' ) instead.

A database table needs to be added to handle the storage of the likes and a table for storage of the various like buttons (e.g. just like Locations, Actions, etc..).

Actions #1

Updated by krileon about 12 years ago

This will be ajax powered, so no page loads.

Actions #2

Updated by krileon about 12 years ago

This should be an API that can be used by other plugins so it needs to be generalized. It should function like CB Captcha where it's based off a trigger call.

Example DB Structure:
ID, TYPE, SUBTYPE, ITEM, USER, STATUS, DATE

Actions #3

Updated by krileon about 12 years ago

  • Target version changed from 2.0.0 to 3.0.0
Actions #4

Updated by krileon about 12 years ago

This will be new API Library in CB 2.0 for CB Activity to utilize.

A "Toasts" API should also be added so a user can say they basically read the activity, but don't like or dislike it.

Actions #5

Updated by krileon about 11 years ago

  • Target version changed from 3.0.0 to 616
Actions #6

Updated by krileon about 10 years ago

  • Target version changed from 616 to 3.0.0
Actions #7

Updated by krileon almost 10 years ago

  • Target version changed from 3.0.0 to 4.0.0
Actions #8

Updated by krileon almost 10 years ago

First develop CB Thumbs API plugin to add a generic like/dislike/toast API then use it for the like/dislike feature.

Actions #9

Updated by krileon almost 10 years ago

  • Target version changed from 4.0.0 to 722

This needs CB Thumbs API plugin.

Actions #10

Updated by krileon almost 10 years ago

  • Target version changed from 722 to 708
Actions #11

Updated by krileon almost 10 years ago

  • Target version changed from 708 to 4.0.0
Actions #12

Updated by krileon almost 10 years ago

This should be built into CB Activity. It needs to provide a sharing API and thumbs API as it does an activity and commenting API.

Actions #13

Updated by krileon over 9 years ago

Like/Dislike will NOT post on the stream. Instead a separate tab will be provided to showcase someones likes. What will show on the stream is Share, which is really its intended purpose, but it'll allow sharing outside of the stream as well.

Actions #14

Updated by krileon over 9 years ago

Optional system action to log likes could be fine as well. So this way it's up to the site.

Actions #15

Updated by krileon over 8 years ago

Instead of Toast simply do: Like, Dislike, Thanks. This would be more universally understood. This really should be a new storage table though and work like Actions and such were you can specify custom usages. So you could have Love, Hate, etc..

Actions #16

Updated by krileon about 8 years ago

Call this API "Reactions".

Actions #17

Updated by krileon almost 8 years ago

This should basically be designed directly after the follow API. The exception being instead of a static follow button we need to handle different button types as there could be a like, dislike, toast, etc.. usage available that needs to be accounted for, but that's entirely on the display aspect of the button.

Actions #18

Updated by krileon almost 8 years ago

  • Subject changed from Implement like, dislike, and share buttons to Implement like buttons
  • Description updated (diff)
Actions #19

Updated by krileon almost 8 years ago

  • % Done changed from 0 to 60
Actions #20

Updated by krileon almost 8 years ago

  • % Done changed from 60 to 70
Actions #21

Updated by krileon almost 8 years ago

  • % Done changed from 70 to 90

Still needs content bot and module usage, but internal and field usage done.

Actions #22

Updated by krileon almost 8 years ago

  • % Done changed from 90 to 80

Still needs types tooltip selector usage, whoops!

Actions #23

Updated by krileon almost 8 years ago

  • % Done changed from 80 to 90

Type selector implemented.

Actions #24

Updated by krileon almost 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 90 to 100
Actions #25

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF