# Comments and change requests

Source: https://dropshelf.ai/docs/use/comments

Comment on a drop, pin a comment to a spot on its page, ask for a change and resolve it once a version fixes it.

Anyone who can open a dropshelf drop can comment on it in the dashboard. Use comments to give
feedback, to ask the owner for a fix, and to close that request once a new version carries it.

## Prerequisites [#prerequisites]

- You can open the drop. Commenting needs no other access.

## Open a drop's comments [#open-a-drops-comments]

Select a drop's card on **Home** or any other list of drops. The drop opens over the page, with its
website on the left and a panel on the right. The comments are on the panel's **Overview** tab.

To go straight to the comment box, select the comment count on the card instead. On drops you own or
edit, the count carries a dot while change requests are open.

## Choose conversation or a change request [#choose-conversation-or-a-change-request]

Every comment is one of two kinds:

- **Conversation** is praise, a question or an answer. It never needs closing.
- **A change request** asks for something to be fixed. It carries a **Change request** tag and stays
  open until someone resolves it.

You choose the kind when you write the comment, and it cannot be changed afterwards.

## Post a comment [#post-a-comment]

To post a comment:

1. Select the box under **Add a comment**. It opens and shows its tools.
2. Write the comment.
3. To mention someone, type `@` and part of their name or email, then pick them from the list.
4. To ask for a fix, select the **Change request** icon in the box's corner.
5. Select **Post**.

The comment appears at the top of the thread with its number, such as `#4`. Every top-level comment
gets the next number on its drop, and keeps it for life. A deleted comment's number is never given
out again. People, the CLI and agents all refer to comments by these numbers.

You can mention only people who can already open the drop. A mention tells them, and it never
shares the drop with anyone. A comment cannot be edited after it is posted. Its author or an admin
can delete it.

## Pin a comment to a spot on the page [#pin-a-comment-to-a-spot-on-the-page]

A comment can point at one element of the drop's website, such as a heading or a button. To pin
one:

1. Select **Pin a comment** in the toolbar over the website, select **Pin to page** in the comment
   box, or press **M**. The website shows a crosshair, and nothing on it reacts to clicks while you
   pick.
2. Select the element you mean. It stays outlined, and the comment box shows it as a chip.
3. Write the comment and select **Post**.

A pin with the comment's number then marks the spot on the website. Select a pin to open its
comment, or select a pinned comment's number to scroll the website to its pin. To change the spot before you post, press **M**
again. **Esc** stops picking, then removes the spot, and only then closes the drop.

Pins work on the published version, not while you preview another one. When a new version goes live,
each pin finds its element again, and a comment whose element is gone says so. Pins of resolved
change requests are hidden until you open the comment.

## Comment from the CLI [#comment-from-the-cli]

The `dropshelf` CLI posts a comment on the drop its folder is linked to. Add `--change-request` to
ask for a fix, and `--on` with a CSS selector to pin the comment to one element of the published
page:

```bash
dropshelf comments add "The title is too small." --change-request --on '#title'
```

The [CLI guide](/docs/agents/cli) covers the `comments` commands.

## Reply and react [#reply-and-react]

Select **Reply** on a comment to answer it. Replies sit under the comment, one level deep, and have
no number of their own. A reply is never a change request and cannot be pinned.

Select **React** to add one of eight emoji to a comment or a reply.

## Resolve and reopen a change request [#resolve-and-reopen-a-change-request]

When a change request is done, select **Resolve**, the check at its bottom right. A resolved change
request folds to one line that names who resolved it. Select that line to read it again, and select
**Reopen** to reopen it.

The comment's author can resolve and reopen it, and so can the drop's owner, an editor and an admin.
Conversation is never resolved.

### Resolve from the CLI when you publish [#resolve-from-the-cli-when-you-publish]

The `dropshelf` CLI can resolve change requests with the version that fixes them. Name their numbers
when you push:

```bash
dropshelf push --resolve 4,6 --note "Thursday, and the vegetarian option"
```

Each change request gets a reply that names the version, such as "Fixed in v7", with your note. It is
resolved once that version is live, not before, so a draft never closes feedback.

To give one change request its own answer in place of the note, write the answer after its number.
`dropshelf publish` takes `--resolve` too, for a draft you looked at first:

```bash
dropshelf publish --resolve '4=Moved to Thursday' --resolve '6=Added the vegetarian option'
```

The [CLI guide](/docs/agents/cli) covers `push`, `publish` and the `comments` commands.

### Let your agent work through them [#let-your-agent-work-through-them]

An agent connected over MCP reads a drop's open change requests, replies to them and resolves them,
as you. Ask it to fix the comments on a drop by name. Its comments and replies carry a **via** tag
with the agent's name. [Connect an agent](/docs/agents/connect) sets this up.

## Who is notified [#who-is-notified]

The bell at the top of the dashboard shows a dot while something is new for you. The dot is amber
while an unread change request is among it, and teal otherwise. You hear of:

- a comment or a change request on a drop you own or edit,
- a reply to your comment, in a thread you replied in, or on a drop you own,
- a comment that mentions you,
- your change request being resolved or reopened.

Each unread line carries the same dot, amber on a change request. Several comments from one person
on one drop within ten minutes make one line, and so do several change requests. Select a line to open
the drop at that comment, or select **Mark all as read**. You are never told about what you or your
agent did.

## Next steps [#next-steps]

- [Share a drop](/docs/use/share)
- [Publish a new version](/docs/use/versions)
- [Use the CLI](/docs/agents/cli)
- [Connect an agent](/docs/agents/connect)
- [CLI reference: comments](/docs/reference/cli#comments)
