Canvas Pages and Modules
1.0.0
1.0.0
  • Welcome
  • PAGES
    • Profile Page
    • Standard Page
    • Toggle Tabs Page
    • Mobile Menu Page
    • Video List Page
    • Portal/Dashboard Page
    • Search Page
    • Search Bar Page
    • Listing Profile Page
    • 1-Column Multi-Step Process Page
    • 2-Column Multi-Step Process Page
    • 2-Column Profile Page
  • MODULES
    • Comments Thread
    • Nested Comments Thread (with Like and Reply)
    • Chat Widget
    • Week Daily Availability
    • Video Group
    • Drag and Drop Repeating Group
    • Reviews Repeating Group with Image
    • Reviews (Text Only) Repeating Group
    • Accept/Decline Repeating Group
    • Nested Repeating Group
    • Standard Repeating Group with Image
    • Standard Repeating Group with Image and Add Button Repeating Group
    • Expandable Input Forms Repeating Group
    • Expandable Group (with Button, Link, and Section Header) Repeating Group
    • Expandable Group (Text Only) Repeating Group
    • Single Input Search Bar and Filter Group
    • 1-Column Standard Form Inputs Group
    • 1-Column Instagram Tiles Group
    • 1-Column Link, Text, and Menu Focus Repeating Group
    • 1-Column Title Text, Link, and Body Text Repeating Group
    • 2-Column Title Link and Text Repeating Group
    • 2-Column Simple Form Inputs Group
    • 2-Column Sortable List (Image, Link, Star Rating, and Text) Repeating Group
    • 3-Column Text and Link Repeating Group
    • 3-Column Horizontal Scroll Repeating Group
    • 4-Column Data Table with Title
    • 4-Column Date Table with Cell Selection, Menu Focus Group, and Filters
    • 4-Column Standard Tiles Repeating Group
    • 4-Column Product Image Tiles with Prices Repeating Group
    • 4-Column Video, Star Rating, and Text Tiles Repeating Group
    • 4-Column Reviews Tiles with Star Rating Repeating Group
    • 5-Column Data Table with Sortable Fields
    • 6-Column Small Tiled Horizontal Scroll Repeating Group
  • Popups
    • Stripe Credit Card Purchase Popup
  • Reusables
    • applyfilters
    • menufocusgroup or Menu options (︙)
Powered by GitBook
On this page
  • Overview
  • Structure
  • How to set up

Was this helpful?

  1. MODULES

Nested Comments Thread (with Like and Reply)

PreviousComments ThreadNextChat Widget

Last updated 5 years ago

Was this helpful?

Overview

This module is a list of comments or messages by different users, with the ability for a user to create a new comment, reply, or like a comment. It can be added on any object (a topic, a product, etc.). App admins (or users with admin access) will be able to click on the ... icon to delete any comment in the thread via a menu focus group.

Structure

  • When this module is added to a page, it has a reusable element inside called nestedcomments. This reusable element contains all of the logic and UI for the module.

  • The module also comes with a data type called t-Comments. This is the data type that will store all of the comments.

  • All of the parent comments are displayed in RepeatingGroup t-Comment parent and all of the children comments are displayed in RepeatingGroup t-Comment.

  • Button POST creates a new parent comment.

  • Button REPLY creates a new child comment.

  • Text Like likes a comment.

  • Group Option 2 (Delete) deletes a comment.

How to set up

  • Add a field to the t-Comment data type that represents the object on which you want users to comment. For example, if you want users to comment on products, you should add a Product field.

  • Open the nestedcomments reusable

  • Modify the type of content displayed in the reusable to be whatever object for which you want to show comments. In this case you should make the group type be Product.

  • Modify the data source for RepeatingGroup t-Comment parent to include whatever filter you need. In this case, you should only include comments that are linked to the Product being displayed.

  • Modify the action that runs when the Button POST is clicked to also link the t-Comment created to the relevant object, in this case the Product that's displayed in the reusable.

  • Add a data source whenever you use the nestedcomments reusable that links to the appropriate object (in this case the Product that's displayed on the page).

Within the nestedcomments reusable element, there is another reusable element called commentsmenufocusgroup. For more information on how to use menufocusgroups, please .

click here