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
Disable or hide menu and palette items that cannot run #821
File → Backup Database… opens a dialog whose Connection and Database selects are empty.
All of these look enabled in the menus and in the command palette.
Cause
src/components/layout/AppLayout.tsx:144-191: the handlers guard silently with if (selectedConnectionId).
src/lib/actions.ts (the Action type) and src/components/layout/MenuBar.tsx:53-62: there is no enabled or disabled state.
Fix
Add enabled?: () => boolean to Action, evaluated against the connection store. Render disabled items greyed with aria-disabled in MenuBar, and sort them last in CommandPalette or drop them with a hint ("Connect first").
Activity
fix: grey out actions that need a connection