Canvas Pages and Modules
2.0.0
2.0.0
  • Welcome
  • PAGES
    • Free Bubble Marketing Page
    • Premium Bubble Marketing Page
    • Centered Profile Page
    • Left-justified Profile Page
    • Standard Page
    • Toggle Tabs Page
    • Menu Page
    • Mobile Menu Page
    • Video List Page
    • Portal/Dashboard Page
    • Portal / Dashboard Page with Icons
    • Simple Portal / Dashboard Page with Icons
    • Search Page
    • Map Page with Search Bar, Toggle, and Filters
    • Search Bar Page
    • Listing Profile Page
    • Multi-Step Page (Progress Bar)
    • 1-Column Multi-Step Process Page
    • 2-Column Multi-Step Process Page
    • 2-Column Profile Page
    • 2-Column Profile Tabs Page
    • 2-Column Menu Tabs Page
    • 2-Column Checkout Page
    • 2-Column Product Checkout Page
    • 2-Column Video Chat Page
  • BLOCKS
    • Comments Thread
    • Nested Comments Thread (with Like and Reply)
    • Chat Widget
    • Bottom Input Chat Widget
    • Toggle Tabs Group
    • To-do List
    • Title Group with Button and Filters
    • Listing Details with Tags, Button, and Progress Bar
    • Listing details with icons and menu focus group
    • Week Daily Availability
    • Shopping Cart
    • FAQ Group
    • Shipping Details
    • Payment Methods
    • Order Confirmation
    • Dismissible Module
    • Placeholder group
    • Video Group
    • About Group
    • Add to Cart Group
    • Full Width Map with Directions Link
    • Location Module (Map and Directions)
    • Drag and Drop Repeating Group
    • Advanced Form Inputs Group
    • Reviews Repeating Group with Image
    • Reviews (Text Only) Repeating Group
    • Nested Repeating Group
    • Standard Repeating Group with Image
    • Single Input Search Bar and Filter Group
    • Listing Details Group
    • Post Group with Upvoting UI
    • Dashboard Chart Widget
    • Main Image with Thumbnails
    • Centered Profile Module
    • Left-justified Profile Module
    • 1-Column Standard Form Inputs Group
    • 1-Column Instagram Tiles Group with Nested Comments
    • 1-Column Link, Text, and Menu Focus Repeating Group
    • 2-Column Repeating Group (Text, Link, Image, and Description)
    • 2 Column Repeating Group (Link, Text, and Button)
    • 2-Column Tiles Repeating Group
    • 2-Column Simple Form Inputs Group
    • 2-Column Sortable List (Image, Link, Star Rating, and Text) Repeating Group
    • 2-Column Dashboard Widgets
    • 3-Column Dashboard Widgets
    • 3-Column Repeating Group (Text, Link, Image, and Description)
    • 3-Column Text and Link Repeating Group
    • 3-Column Icons with Labels Repeating Group
    • 3-Column Tiles Repeating Group
    • 3-Column Tiles with Buttons Repeating Group
    • 3-Column Horizontal Scroll Repeating Group
    • 4-Column Tiles Repeating Group
    • 5-Column Date Table with Cell Selection, Menu Focus Group, and Filters
    • Mobile-Friendly Data Table with Cell Selection, Menu Focus Group and Filters
    • Standard Horizontal Scroll Data Table
    • Infinite Columns Horizontal Scroll Data Table
    • Infinite Columns Horizontal Scroll Data Table with Fixed First Column
  • Popups
    • Confirmation Popup
    • Message Popup
    • Image Popup
    • Video Popup
    • Vertical Scroll Popup
    • Edit Popup
    • Standard Form Popup
    • Subscribe Popup
    • Feedback / Contact Popup
    • Details Popup
    • Add List Popup
    • Advanced Form Popup
    • Rating Popup
    • Toggle Tabs Popup
    • Share Popup
    • Multi-Step Popup
    • Invoice Popup
    • 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. BLOCKS

Nested Comments Thread (with Like and Reply)

Overview

This block contains a list of comments created by different users. Each user can create a new comment, reply to, or like a parent comment. This block (and its comments database object) can be connected to any data object in your database (e.g., a topic, a product, or a post). Admins (or users with admin access) can manage the comments section by hovering over a comment and clicking on the ellipsis menu to delete the comment.

Structure

When this block is added to a page, it is placed within a group called Blocks container 860 (do not rename) on the page. This group contains the responsive settings for all blocks.

  • new_nestedcommentsGroup This reusable element contains all of the logic and UI for the nested comments module. It contains four main groups:

    • Group Parent message input This group contains the multiline input for posting a parent comment. Clicking on Button Parent POST will most the text in MultilineInput Parent Comment as a parent comment.

    • RepeatingGroup Parent comment This repeating group displays all parent comments posted by users (where the parent comment is empty).

      • RepeatingGroup Child comment displays all children comments (where the parent comment is parent group's comment).

      • Clicking on Text Parent reply button will show Group Child message input_t-comment and allow the user to reply to a parent comment.

        • Clicking on Button Child REPLY will post the comment underneath the parent comment.

      • Clicking on Text Parent like button and Text Child like button will show Popup likes.

      • Clicking on Group Parent fav comment_t-comment or Group Child fav comment_t-comment will like/unlike the comment.

      • Clicking on Group Parent menu_t-comment and Group Child menu_t-comment will show a menu to delete a comment.

        • You should add another statement to the existing conditional statements on these groups: ...and Current user's Role is App Admin

    • Group Main no comments This group will be visible when RepeatingGroup Parent comment's list of comments count is 0.

    • Popup Likes This popup shows a list of users who have liked a comment.

How to set up

  • Add a field to the 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 new_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 Parent comment 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 Parent POST is clicked to also link theComment created to the relevant object, in this case the Product that's displayed in the reusable.

  • Add a data source whenever you use the new_nestedcomments reusable element as an instance on a page.

PreviousComments ThreadNextChat Widget

Last updated 4 years ago

Was this helpful?