[PR #3843] [MERGED] Fix File attachments are not cleared on second send click when use @a… #4431

Closed
opened 2026-02-22 18:35:49 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3843
Author: @yuanbin-dev
Created: 5/19/2025
Status: Merged
Merged: 5/27/2025
Merged by: @timothycarambat

Base: masterHead: feature-branch


📝 Commits (2)

  • 66041cb Fix File attachments are not cleared on second send click when use @agent
  • bae9db7 Merge branch 'master' into feature-branch

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/index.jsx (+1 -0)

📄 Description

…gent

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3842

What is in this change?

1.frontend/src/components/WorkspaceChat/ChatContainer/index.jsx
2. add code: window.dispatchEvent(new CustomEvent(CLEAR_ATTACHMENTS_EVENT));

Additional Information

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3843 **Author:** [@yuanbin-dev](https://github.com/yuanbin-dev) **Created:** 5/19/2025 **Status:** ✅ Merged **Merged:** 5/27/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feature-branch` --- ### 📝 Commits (2) - [`66041cb`](https://github.com/Mintplex-Labs/anything-llm/commit/66041cbaa8f68285dd47829154a840b7ec0e9c1b) Fix File attachments are not cleared on second send click when use @agent - [`bae9db7`](https://github.com/Mintplex-Labs/anything-llm/commit/bae9db7e354c6d133b2439e901430af945ec403e) Merge branch 'master' into feature-branch ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/index.jsx` (+1 -0) </details> ### 📄 Description …gent ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3842 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> 1.frontend/src/components/WorkspaceChat/ChatContainer/index.jsx 2. add code: window.dispatchEvent(new CustomEvent(CLEAR_ATTACHMENTS_EVENT)); ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:49 -05:00
yindo closed this issue 2026-02-22 18:35:49 -05:00
yindo changed title from [PR #3843] Fix File attachments are not cleared on second send click when use @a… to [PR #3843] [MERGED] Fix File attachments are not cleared on second send click when use @a… 2026-06-05 15:18:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4431