Skip to main content
All CollectionsComponents
Configuring and Troubleshooting the Comment Component
Configuring and Troubleshooting the Comment Component
Updated over a week ago

Read more about the Comment Component in our docs.

Introduction

The Comment collection enables users to interact with comments directly in your app. This article covers advanced setup options for the comments feature, common issues users may encounter, and troubleshooting steps to ensure it operates smoothly.

Considerations for Setting Up the Component

User Authentication

For the Comment component to function, your app must have an authentication method enabled. Users must be signed in with their email addresses to post and view comments. Make sure your app has sign-in enabled and is configured correctly.

Component Setup

  • In the Layout Editor, add the Comments component.

  • Choose where the comments will be stored in your data. Make sure this data source is correctly set up to capture comments.

  • Specify the column in your data source under 'Save Comment' where new messages will be saved.

For a full step by step guide on adding the Comment component, visit our docs.

Configuring Display Fields

Make sure that the following fields are correctly mapped in your data source to display in the Comment:

  • Comment: Maps to the user's comment text.

  • Timestamp: Maps to the date and time the comment was posted.

  • User Photo & User Name: These are to display the commenter's identity.

If these fields are not correctly configured, the comments may not display as intended.

To manage threads effectively, it's important to include a unique identifier when submitting a comment. This identifier helps set up relations or filters to segment your comments.

Common Issues and Solutions

Comments Not Displaying

  • Make sure that the Comment component's data source and columns are set up correctly.

  • If comments are showing that should not be, check if you are collecting any unique values when submitting the comment. Tilter the data according to that value.

Authentication Issues

  • If users report they cannot add comments, verify that user authentication is working correctly and that users are signed in.

Enhancing Comment Functionality

  • You can control the flow of comments by setting a limit on the number of items displayed in the collection.

  • Set up an After Submit Action to send a push notification, Slack message, email, or any other notification Glide supports through Actions and Integrations.

Did this answer your question?