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

Post Group with Upvoting UI

PreviousListing Details GroupNextDashboard Chart Widget

Last updated 4 years ago

Was this helpful?

Overview

This is a fully responsive visual block with no workflows associated with it. It is ideal for displaying a post in a feed or a discussion board. It contains visual UI components for upvoting the post.

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, and the attached post image.

      • 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. However, you can add another block called below this block. You could make it a collapsible group that will only show when a user clicks on Group Inner post comment.

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).*

    • Build UI to display comments or add another Canvas block called below this block.

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

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