> ## Documentation Index
> Fetch the complete documentation index at: https://docs.docwriter.org/llms.txt
> Use this file to discover all available pages before exploring further.

# The feedback popup

> Give the agent feedback on a selected passage and choose how it responds. You can also use the popup with the keyboard.

When you select a passage in the editor, you see a feedback popup next
to the selected text. Use the popup to tell the agent what is wrong or
choose another action for the selected text.

<Frame>
  <img src="https://mintcdn.com/ucberkeley-8d9be701/E_ddd2kJwp-Usx8W/images/inline-feedback-popup.png?fit=max&auto=format&n=E_ddd2kJwp-Usx8W&q=85&s=724b7e54de47b48c31c36956265fe06d" alt="The inline feedback popup, with text input, mode chips, and quick-action pills" width="1400" height="900" data-path="images/inline-feedback-popup.png" />
</Frame>

You can type as soon as you finish selecting text, because the input is
already focused. With a mouse, finish the selection by releasing the
button. With a keyboard, release the modifier key, e.g. release Shift
after extending a selection with the arrow keys. If you selected text
because you want to edit it yourself, press Esc and keep typing.

## Sending feedback

Type what is wrong and press Enter, or click **Go**. The agent
receives the selected passage and your feedback, then starts a comment
thread on the passage. The agent responds on that thread in the next
turn. Your message is then available as a quick action for later use.

## Direct edit and plan first

You choose how the agent responds with the two chips under the input.

* **Direct edit.** The agent proposes its edit right away. The edit
  is shown as a pending review on the thread, where you can accept or
  reject it.
* **Plan first.** The agent first explains the problem and its planned
  change. It then proposes an edit on the same
  thread, so you can read the explanation before you decide.

Direct edit is selected by default. Your selection is used for the
current feedback only. When you select another passage, Direct edit is
selected again.

## Quick actions

Use the quick actions under the mode choices when you want to send
common feedback with one click.

* **Too verbose** and **Incorrect** give the agent the selected passage
  and the label you clicked. The agent follows the mode you chose.
* **AI smell** always asks the agent to explain its reasoning first. The
  agent explains why it thinks a machine wrote the passage. After the
  explanation, it proposes a fix.

Your six most recent feedback messages are also available as quick
actions, with the newest message first. When you enter a new message,
it is added to the list.

## Freeze for agent

Click **Freeze for agent** to prevent the agent from editing the selected
text. The selected text is locked until you unlock it. Read
[Writing rules](/customize/rules#freezing-a-passage) for details.

## Keyboard behavior

* Press **Esc** to close the popup without clearing your selection.
  You can then type, copy, or delete in the document without
  seeing the popup again for that selection. When you select a different
  range, you see the popup again.
* Press **Backspace** or **Delete** while the input is empty to delete
  the selected text. Use either key when you decide to cut the passage
  instead of commenting on it.
* You can also select text with the keyboard. Hold Shift while you use
  the arrow keys, or select everything with `Cmd/Ctrl+A`. When you
  release the modifier key, you can type in the focused input.

## Where to go next

* Read [Comments](/agent/comments) to learn how to reply to or resolve
  the thread that you started with your feedback.
* Read [Reviewing edits](/agent/reviewing-edits) to learn how you can
  accept or reject an edit from the agent.
* Read [Writing rules](/customize/rules) to turn repeated feedback into
  a rule for the agent.
