Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.01 KB

File metadata and controls

22 lines (18 loc) · 1.01 KB

Feature: Chat file-link context menu (open/copy/edit)

Prerequisites

  • App server is running from this repository.
  • Open a thread that contains rendered .message-file-link anchors (for example Markdown file links).

Steps

  1. In a message with a file link, right-click the file link text.
  2. Verify the custom context menu appears near the pointer.
  3. Click Open link and confirm the link opens in a new tab.
  4. Right-click the same file link again and click Copy link, then paste into a text input to verify copied value.
  5. For links under /codex-local-browse..., right-click and click Edit file.
  6. Click outside the menu and press Escape while the menu is open.

Expected Results

  • 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.

Rollback/Cleanup

  • Close any tabs opened during the test.