[PR #1314] [MERGED] [FEAT] Slash templates #3646

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

📋 Pull Request Information

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

Base: masterHead: 1245-feat-slash-templates


📝 Commits (9)

  • 3d22577 WIP slash presets
  • ea2a70c Merge branch 'master' into 1245-feat-slash-templates
  • bb8b93c WIP slash command customization CRUD + validations complete
  • 0213045 backend slash command support
  • 72a318a Merge branch 'master' into 1245-feat-slash-templates
  • 0156585 fix permission setting on new slash commands
  • 4b79472 Add field updates for hooks,
  • cfe7473 reset migration
  • e8e9cb8 Merge branch 'master' into 1245-feat-slash-templates

📊 Changes

11 files changed (+722 additions, -11 deletions)

View changed files

frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx (+111 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/EditPresetModal.jsx (+148 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx (+127 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx (+3 -1)
📝 frontend/src/models/system.js (+68 -0)
📝 server/endpoints/system.js (+106 -0)
server/models/slashCommandsPresets.js (+105 -0)
server/prisma/migrations/20240510032311_init/migration.sql (+15 -0)
📝 server/prisma/schema.prisma (+15 -0)
📝 server/utils/chats/index.js (+20 -6)
📝 server/utils/chats/stream.js (+4 -4)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1245

What is in this change?

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/1314 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/8/2024 **Status:** ✅ Merged **Merged:** 5/10/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1245-feat-slash-templates` --- ### 📝 Commits (9) - [`3d22577`](https://github.com/Mintplex-Labs/anything-llm/commit/3d225778e0d9db15025ceef8568d8f0cb57c4232) WIP slash presets - [`ea2a70c`](https://github.com/Mintplex-Labs/anything-llm/commit/ea2a70ceda8e159c0273d2923c5b05d759432768) Merge branch 'master' into 1245-feat-slash-templates - [`bb8b93c`](https://github.com/Mintplex-Labs/anything-llm/commit/bb8b93c86c00b023fa50b5ca0ff7393349ce19d9) WIP slash command customization CRUD + validations complete - [`0213045`](https://github.com/Mintplex-Labs/anything-llm/commit/021304534f3810139cba474f272cc52af506068c) backend slash command support - [`72a318a`](https://github.com/Mintplex-Labs/anything-llm/commit/72a318aa481172ef2425b19478a6e02e9ca6c182) Merge branch 'master' into 1245-feat-slash-templates - [`0156585`](https://github.com/Mintplex-Labs/anything-llm/commit/0156585e539142f2a27867ce67c7a25ac2eee33e) fix permission setting on new slash commands - [`4b79472`](https://github.com/Mintplex-Labs/anything-llm/commit/4b79472260b604ef4defbeed75d9a3f67dfbed01) Add field updates for hooks, - [`cfe7473`](https://github.com/Mintplex-Labs/anything-llm/commit/cfe747370a1cb5ecbc7955a83401c22c5fd2e2d8) reset migration - [`e8e9cb8`](https://github.com/Mintplex-Labs/anything-llm/commit/e8e9cb8a9726503dfc8e70e0235e46f2c97b8bdb) Merge branch 'master' into 1245-feat-slash-templates ### 📊 Changes **11 files changed** (+722 additions, -11 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/AddPresetModal.jsx` (+111 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/EditPresetModal.jsx` (+148 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx` (+127 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx` (+3 -1) 📝 `frontend/src/models/system.js` (+68 -0) 📝 `server/endpoints/system.js` (+106 -0) ➕ `server/models/slashCommandsPresets.js` (+105 -0) ➕ `server/prisma/migrations/20240510032311_init/migration.sql` (+15 -0) 📝 `server/prisma/schema.prisma` (+15 -0) 📝 `server/utils/chats/index.js` (+20 -6) 📝 `server/utils/chats/stream.js` (+4 -4) </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 #1245 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> ### 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:12 -05:00
yindo closed this issue 2026-02-22 18:34:13 -05:00
yindo changed title from [PR #1314] [FEAT] Slash templates to [PR #1314] [MERGED] [FEAT] Slash templates 2026-06-05 15:14:30 -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#3646