# Comments

{% hint style="success" %}
With the latest Ergonode update, **comments** have been moved into a collapsible sidebar available in both the **Product Detail** and **Catalog (Grid/Table)** views. This ensures feedback is always within reach without disrupting your workflow.
{% endhint %}

{% hint style="info" %}
The comments badge reflects the total number of comments, not just unread or new comments.
{% endhint %}

{% hint style="info" %}
Comments remain attached to the specific product version and are visible to any user with access to that product.
{% endhint %}

{% hint style="info" %}
The sidebar automatically closes when navigating away from the Product Detail view.
{% endhint %}

## Accessing the Comments Panel

A **comments icon** appears in two places:&#x20;

* **Product Detail view**: Top-right toolbar. When there are no comments, the icon displays in its inactive (outlined) state. When comments exist, a badge shows the total count of comments beside the icon. Clicking the icon opens the sidebar; clicking again (or clicking the close icon) hides it.

<figure><img src="/files/scpy0S6nxz3iAnSgmWnW" alt=""><figcaption><p>Product card - comments section highlghted</p></figcaption></figure>

* **Catalog (Grid/Table) view**: In each row’s actions column, alongside edit and delete icons.

<figure><img src="/files/BFZT7vfThnDQHCa6rVO3" alt=""><figcaption></figcaption></figure>

## Sidebar Layout

Once opened, the comments sidebar shows:

* A New Comment button at the top for creating a comment.
* A scrollable list of existing comments, each rendered as a card containing:
  * The user avatar or initials and author name
  * The comment text.
  * A timestamp indicating when it was created.
  * Edit (pencil) and Delete (trash) icons on hover for comments you own.

## Adding a New Comment

* Open the Comments sidebar by clicking the comment icon in the top-right toolbar of the Product Detail view.
* In the Write a comment… field at the top of the sidebar, type your comment text.
* Click Add comment to post.
* If you change your mind, click Cancel to clear the input.

## Editing and Deleting

* **Edit**: Click the pencil icon on your comment card. Modify the text, then click *Save comment* or *Cancel*.
* **Delete**: Click the trash icon, then confirm to remove the comment permanently. The badge count updates accordingly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://usermanual.ergonode.com/products/catalog/comments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
