nestedcomments

Module for displaying nested comments

Nested Comments Reusable Overview

This reusable is used within the postcell reusable. It contains the list of Comments for that Post as well as the replies to any of those comments. Adding a "like" to a comment simply entails adding your user account to the list of Likes for that comment.

Key Workflows

Button Post is clicked and Current User is logged in

  • Creates a new Comment and links it to the reusable’s Post

  • Comments that are a direct reply to posts should have a populated Post field and empty Parent comment field

Button Reply is clicked and Current User is logged in

  • Creates a new Comment and links it to its parent group’s Comment

  • Comments that are a reply to another comments should have a populated Parent comment field and an empty Post field

Key Elements

RepeatingGroup Comments

  • Contains the list of comments for that reusable’s Post

RepeatingGroup Nested Comments

  • Contains the list of comments that are replies to the parent group’s Comment

Last updated