Project

General

Profile

Actions

Feature proposal #9327

closed

Implement support for activity stream overriding

Added by krileon 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 January 2024
Due date:
% Done:

100%

Estimated time:

Description

A post on Stream A displayed on Stream B always uses Stream A for its available features. Review implementing support for overriding this to use the stream it's on for its features.

This is not likely to be able to turn ON features, but should be able to turn OFF features at time of display. So for example if Stream A has commenting, but Steam B doesn't then turn off the comments. Turning ON features wouldn't work due to access checks and stream object usage throughout the posts features.

Actions #1

Updated by krileon 10 months ago

  • Description updated (diff)
Actions #2

Updated by krileon 10 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Stream inheritance will now respect the following.

Likes Display
Comments Display
Share Display

This means if Recent Activity turns off comments then all posts displayed on the stream will have commenting turned off. This however cannot work in reverse. So if Recent Activity turns comments on, but the posts displayed have comments off then comments will still be off.

The following will completely and entirely use the inherited streams parameters.

Comments Count
Link Previews
Share Count
Bookmark Count
Repost Count
View Count

This means if the Recent Activity stream is rendering a post then the above display will be exclusively dependent on Recent Activity stream parameters. The respective stream of a post still has to allow these features though. For example if Recent Activity is showing a post from Profile Activity, but Profile Activity doesn't have bookmarks enabled then bookmarks will not display in Recent Activity regardless of the count parameter being toggled on or not.

Actions #3

Updated by krileon 9 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF