Skip to content

Conversation

@Simplifine-gamedev
Copy link
Owner

This PR implements drag-and-drop functionality for attachments into the AI chatbox, addressing part of issue ORC-51.

The existing drag-and-drop handling logic (can_drop_data() and drop_data()) was already robust. However, the UI controls where users would naturally drop files (the input field and its surrounding panel) were not configured to receive drag events.

This change enables set_drag_forwarding on the bottom_panel (which contains the attachment area and input field) and directly on the input_field itself. This ensures that files dragged from the OS, Godot's FileSystem dock, or scene nodes can now be correctly dropped into the chat input area to be attached.

This significantly improves the attachment flow and user experience as described in ORC-51.


Linear Issue: ORC-51

Open in Cursor Open in Web

Co-authored-by: ege <ege@simplifine.com>
@cursor
Copy link

cursor bot commented Oct 15, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants