Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drag-and-drop to chat window #1995

Merged
merged 4 commits into from
Jul 30, 2024
Merged

Add drag-and-drop to chat window #1995

merged 4 commits into from
Jul 30, 2024

Conversation

timothycarambat
Copy link
Member

@timothycarambat timothycarambat commented Jul 29, 2024

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #xxx

What is in this change?

Adds native DnD for file uploading and embedding in one action by drag-n-drop items into the chat window.

  • default users cannot do this so they dont edit the workspace for others.

Additional Information

  • Refactors the chat .streamChat to not need a conditional and is instead handled automatically.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat merged commit d877d2b into master Jul 30, 2024
@timothycarambat timothycarambat deleted the dnd-chat-window branch July 30, 2024 17:26
DipFlip pushed a commit to DipFlip/anything-llm that referenced this pull request Aug 4, 2024
* Add drag-and-drop to chat window

* add uploader icon and remove empty space text when attachments are present

* color theme

* color update
TuanBC pushed a commit to TuanBC/anything-llm that referenced this pull request Aug 26, 2024
* Add drag-and-drop to chat window

* add uploader icon and remove empty space text when attachments are present

* color theme

* color update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant