[PR #5070] [MERGED] New prompt input ui/tools menu #5288

Closed
opened 2026-06-05 15:20:51 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5070
Author: @shatfield4
Created: 2/25/2026
Status: Merged
Merged: 3/9/2026
Merged by: @timothycarambat

Base: 4983-feat-new-chat-history-implementationHead: 5066-new-prompt-input-ui-action-items


📝 Commits (10+)

  • 87d395d wip new prompt input ui/tools menu
  • 6c90286 fix colors for prompt input
  • 0185801 redesign workspace llm selector, extract text size + model picker to components
  • d83fa14 Merge branch '4983-feat-new-chat-history-implementation' into 5066-new-prompt-input-ui-action-items
  • da7cdce refactor ToolsMenu component
  • 38d425e fix colors/refactor WorkspaceModelPicker
  • 0c37eca fix spacing in ws model picker, change order of tools menu tabs
  • e9468f2 fix slash commands showing /reset instead of /exit during active agent session
  • cea5582 refactor ToolsMenu to be much simpler
  • 7c25c59 cleanup, fix behavior of setupup provider in WorkspaceModelPicker

📊 Changes

55 files changed (+1735 additions, -1380 deletions)

View changed files

frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx (+0 -144)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AttachItem/index.jsx (+6 -6)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/ChatModelSelection/index.jsx (+60 -90)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/LLMSelector/index.jsx (+26 -14)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/SetupProvider/index.jsx (+18 -12)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/index.jsx (+49 -21)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx (+0 -246)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/endAgentSession.jsx (+0 -25)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/icons/SlashCommandIcon.jsx (+0 -28)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx (+0 -90)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/reset.jsx (+0 -29)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx (+6 -5)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx (+5 -7)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillRow/index.jsx (+31 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/index.jsx (+187 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashCommandRow/index.jsx (+100 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/AddPresetModal.jsx (+0 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/EditPresetModal.jsx (+0 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/index.jsx (+1 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/index.jsx (+234 -0)

...and 35 more files

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #5066
resolves #4984

Description

  • Adds new UI designs for prompt input component
  • Adds new UI designs for workspace model picker
  • Adds new UI for tools menu component that combines both slash commands and agent skills into 1 menu
  • Add keyboard navigation for tools menu component
  • Removes legacy code for old agent and slash command menus

Visuals (if applicable)

Screenshot 2026-03-06 at 11 10 14 AM Screenshot 2026-03-06 at 11 10 01 AM Screenshot 2026-03-06 at 11 09 18 AM Screenshot 2026-03-06 at 11 08 56 AM Screenshot 2026-03-06 at 11 08 39 AM Screenshot 2026-03-06 at 11 08 16 AM

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • 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/5070 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 3/9/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `4983-feat-new-chat-history-implementation` ← **Head:** `5066-new-prompt-input-ui-action-items` --- ### 📝 Commits (10+) - [`87d395d`](https://github.com/Mintplex-Labs/anything-llm/commit/87d395d66dcc224fdbb526b8481cca33f9073e60) wip new prompt input ui/tools menu - [`6c90286`](https://github.com/Mintplex-Labs/anything-llm/commit/6c90286bc6d29ef847f3f1dc15651bf3273e5935) fix colors for prompt input - [`0185801`](https://github.com/Mintplex-Labs/anything-llm/commit/018580133efa32a208926bbf084b19c600a8e78a) redesign workspace llm selector, extract text size + model picker to components - [`d83fa14`](https://github.com/Mintplex-Labs/anything-llm/commit/d83fa14baeecd45685f17957afd59716cb171a52) Merge branch '4983-feat-new-chat-history-implementation' into 5066-new-prompt-input-ui-action-items - [`da7cdce`](https://github.com/Mintplex-Labs/anything-llm/commit/da7cdce14c434bd6c923699a4da51e88736a4fc2) refactor ToolsMenu component - [`38d425e`](https://github.com/Mintplex-Labs/anything-llm/commit/38d425e063f1e0c6f61c57e0948b98be1f1af365) fix colors/refactor WorkspaceModelPicker - [`0c37eca`](https://github.com/Mintplex-Labs/anything-llm/commit/0c37eca9517dfa583c11ccdf416d598193f985cc) fix spacing in ws model picker, change order of tools menu tabs - [`e9468f2`](https://github.com/Mintplex-Labs/anything-llm/commit/e9468f20260b97796d747c1b0b44c64d0472f88a) fix slash commands showing /reset instead of /exit during active agent session - [`cea5582`](https://github.com/Mintplex-Labs/anything-llm/commit/cea55820b67033db01a38fb324dada92d8836cc6) refactor ToolsMenu to be much simpler - [`7c25c59`](https://github.com/Mintplex-Labs/anything-llm/commit/7c25c5963296cdd72e754989176490aafb6fc9e5) cleanup, fix behavior of setupup provider in WorkspaceModelPicker ### 📊 Changes **55 files changed** (+1735 additions, -1380 deletions) <details> <summary>View changed files</summary> ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx` (+0 -144) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AttachItem/index.jsx` (+6 -6) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/ChatModelSelection/index.jsx` (+60 -90) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/LLMSelector/index.jsx` (+26 -14) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/SetupProvider/index.jsx` (+18 -12) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/index.jsx` (+49 -21) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx` (+0 -246) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/endAgentSession.jsx` (+0 -25) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/icons/SlashCommandIcon.jsx` (+0 -28) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx` (+0 -90) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/reset.jsx` (+0 -29) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx` (+6 -5) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx` (+5 -7) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillRow/index.jsx` (+31 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/index.jsx` (+187 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashCommandRow/index.jsx` (+100 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/AddPresetModal.jsx` (+0 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/EditPresetModal.jsx` (+0 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/index.jsx` (+1 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/index.jsx` (+234 -0) _...and 35 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #5066 resolves #4984 ### Description <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> - Adds new UI designs for prompt input component - Adds new UI designs for workspace model picker - Adds new UI for tools menu component that combines both slash commands and agent skills into 1 menu - Add keyboard navigation for tools menu component - Removes legacy code for old agent and slash command menus ### Visuals (if applicable) <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> <img width="1727" height="923" alt="Screenshot 2026-03-06 at 11 10 14 AM" src="https://github.com/user-attachments/assets/765f2ae5-26c7-4dc3-9f79-53bbaebe0a01" /> <img width="1728" height="924" alt="Screenshot 2026-03-06 at 11 10 01 AM" src="https://github.com/user-attachments/assets/3ffabd12-3623-4b49-95bc-119f7b37773d" /> <img width="865" height="464" alt="Screenshot 2026-03-06 at 11 09 18 AM" src="https://github.com/user-attachments/assets/f64a8f77-44e4-4bbf-a2f3-b3edd8e89d24" /> <img width="1728" height="924" alt="Screenshot 2026-03-06 at 11 08 56 AM" src="https://github.com/user-attachments/assets/e4036d2f-557c-42ce-b2b6-75107f9042cf" /> <img width="1728" height="922" alt="Screenshot 2026-03-06 at 11 08 39 AM" src="https://github.com/user-attachments/assets/33635297-1d94-4714-b172-9c45268f213c" /> <img width="1728" height="922" alt="Screenshot 2026-03-06 at 11 08 16 AM" src="https://github.com/user-attachments/assets/cdf71f96-87ed-45a4-bb7e-41b3a5e4530d" /> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> - Translations PR https://github.com/Mintplex-Labs/anything-llm/pull/5130 ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated (if applicable) - [x] I have tested my code functionality - [x] 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-06-05 15:20:51 -04:00
yindo closed this issue 2026-06-05 15:20:52 -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#5288