Project

General

Profile

Actions

Feature proposal #5242

closed

Implement follow buttons

Added by krileon over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
20 April 2015
Due date:
% Done:

100%

Estimated time:

Description

Implement the ability to follow another asset. This should result in my activity outputs also including any asset that's being followed. The base for this stream api should be the tags class. There should only need to be 2 endpoints. 1 for displaying the button (which also includes the ajax) and 1 for saving the stream. When creating a follow stream the asset supplied is the asset to be followed.

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 is following) so use ->follow( 'button' ) instead.

Actions

Also available in: Atom PDF