Ticket #1667 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Add an extension point for rendering activity streams

Reported by: seanh Owned by: seanh
Priority: awaiting triage Milestone: ckan-future
Component: ckan Keywords: 4d activity_streams
Cc: Repository: ckan
Theme: none

Description

Currently rendering of activity stream events to HTML works by looking up a rendering function in a dictionary that maps activity types ('new package', 'changed group', etc.) to rendering functions that take an activity stream event and return the rendered HTML.

There needs to be an extension point where extensions can register their own rendering functions for particular activity types.

Change History

comment:1 Changed 2 years ago by seanh

  • Keywords 4d added; 1d removed

comment:2 Changed 2 years ago by seanh

  • Milestone changed from ckan-v1.7 to ckan-future
Note: See TracTickets for help on using tickets.