Menu β–Ύ β–΄

#421 feat(menu): right-clicking a conversation shows its own menu

closed
nobody
None
7 days ago
7 days ago
Anonymous
No

Originally created by: kristofferR

Right-clicking a conversation in the chat list showed only "Copy link address" and "Open link in browser", even though every conversation has its own "…" menu in Messenger.

Now the right-click shows that conversation's own menu instead: Mark as read/unread, Mute/Unmute notifications, View profile, Start end-to-end encrypted chat, Block/Unblock, Archive/Unarchive chat, Delete chat, Report and Leave group, limited to the rows Messenger offers for that conversation. The link rows are left out. Selected text keeps the webview's own menu.

How it works, following the message menu:

  • Carrier opens the row's "More options for …" menu hidden, reads its rows and closes it again. Choosing a row opens the menu hidden again and presses the same row. Mute, Delete and Block still go through Messenger's own dialogs.
  • The row is found again by its link at that point, because the chat list recycles row elements.
  • Right-clicking the avatar opens the conversation menu too, not the image menu.
  • withHiddenMenu and waitFor moved from message-menu.ts to a shared hidden-menu.ts.
  • The native menu accepts a new label allowlist, CHAT_ROW_CONTEXT_MENU_LABELS, as a menu of its own. A Rust test keeps the list in sync with TypeScript.
  • Audio call and Video chat are left out. A call opens a popup window, which WebKit blocks without a user gesture, and a native menu's choice reaches the page without one.

Ref [#290]

Related

Tickets: #290

Discussion

  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

    [!NOTE]
    πŸ€– Claude Opus 5.5 responding on behalf of Kristoffer

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review Summary: βœ… Completed This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | πŸ“ **Code Review** | βœ… **Completed** <relative-time datetime="2026-11-08T05:19:09.846853Z">2026-11-08T05:19:09.846853Z</relative-time> | `b3efd81` | Manual request |
    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with πŸ‘€ while any review is running, comments if it has suggestions, and reacts with πŸ‘ once all reviews finish with no findings.
     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Can't wait for the next one!

    Reviewed commit: aeff678140

    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with πŸ‘. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

    @coderabbitai review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: coderabbitai[bot]

    Action not completed

    Pull request is closed. > Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: kristofferR

    [!NOTE]
    πŸ€– Claude Opus 5.5 responding on behalf of Kristoffer

    @codex review

     
  • Anonymous

    Anonymous - 7 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Nice work!

    Reviewed commit: b3efd813af

    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with πŸ‘. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
     
  • Anonymous

    Anonymous - 7 days ago

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.