nestedcomments

Interface for viewing comments and comment replies for a post

Nested Comments Reusable Overview

This module contains the list of Comments - and those comments' replies - for a given Post. It contains three tiers of Comments. Comments whose Tier is 1 are a direct reply to a Post. Tier 2 comments are replies to tier 1 comments and, similarly, tier 3 comments are replies to tier 2 comments. Logged in users can reply to comments or upvote a comment.

Key Workflows

Group Upvote Comment is clicked and Current User is logged in and Parent Group's Post's Upvotes doesn't contain Current User

  • Triggers the Upvote comment custom workflow

Group Upvote Comment is clicked and Current User is logged in and Parent Group's Post's Upvotes contains Current User

  • Triggers the Downvote comment custom workflow

Upvote comment [Custom workflow]

  • Adds the Current User to the Upvotes list of the Comment

  • Updates the Upvotes (num) field of the Comment

Downvote comment [Custom workflow]

  • Removes the Current user from the Upvotes list of the Comment

  • Updates the Upvotes (num) field of the Comment

Key Elements

RepeatingGroup Comments Tier 1

RepeatingGroup Comments Tier 2

RepeatingGroup Comments Tier 3

Last updated

Was this helpful?