Appizap
  • Appizap Overview
  • Build Apps
    • On-boarding Flow
    • Ideas to Apps using AI
    • Create a new app
    • App Configuration
      • App Overview
      • General Settings
      • Domain Settings
      • Version Release & Management
      • App Assets
      • Auth Settings
    • UI Builder
      • Module
      • Menu Navigation
      • Version Logs & Restore
      • Keyboard Shortcuts
    • GUI, Themes & Styles
    • Event handlers
    • Write JavaScript
      • JavaScript within {{ }}
      • JavaScript Query
      • Transformers
      • Temporary State
      • Data Responder
      • Built-in JavaScript Functions
      • Use Third-party Libraries
    • How-to-use
      • Welcome to Appizap!
      • FAQ
  • Appizap Dashboard
    • Your Apps
    • Database
    • Workflows
    • Media & Files
    • Query Library
    • Audit Logger
    • Templates
  • Workspaces
    • Workspace Settings
    • User Authentication
    • User Groups
    • Themes
    • Advanced
  • Appizap Concepts
  • Appizap Studio
    • Data Browser
      • Screen, Modules & Navigations
      • Active Components
      • In-App Modals
      • Data Queries in your App
      • Global Data Variables
    • Layers
    • Screen Settings
    • Debugger
    • Data Queries
    • Widget Library
      • Link
      • Icons
      • Steps
      • Button Group
      • Form Button
      • Grid
      • Responsive Grid Layout
      • Drawer
      • Navigation
      • Cascader
      • Comment
      • Mention
      • Collapsible Container
      • Rich Text Editor
      • Input
      • Modal
      • Text Display
      • Number Input
      • Password
      • List View
      • Date
      • Checkbox
      • Radio
      • Switch
      • Multi Select
      • Dropdown
      • File Upload
      • Phone Number Input
      • Download Pdf Button
      • Image
      • Divider
      • Progress Circle
      • Progress
      • Form
      • JSON Schema Form
      • Container
      • Tabbed Container
      • Table
      • Date Range
      • Time
      • Time Range
      • Toggle Button
      • Segmented Control
      • Rating
      • Timeline
      • Slider
      • Range Slider
      • Control Button
      • File Viewer
      • Image Carousel
      • Lottie Animation
      • Tree
      • Tree Select
      • IFrame
      • Calendar
      • Custom Component
      • Auto Complete
      • Chart
      • Graph Chart
      • Treemap Chart
      • Basic Chart
      • Geo Map Charts
      • Funnel Chart
      • Candlestick Chart
      • Select
      • Audio
      • Caller
      • Text Area
      • Responsive Flex Layout
      • Timer
      • Image Editor
      • AI Component
    • Component Specific Actions
  • Database
    • Connect DB
    • Build Internal DB
      • Arrays
      • Indexes
      • Using JSON Type
      • Cascade Delete
      • Data Load and Import
    • Data Sources
      • Connect Data Sources
        • Big Query
        • ClickHouse
        • CouchDB
        • DynamoDB
        • Elasticsearch
        • MariaDB
        • Microsoft SQL Server
        • MongoDB
        • MySQL
        • Oracle
        • PostgreSQL
        • Redis
        • Snowflake
      • Connect APIs
        • REST API
        • GraphQL
        • Google Sheets
        • S3
        • OpenAPI
        • Firebase
        • WooCommerce
        • OpenAI
        • Athena
        • Lambda
    • Query Library
    • Storage
      • Buckets
      • Uploads
      • Objects
  • Appizap Workflow Builder [Pro]
    • Workflows
      • Create a workflow
      • Nodes
      • Connections
      • Sticky Notes
      • Tags
      • Import and Export
      • Templates
      • Sharing
      • Settings
      • History
      • Find Workflow ID
    • Build Flow Logic
      • Conditional Nodes
      • Data Merging
      • Looping
      • Waiting
      • Sub-Workflow
      • Execution Order
    • Data Handling
      • Data Structure
      • Transforming data
      • Use Code
      • Mapping using UI
      • Data Item Linking
      • Data Pinning
      • Data Editing
      • Data Filtering
      • Data Mocking
      • Binary Data
    • Editor UI
    • Credentials
      • Create and Edit
      • Sharing
    • Integrations
      • Node Types
      • Core Nodes
      • Actions
      • Triggers
      • Credentials
      • Custom API Operations
    • Error Handling
      • Errors related to memory
    • Keyboard Shortcuts
  • Security & Compliance
  • Terms & Conditions
  • Privacy Policy
  • User Guide
    • Getting Started
    • Admin Console
    • Data Maintenance
