# sidebar.comments

Part of [Sidebar](https://kernstra.com/docs/web-sdk/config/sidebar) in the Kernstra Web SDK 1.0.0 configuration reference.

- Type: `boolean | EditablePanelConfig`
- Default: `on, with editing`
- Page: https://kernstra.com/docs/web-sdk/config/sidebar/comments

The Comments panel. Offered under every license — reading comments is viewing — and read-only without the `annotations` feature, which replying, editing, deleting and status need. `comments: { editing: false }` makes a read-only review. The selection bar's Comment action also needs this panel, editable.

```ts
sidebar: { comments: { editing: false } }
```

### `comments.enabled`

- Type: `boolean`
- Default: `true`
- Page: https://kernstra.com/docs/web-sdk/config/sidebar/comments-enabled

Offer the Comments panel.

### `comments.editing`

- Type: `boolean`
- Default: `true`
- Page: https://kernstra.com/docs/web-sdk/config/sidebar/comments-editing

The panel's editing controls (a reply, an edit, a deletion, a review status), in FULL mode when the document's permissions allow it and the license covers it (`annotations`).

Web page: https://kernstra.com/docs/web-sdk/config/sidebar/comments
