Skip to content

feat: add dock menu with welcome window and connections list#33

Merged
datlechin merged 2 commits into
mainfrom
feat/dock-menu
Feb 7, 2026
Merged

feat: add dock menu with welcome window and connections list#33
datlechin merged 2 commits into
mainfrom
feat/dock-menu

Conversation

@datlechin
Copy link
Copy Markdown
Member

Summary

  • Add right-click dock icon context menu via applicationDockMenu(_:)
  • "Show Welcome Window" option to quickly reopen the welcome screen
  • "Open Connection" submenu listing all saved connections with database type icons, enabling quick connect directly from the dock

Test plan

  • Right-click the app icon in the dock and verify the context menu appears
  • Click "Show Welcome Window" and verify the welcome window opens
  • Verify "Open Connection" submenu lists all saved connections with correct icons
  • Click a connection from the submenu and verify it connects and opens the main window
  • Verify failed connections close the main window and reopen welcome
  • Verify the menu updates when connections are added/removed (menu is rebuilt each time)

Add right-click context menu to the dock icon with:
- "Show Welcome Window" option to quickly reopen the welcome screen
- "Open Connection" submenu listing all saved connections with database type icons for quick connect
- Create resized copy of NSImage instead of mutating shared asset catalog image
- Add error logging for dock connection failures consistent with auto-reconnect
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 066805ea35

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread TablePro/AppDelegate.swift Outdated
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.

1 participant