Skip to content

Conversation

@mikenikles
Copy link
Contributor

Summary

  • Add custom native macOS menu with Cmd+W bound to "Close Tab" (emits event to frontend) instead of closing the entire window
  • Improve error handling for schema loading failures with proper connection cleanup
  • Show warning toast when connecting to empty database with no tables
  • Pre-populate save query dialog with tab name for new queries
  • Add saveQuery and formatSql to global shortcuts so they work in input fields
  • Improve text selection: disable globally but enable for inputs, code editors, and table content

Test plan

  • Test Cmd+W closes current tab instead of window
  • Test connecting to a database with schema loading errors
  • Test connecting to an empty database shows warning toast
  • Test saving a new query pre-populates the name from tab
  • Test Cmd+S and format shortcuts work when focused in editor
  • Verify text selection works in code editors and tables but not elsewhere

🤖 Generated with Claude Code

- Add custom native menu with Cmd+W bound to "Close Tab" instead of
  closing the window, emitting event to frontend for tab management
- Improve error handling for schema loading failures, cleaning up
  connection state on errors
- Show warning toast when connecting to empty database with no tables
- Pre-populate save query dialog with tab name for new queries
- Add saveQuery and formatSql to global shortcuts (work in input fields)
- Improve text selection: disable globally but enable for inputs,
  editors, and table content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mikenikles mikenikles merged commit b0cb97e into main Jan 5, 2026
1 check failed
@mikenikles mikenikles deleted the feat/native-menu-and-ux-improvements branch January 5, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants