You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is that we should be able to include the post title or other information in a reaction's log text dynamically at fire time, similar to how the old points hooks used to work. But in this case we'd take the template text from the reaction settings, and substitute in the values for placeholders. Idea is that we'd also have a UI feature that would make the placeholders magical.
The text was updated successfully, but these errors were encountered:
Before we can do this, we will need a way to integrate with the entity restriction API. #541 introduced that API with support for restrictions for entity children, and even a restriction for post content of protected posts (though of course post content is generally unlikely to be included in the points logs). However, we'll need to have the ability to detect when a reaction relates to a restricted entity, so that we can restrict logs for that reaction accordingly. That will require a new API for getting a list of all entities and children a reaction relates to. Or, we could just detect whether the event relates to any args that are restricted, regardless of whether the reaction actually references them, although that is more restrictive than necessary, and wouldn't have applications beyond this particular use.
I've been thinking that really, we could go ahead and introduce the API for this on the back-end, and then add a UI for it later. In the mean time it would just be more of a power-user feature. I just don't think that we should hold up the whole thing just because we're wrestling to find the right UI for it.
For example “comment on post” when clicked, it directs to the comment.
Also “Comment on Post” under the Description section of the Points Logs table is unclickable. It would be great if I can do the same thing. When clicked on the phrase, it directs to the the post where the user adds a comment. With this option, I can keep track of or view where users add comments.