Skip to content

Conversation

@alexrrouse
Copy link
Contributor

introduces drag-and-drop support for macOS, this will allow us to drag a folder over the app icon in the doc and open a new window setup with the location of the folder.

Drag-and-Drop Support for macOS:

  • Added CFBundleDocumentTypes to extendInfo in forge.config.ts to define document types for drag-and-drop onto the dock icon, supporting folders and directories (ui/desktop/forge.config.ts).
  • Implemented event listeners in main.ts to handle drag-and-drop actions, including open-file and open-files events for opening files or folders dropped onto the dock icon. Added a helper function handleFileOpen to manage these interactions (ui/desktop/src/main.ts).
goose-drag-drop-demo-480.mov

Copy link
Collaborator

@zanesq zanesq left a comment

Choose a reason for hiding this comment

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

LGTM!

@zanesq zanesq merged commit 8a32128 into block:main Jun 25, 2025
6 checks passed
@alexrrouse alexrrouse deleted the alexrouse/feat-ui-macos-drag-drop branch June 25, 2025 18:12
ahau-square pushed a commit that referenced this pull request Jun 25, 2025
* origin/main:
  Session file security updates (#3071)
  feat(ui): Add drag and drop support for opening sessions from finder. (#3070)
  Mnovich/fix cli permisisons (#3074)
  copy permission fix for cli (#3073)
  Update download_cli.sh to support arbitrary Goose versions (#3060)
  fix(temporal-service): makes the search for possible temporal paths parallel. (#3062)
  added MCPs menu item (#3066)
  fix missing dependencies for cli (#3065)
  feat: created sub recipe tools (#2982)
  attempt to build CLI native for Windows (#3058)
  docs: typo - wrong extension id (#3063)
  fix(docs): teach Goose how to spell “autonomous” 🪿📚 (#3061)
  feat (cli): list Groq-supported models (#3048)
  Fix session corruption issues (#3052)
  feat: update to get vector db path from env var for vector tool strategy (#3042)
  Fix Linux desktop download links to point to actual desktop versions (#3051)
  fix temporal build for windows (#3045)
  fix cron parsing for windows (#3044)
s-soroosh pushed a commit to s-soroosh/goose that referenced this pull request Jul 18, 2025
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
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