Skip to content

Conversation

nakul-py
Copy link
Contributor

@nakul-py nakul-py commented Sep 25, 2025

Adding support for drag and drop files while editing messages in chat input.

Screencast.From.2025-09-28.20-29-12.mp4

Copy link
Contributor

Binder 👈 Launch a Binder on branch nakul-py/jupyter-chat/attachment

@brichet brichet added the bug Something isn't working label Sep 26, 2025
@brichet
Copy link
Collaborator

brichet commented Sep 26, 2025

Thanks @nakul-py for working on this.

It seems that it does not handle several editions, neither dropping the file to the main input while editing.

output.webm

I wonder if there is a way to drop the file in any input and add the attachment to that input.

@nakul-py
Copy link
Contributor Author

It seems that it does not handle several editions, neither dropping the file to the main input while editing.

Gonna fixing it :). Thanks for Attention!

@nakul-py nakul-py marked this pull request as draft September 27, 2025 11:25
@nakul-py
Copy link
Contributor Author

nakul-py commented Sep 28, 2025

I wonder if there is a way to drop the file in any input and add the attachment to that input.

Yes! Each input now has a unique data-input-id, so dropping a file automatically adds the attachment to the correct main-input or edition.

@nakul-py nakul-py marked this pull request as ready for review September 29, 2025 03:51
@nakul-py
Copy link
Contributor Author

nakul-py commented Oct 1, 2025

@brichet Any suggestion to make code changes more robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Drag and drop on message edition
2 participants