mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
* feat: drag relevant notes and sources into editor to insert wikilinks Adds Obsidian-native drag-and-drop support to the Relevant Notes panel and Sources modal, using app.dragManager so dropping onto an editor automatically inserts [[wikilink]] without any custom drop handler. - New useNoteDrag hook wraps app.dragManager.dragLink/onDragStart - RelevantNotes: title link (expanded) and badge (collapsed) are draggable - SourcesModal: source links are draggable (vanilla JS class context) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: prevent drop zone overlay when dragging from relevant notes The chat container's "drop files here" overlay incorrectly appeared when dragging notes from the relevant notes pane. Mark internal drags with a custom data transfer type so the drop zone hook can skip them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| use-draggable.ts | ||
| use-raf-throttled-callback.ts | ||
| use-resizable.ts | ||
| use-streaming-chat-session.ts | ||
| useActiveFile.ts | ||
| useChatFileDrop.ts | ||
| useChatManager.ts | ||
| useChatScrolling.ts | ||
| useLatestVersion.ts | ||
| useNoteDrag.ts | ||
| useProjectContextStatus.ts | ||