cmux/Sources/Panels
Austin Wang 04431751ce
Fix file drag-and-drop and file input in browser panel (#214)
* Fix file drag-and-drop and file input in browser panel (#194)

Two fixes for the browser panel:

1. File drag-and-drop from Finder: CmuxWebView previously suppressed ALL
   drag type registration as a no-op to prevent bonsplit tab drags from
   being intercepted. Now it selectively filters out only the text-based
   types that conflict with bonsplit (public.text, public.utf8-plain-text,
   public.plain-text) and the custom tab transfer types, while allowing
   file URL types through so Finder drops work.

2. File <input> elements: Added the WKUIDelegate runOpenPanelWith method
   to BrowserUIDelegate so clicking a file input opens the native macOS
   file picker (NSOpenPanel), with support for multiple selection and
   directory picking as specified by the HTML element.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* chore(claude-opus-4-6): take a look at https://github.com/manaflow-ai/cmux/issues...

* ok

* wok

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 18:26:23 -08:00
..
BrowserPanel.swift Fix file drag-and-drop and file input in browser panel (#214) 2026-02-20 18:26:23 -08:00
BrowserPanelView.swift Merge remote-tracking branch 'origin/main' into fix/browser-devtools-shortcuts-pr 2026-02-20 15:48:27 -08:00
CmuxWebView.swift Fix file drag-and-drop and file input in browser panel (#214) 2026-02-20 18:26:23 -08:00
Panel.swift Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
PanelContentView.swift Merge remote-tracking branch 'origin/main' into fix/browser-devtools-shortcuts-pr 2026-02-20 15:48:27 -08:00
TerminalPanel.swift Sidebar ports on own line, wider sidebar, CMUX_PORT env vars (#160) 2026-02-20 14:12:14 -08:00
TerminalPanelView.swift Render unread notification ring above portal-hosted terminal view 2026-02-20 02:41:52 -08:00