Motivation & Goal
Provide a 100% native macOS experience by implementing the system top menu bar via Flutter's PlatformMenuBar.
Proposed Scope
On macOS (when Platform.isMacOS), wrap the main app with a native PlatformMenuBar containing:
- Application Menu: About Querya, Preferences (
Cmd+,), Hide (Cmd+H), Hide Others (Cmd+Alt+H), Quit (Cmd+Q).
- File Menu: New Connection (
Cmd+N), New Query Tab (Cmd+Shift+N), Open SQL Script (Cmd+O), Save Query (Cmd+S), Close Tab (Cmd+W).
- Edit Menu: Undo (
Cmd+Z), Redo (Cmd+Shift+Z), Cut (Cmd+X), Copy (Cmd+C), Paste (Cmd+V), Select All (Cmd+A).
- View Menu: Toggle Sidebar (
Cmd+B), Focus Filter Bar (Cmd+F), Toggle Pivot/Groupings (Cmd+G), Return to Home (Cmd+Shift+0).
- Help Menu: Welcome Tour & Shortcuts Guide (
F1 / Cmd+Shift+H), GitHub Repository & Bug Report link.
Verification
- Add widget tests verifying that
PlatformMenuBar mounts menu entries on macOS targets without regressions on Linux/Windows.
Motivation & Goal
Provide a 100% native macOS experience by implementing the system top menu bar via Flutter's
PlatformMenuBar.Proposed Scope
On macOS (when
Platform.isMacOS), wrap the main app with a nativePlatformMenuBarcontaining:Cmd+,), Hide (Cmd+H), Hide Others (Cmd+Alt+H), Quit (Cmd+Q).Cmd+N), New Query Tab (Cmd+Shift+N), Open SQL Script (Cmd+O), Save Query (Cmd+S), Close Tab (Cmd+W).Cmd+Z), Redo (Cmd+Shift+Z), Cut (Cmd+X), Copy (Cmd+C), Paste (Cmd+V), Select All (Cmd+A).Cmd+B), Focus Filter Bar (Cmd+F), Toggle Pivot/Groupings (Cmd+G), Return to Home (Cmd+Shift+0).F1/Cmd+Shift+H), GitHub Repository & Bug Report link.Verification
PlatformMenuBarmounts menu entries on macOS targets without regressions on Linux/Windows.