Powered by GitBook
On this page
  • Basic
  • Data
  • Interaction
  • Layout
  • Style
  1. Appizap Studio
  2. Widget Library

Comment

A chat tool that enables interaction among real-time users, without the need to install an external chatbot. Helps in community building, customer support, etc.

PreviousCascaderNextMention

Last updated 4 months ago

Basic

Title

Enter the text to be shown as the title at the top of the chat box. It is recommended to keep this string short and contextual.

Data

Comment List Data

Provide the data or the source for loading the content of the widget. This is technically the list of comments and other details for the entries. It can be fetched using a query from a data source.

[
  {
    "user": {
      "name": "Li Lei",
      "avatar": "https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"
    },
    "value": "What is the use of this component?",
    "createdAt": "2023-06-15T08:40:41.658Z"
  },
  {
    "user": {
      "name": "mou"
    },
    "value": "This component allows you to post or delete comments, as well as mention people who appear in the chat.",
    "createdAt": "2023-06-16T08:43:42.658Z"
  },
  {
    "user": {
      "name": "Han Meimei",
      "displayName": "Han"
    },
    "value": "I want to give it a try",
    "createdAt": "2023-06-17T08:49:01.658Z"
  },
  {
    "user": {
      "name": "mou"
    },
    "value": "Enter the content in the input box below and press shift+enter to send it immediately",
    "createdAt": "2023-06-18T08:50:11.658Z"
  }
]
Property
Description

user

name

The name of the user who posted the comment

avatar

The URL to the profile picture of the user

value

The actual comment text submitted

createdAt

The timestamp value when the comment was posted

User Info

Mention the basic information about the user account that is to be used to post the comment. This content can be fetched using a query.

Property
Description

name

The text to be shown as the name of the user

email

The email address of the account by which the comment is to be posted

Mention List Data

Enter the JSON data that contains the users to be displayed as a list when the key '@' is pressed to tag someone. This data contains the list of hashtags shown when the user presses the '#' key.

{
  "@": [
    "Li Lei",
    "Han Meimei"
  ],
  "#": [
    "friends",
    "family",
    "lifestyle",
    "happybirthday",
    "enjoyed",
    "poor",
    "fun"
  ]
}

Interaction

Event Handlers

Event
Description

Click

Submit

Delete

Mention

Disabled

Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied.

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Allowing Comments

Enables the comment box where the user can enter and submit the comments. This will be helpful if the admin needs to abstain from specific users from submitting posts.

Show Delete Button

Displays the delete option button at the end of each comment. Allows the users to redo their submit action, or remove unwanted posts.

Layout

Button Title

This is the text displayed on the submit button. Users will click this button to post their comments after typing.

Placeholder

Specifies a hint that describes the expected value. The placeholder shows the hint text in the widget when nothing is selected or entered. This text disappears as soon as a value is entered in the control.

Style

Property
Description

Background

Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.

Mention Background

Set the background for the posts the user is tagged or mentioned. This helps the user to identify the posts easily.

Text

Set the colour of the text used to show comments. Recommended to set in contrast with the background.

Margin

This value is set in terms of "px" number which creates the space between the border and the content of the widget.

Padding

This value is set in terms of "px" number which creates the space between the border and outer elements.

Border Radius

This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.

Border Width

Set the thickness of the border of the widget using this value. It is defined using "px" terms.

Border Color

Set the colour to the border lines. The border lines will be shown only if that is enabled.

This event will be triggered when the user clicks inside the header portion of a comment.

This event will be triggered when the user submits a comment.

This event will be triggered when the user removes a comment.

This event will be triggered when a user is mentioned in a post.

Read-only
Set the visibility