Skip to content

macOS native menu has no "Connect to" submenu #863

Closed

Description

@EVWorth

Severity: P3.

#817 adds Connection → Connect to → profile to the in-app menu bar, which is used on Windows and Linux. It also adds "Connect: name" entries to the command palette. The native macOS menu is built separately, in src-tauri/src/menu.rs, and has no such submenu. On macOS, saved profiles can therefore be connected to only from the palette, the sidebar or the + button.

Fix

Build a "Connect to" submenu in menu.rs from the saved profiles, and rebuild it when the profiles change. Each item should send the same connect-profile request the in-app menu uses (src/lib/connect-request.ts). Already-connected profiles should be disabled, and an empty list should show "No saved connections", as in the in-app menu.

Found while fixing #817.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions