Web UI: What is the purpose of “Add comment” when clicking inside a file? #8161

Open
opened 2026-02-16 18:09:18 -05:00 by yindo · 4 comments
Owner

Originally created by @jeremyakers on GitHub (Jan 31, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Question

When viewing a file in the Web UI, clicking inside the file opens an “Add comment” popup.

I wasn’t able to find documentation or issues explaining what these comments are used for.

Clarification questions:

  1. Are comments purely UI annotations for humans?
  2. Do comments get passed to the agent as context?
  3. Are comments persisted anywhere (e.g., session state, project metadata)?
  4. Are they intended to guide future agent actions or reviews?

Right now it’s unclear whether adding comments has functional impact or is informational only, so some guidance would help users understand when to use this feature.

Originally created by @jeremyakers on GitHub (Jan 31, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Question When viewing a file in the Web UI, clicking inside the file opens an “Add comment” popup. I wasn’t able to find documentation or issues explaining what these comments are used for. Clarification questions: 1. Are comments purely UI annotations for humans? 2. Do comments get passed to the agent as context? 3. Are comments persisted anywhere (e.g., session state, project metadata)? 4. Are they intended to guide future agent actions or reviews? Right now it’s unclear whether adding comments has functional impact or is informational only, so some guidance would help users understand when to use this feature.
yindo added the webdocs labels 2026-02-16 18:09:18 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 31, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11501: [FEATURE]: Web UI - Allow files to be edited by user in UI - The author is asking about the same "Add comment" feature and expressing confusion about its purpose in the context of why the file viewer doesn't allow direct editing.

Both issues are closely related and discuss the same confusion around the "Add comment" functionality in the Web UI file viewer. You may want to check #11501 to see if the answers address your questions about what the comment feature is designed for.

@github-actions[bot] commented on GitHub (Jan 31, 2026): This issue might be a duplicate of existing issues. Please check: - #11501: [FEATURE]: Web UI - Allow files to be edited by user in UI - The author is asking about the same "Add comment" feature and expressing confusion about its purpose in the context of why the file viewer doesn't allow direct editing. Both issues are closely related and discuss the same confusion around the "Add comment" functionality in the Web UI file viewer. You may want to check #11501 to see if the answers address your questions about what the comment feature is designed for.
Author
Owner

@cRhettiarachchi commented on GitHub (Feb 4, 2026):

I'm curious about this one too, I tried adding comments and passing it to the agent, and was successful just once, but then was not able pass the comments to the agent.

So, I'm guessing this is a bug.

@cRhettiarachchi commented on GitHub (Feb 4, 2026): I'm curious about this one too, I tried adding comments and passing it to the agent, and was successful just once, but then was not able pass the comments to the agent. So, I'm guessing this is a bug.
Author
Owner

@slmeng commented on GitHub (Feb 8, 2026):

I am very confused about this too.

@slmeng commented on GitHub (Feb 8, 2026): I am very confused about this too.
Author
Owner

@cpkt9762 commented on GitHub (Feb 15, 2026):

我也用桌面版,真的被这个弹窗烦死了
只要在文件查看界面点一下代码区域,就立刻弹出 “Add comment” 弹窗,完全挡住了正常浏览。
还没法让我正常的复制文档内容,我不知道存在的意义是什么
这个功能目前完全没有文档解释:
到底是给人看的 review 注释?
还是要传给 agent 当上下文?
还是只是个没做完的编辑器占位?

@cpkt9762 commented on GitHub (Feb 15, 2026): 我也用桌面版,真的被这个弹窗烦死了 只要在文件查看界面点一下代码区域,就立刻弹出 “Add comment” 弹窗,完全挡住了正常浏览。 还没法让我正常的复制文档内容,我不知道存在的意义是什么 这个功能目前完全没有文档解释: 到底是给人看的 review 注释? 还是要传给 agent 当上下文? 还是只是个没做完的编辑器占位?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8161