Missing file name in edit UI when edit permission set to ask #6949

Closed
opened 2026-02-16 18:05:42 -05:00 by yindo · 2 comments
Owner

Originally created by @pedro757 on GitHub (Jan 20, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

As you can see in the screenshot below, It's impossible to know what file is going to edit, so I'm asking to put the file name being edited somewhere in the UI

Plugins

No response

OpenCode version

1.1.27

Steps to reproduce

  1. Set edit permission to "ask"
  2. Tell LLM to edit or create some file

Screenshot and/or share link

Image

Operating System

Linux

Terminal

Ghostty 1.2.3

Originally created by @pedro757 on GitHub (Jan 20, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description As you can see in the screenshot below, It's impossible to know what file is going to edit, so I'm asking to put the file name being edited somewhere in the UI ### Plugins _No response_ ### OpenCode version 1.1.27 ### Steps to reproduce 1. Set edit permission to "ask" 2. Tell LLM to edit or create some file ### Screenshot and/or share link <img width="910" height="266" alt="Image" src="https://github.com/user-attachments/assets/d22f5fe0-734f-40bf-9394-163aa13b65ae" /> ### Operating System Linux ### Terminal Ghostty 1.2.3
yindo added the bugweb labels 2026-02-16 18:05:42 -05:00
yindo closed this issue 2026-02-16 18:05:42 -05:00
Author
Owner

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

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

  • #8704: Missing Accept/Reject changes and missing diff highlights in permission dialogs
  • #9026: TUI feature request for improving permission dialog display with full-file diff toggle
  • #7189: Related issue about improving the UI when asking for permission to edit files

Feel free to ignore if your case is different from these.

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of or related to existing issues. Please check: - #8704: Missing Accept/Reject changes and missing diff highlights in permission dialogs - #9026: TUI feature request for improving permission dialog display with full-file diff toggle - #7189: Related issue about improving the UI when asking for permission to edit files Feel free to ignore if your case is different from these.
Author
Owner

@pedro757 commented on GitHub (Jan 20, 2026):

I would suggest the file name with relative path, should be here:

Image

After Edit
For example Edit app/page.tsx

This is important because frameworks like next.js have some convention around files, and models often fail to follow this rules.
For example putting client side react code in a react server component file. It's impossible to know without seeing the file name and relative path.

@pedro757 commented on GitHub (Jan 20, 2026): I would suggest the file name with relative path, should be here: <img width="916" height="259" alt="Image" src="https://github.com/user-attachments/assets/ac23c656-b8e1-4169-8372-40d0d255e5ff" /> After **Edit** For example **Edit app/page.tsx** This is important because frameworks like next.js have some convention around files, and models often fail to follow this rules. For example putting client side react code in a react server component file. It's impossible to know without seeing the file name and relative path.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6949