You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: macOS native menu is missing items and one is dead #892
The native macOS menu (src-tauri/src/menu.rs) has drifted from the in-app menu (src/lib/actions.ts):
A dead item. "Compare Schemas" sends menu-action with id compare-schemas, but AppLayout has no case "compare-schemas", so choosing it on macOS does nothing.
Missing items. Backup, Restore, View (zoom, theme), Agents, Command Palette and New Table are in the in-app menu but not in the native one.
Build the native menu from the same action list the frontend uses. One option is a set_native_menu(items) command that the frontend calls with each item's { id, label, enabled }, which would also cover macOS native menu has no "Connect to" submenu #863's "Connect to" submenu.
Failing that, add the missing items by hand and a set_menu_enabled(id, enabled) command.
Either way, add a test asserting every native id has a handler in AppLayout, like the mock coverage test.
Activity
fix: build the macOS menu from the action list