[PR #1392] [MERGED] [FEAT] Edit message button #3664

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1392
Author: @shatfield4
Created: 5/13/2024
Status: Merged
Merged: 6/6/2024
Merged by: @timothycarambat

Base: masterHead: edit-message-button


📝 Commits (8)

  • c628df0 WIP edit message feature
  • 529e629 WIP edit message
  • d5f22be WIP editing messages feature
  • 52f56f9 Merge with master
  • 956eecc Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into edit-message-button
  • 9bf6b97 Fix PFPs
  • 91b087b unset PFP changes for later PR
  • dddea11 Merge branch 'master' into edit-message-button

📊 Changes

19 files changed (+512 additions, -62 deletions)

View changed files

📝 frontend/package.json (+1 -1)
📝 frontend/src/components/ChatBubble/index.jsx (+2 -3)
📝 frontend/src/components/DefaultChat/index.jsx (+10 -13)
📝 frontend/src/components/UserIcon/index.jsx (+1 -1)
frontend/src/components/UserIcon/workspace.png (+0 -0)
frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/EditMessage/index.jsx (+126 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx (+8 -5)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+59 -27)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx (+2 -2)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx (+45 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/index.jsx (+1 -0)
📝 frontend/src/components/WorkspaceChat/index.jsx (+1 -0)
📝 frontend/src/models/workspace.js (+51 -2)
📝 frontend/src/models/workspaceThread.js (+45 -0)
📝 frontend/src/utils/chat/index.js (+3 -6)
📝 server/endpoints/workspaceThreads.js (+77 -1)
📝 server/endpoints/workspaces.js (+61 -1)
📝 server/models/workspaceChats.js (+18 -0)
📝 server/utils/helpers/chat/responses.js (+1 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1357

What is in this change?

  • Allow user to edit previously sent messages and regenerate the response using the new message
  • UI implemented
  • Backend functions complete, WIP connecting to frontend
  • Add default workspace icon

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/1392 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/13/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `edit-message-button` --- ### 📝 Commits (8) - [`c628df0`](https://github.com/Mintplex-Labs/anything-llm/commit/c628df04387177dfe0b2417282e0a09dea291eb8) WIP edit message feature - [`529e629`](https://github.com/Mintplex-Labs/anything-llm/commit/529e629eda7c2868b3269d008ab4065282803504) WIP edit message - [`d5f22be`](https://github.com/Mintplex-Labs/anything-llm/commit/d5f22be0863eb0e8e3877e12939fbbf5c50a793c) WIP editing messages feature - [`52f56f9`](https://github.com/Mintplex-Labs/anything-llm/commit/52f56f9351e988d9e7974e3b9de28336930c8538) Merge with master - [`956eecc`](https://github.com/Mintplex-Labs/anything-llm/commit/956eeccfce76d318b924361696cd5cec30378d1b) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into edit-message-button - [`9bf6b97`](https://github.com/Mintplex-Labs/anything-llm/commit/9bf6b974a0da2b24d1b4a96c1dc2a6f35c8f97c3) Fix PFPs - [`91b087b`](https://github.com/Mintplex-Labs/anything-llm/commit/91b087b5b2474341c26ab885ddc1bf02a952fab5) unset PFP changes for later PR - [`dddea11`](https://github.com/Mintplex-Labs/anything-llm/commit/dddea116b39f5ff2cca83f1b946a77056912aa7f) Merge branch 'master' into edit-message-button ### 📊 Changes **19 files changed** (+512 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `frontend/package.json` (+1 -1) 📝 `frontend/src/components/ChatBubble/index.jsx` (+2 -3) 📝 `frontend/src/components/DefaultChat/index.jsx` (+10 -13) 📝 `frontend/src/components/UserIcon/index.jsx` (+1 -1) ➕ `frontend/src/components/UserIcon/workspace.png` (+0 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/EditMessage/index.jsx` (+126 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx` (+8 -5) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+59 -27) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx` (+2 -2) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx` (+45 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/index.jsx` (+1 -0) 📝 `frontend/src/components/WorkspaceChat/index.jsx` (+1 -0) 📝 `frontend/src/models/workspace.js` (+51 -2) 📝 `frontend/src/models/workspaceThread.js` (+45 -0) 📝 `frontend/src/utils/chat/index.js` (+3 -6) 📝 `server/endpoints/workspaceThreads.js` (+77 -1) 📝 `server/endpoints/workspaces.js` (+61 -1) 📝 `server/models/workspaceChats.js` (+18 -0) 📝 `server/utils/helpers/chat/responses.js` (+1 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1357 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Allow user to edit previously sent messages and regenerate the response using the new message - UI implemented - Backend functions complete, WIP connecting to frontend - ~Add default workspace icon~ ### 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:34:15 -05:00
yindo closed this issue 2026-02-22 18:34:15 -05:00
yindo changed title from [PR #1392] [FEAT] Edit message button to [PR #1392] [MERGED] [FEAT] Edit message button 2026-06-05 15:14:35 -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#3664