Canvas Pages and Modules
3.0.0
3.0.0
  • Welcome
  • PAGES
    • Page Flair Group
    • 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
    • Standard Portal / Dashboard Page
    • Simple Portal / Dashboard Page with Icons
    • Double Sidebar Portal Page Template
    • Search Page
    • Map Search Page with Toggle and Filters
    • Floating Map Search Page
    • Search Bar Page
    • Multi-Step Page With Progress Bar
    • Standard Multi-Step Process Page
    • Multi-Step Process Page with Sidebar
    • Gallery Profile or Product Page
    • Sidebar Profile Page
    • 2-Column Menu Tabs Page
    • 2-Column Checkout Page
    • 2-Column Video Chat Page
    • Vertical Multi-Step Page Template
  • BLOCKS
    • Monthly Calendar Scheduling Widget
    • No Reply Comments Thread
    • Nested Comments Thread (with Like and Reply)
    • Placeholder Group
    • List with Circular Progress Bar Repeating Group
    • Top Input Chat Widget
    • Bottom Input Chat Widget
    • Toggle Tabs Group
    • Single-Select or Multi-Select Pill Tabs Group
    • To-Do List Repeating Group
    • Title Group with Button and Filters
    • Product Details Group With Progress Bar
    • Listing details with Icons and Menu Focus Group
    • Week Daily Availability Group
    • Frequently Asked Questions (FAQ) Repeating Group
    • Dismissible Module
    • 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 User Images
    • Reviews (Text Only) Repeating Group
    • Nested Repeating Group
    • Standard Repeating Group with Image
    • Search Bar Group
    • Listing Details Group
    • Post Group with Upvoting UI
    • Large Chart Dashboard Widget
    • Chart With Key Metrics Dashboard Widget
    • Main Image with Thumbnails
    • Centered Profile Block
    • Left-justified Profile Block
    • Tile Image Gallery and Popup
    • Image Feed with Nested Comments Thread
    • 1-Column Standard Form Inputs Group
    • 2-Column Repeating Group (Text, Link, Image, and Description)
    • 2-Column Repeating Group (Link, Text, and Button)
    • 2-Column Repeating Group with Actions
    • 2-Column Grid Tiles Repeating Group
    • 2-Column Form Group
    • 2-Column Sortable List Repeating Group (With Image, Link, Star Rating, and Text)
    • 2-Column Table and Key Metrics Dashboard Widgets
    • 2-Column Progress Bar Chart Dashboard Widgets
    • 2-Column Chart and Key Metrics Dashboard Widgets
    • 2-Column Large Metrics Dashboard Widgets
    • 3-Column Large Metrics 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 Grid Tiles Repeating Group
    • 3-Column Mini Grid Tiles Repeating Group
    • 3-Column Tiles with Buttons Repeating Group
    • 3-Column Horizontal Scroll Repeating Group
    • 4-Column Dashboard Widgets
    • 4-Column Large Metrics Dashboard Widgets
    • 4-Column Tiles Repeating Group
    • 4-Column Icon Tiles Repeating Group
    • 4-Column Profile Tiles Repeating Group
    • Standard Data Table
    • Mobile-Friendly Data Table
    • 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
    • View Profile Popup
    • Send Message Popup
    • Multi-Select Pill Tabs Popup
    • Pricing Plans Popup
  • Reusables
    • filters_template
    • menufocus_template or Menu options (︙)
Powered by GitBook
On this page
  • Overview
  • Structure
  • How to set up

Was this helpful?

  1. BLOCKS

Post Group with Upvoting UI

PreviousListing Details GroupNextLarge Chart Dashboard Widget

Last updated 4 years ago

Was this helpful?

Overview

This is a fully responsive repeating group block that contains UI elements for upvoting functionality, and a functional, 3-level commenting widget within each repeating group cell. It is ideal for displaying a post in a feed, creating a discussion board, or displaying a thread of posts related to a single Topic.

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.

  • Group postUpvoteComments This group contains all of the UI components for a post. RepeatingGroup Posts stores the data for these posts (you will have to change the repeating group data source as it is currently set to a placeholder dummy data source).

    • Group Inner upvotes content This group contains the UI components for upvoting the post (no workflows associated).

    • Group Inner post details This group contains the post title, creator info, description, the attached post and a copy of the nestedcomments_template reusable element.

      • Group Inner post comment displays the total number of comments from the post. Please note that the UI for displaying the actual comments is not included in this block.

How to set up

  • Update the data source of RepeatingGroup Posts.

  • Set up workflows for upvoting

    • Clicking on Group Inner upvote button should upvote the post. Example workflow: When Group Inner upvote button is clicked and current post's user likes doesn't contain current user, then add current user to current post's user likes field.*

    • Update Text upvote count's data source so it dynamically refers to the current post's upvote count (or user likes)*

  • Update the text and image content in Group Inner post details

    • You should make these dynamic and set it to current cell's post's title / creator / description / attached image.*

  • Update the data source of Text Comment to dynamically refer to the current cell's post's # of comments (or user likes).*

*Please note that these conditionals and workflows will vary depending on how you have set up your database.

In order to store a list of comments on each post, please make a copy of the nestedcomments_template and name the copied version to be nestedcomments_posts. This preserves the original instance of the nestedcomments_template reusable elements, just in case a Post's commenting functionality may differ from other comment functionality in your application. More information on the nestedcomments_template can be found here: . You could also place the copy of the nestedcomments_posts reusable in a group, and set that group to be hidden on page load and collapse in height. Then, users can click to view comments by clicking on the Group Inner post comment element.

Make a copy of the nestedcomments_template reusable and replace the nestedcomments_template element in this repeating group block, with the copied reusable. More information about how to associate a custom object with a list of Comments can be found here:

Here is an example of associating the comments with a 'Post' data object:

Comments thread (with like and reply)
Comments thread (with like and reply).
video