Feature: Chat file-link context menu (open/copy/edit)
- App server is running from this repository.
- Open a thread that contains rendered
.message-file-link anchors (for example Markdown file links).
- In a message with a file link, right-click the file link text.
- Verify the custom context menu appears near the pointer.
- Click
Open link and confirm the link opens in a new tab.
- Right-click the same file link again and click
Copy link, then paste into a text input to verify copied value.
- For links under
/codex-local-browse..., right-click and click Edit file.
- Click outside the menu and press
Escape while the menu is open.
- Right-clicking any
.message-file-link opens the custom context menu.
- Menu includes
Open link and Copy link for all links.
- Menu includes
Edit file only for browseable local file links.
- Pointer-down outside, blur, and
Escape close the menu.
- Close any tabs opened during the test.