[PR #3976] [MERGED] Publish system prompts to hub #4485

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3976
Author: @shatfield4
Created: 6/9/2025
Status: Merged
Merged: 6/16/2025
Merged by: @timothycarambat

Base: masterHead: 3975-feat-publish-system-prompt-via-ws-settings


📝 Commits (10+)

  • 6ecd448 implement ui for publish system prompt to hub
  • 17b4b72 rework ui + add backend to upload to hub
  • 2f905eb add success modal view + publish menu item + translations
  • 74828a6 normalize translations
  • c55d8d2 refactor PublishEntityModal + add hook
  • 2014514 normalize translations
  • 6ef96e8 Merge branch 'master' into 3975-feat-publish-system-prompt-via-ws-settings
  • 929d70b fix ui for success screen
  • a414e0d Merge branch 'master' into 3975-feat-publish-system-prompt-via-ws-settings
  • cfe3e98 refactor, auth checks, UI/UX, and naming conventions to be more clear

📊 Changes

32 files changed (+1090 additions, -18 deletions)

View changed files

frontend/src/components/CommunityHub/PublishEntityModal/SystemPrompts/index.jsx (+242 -0)
frontend/src/components/CommunityHub/PublishEntityModal/index.jsx (+43 -0)
frontend/src/components/CommunityHub/UnauthenticatedHubModal/index.jsx (+40 -0)
frontend/src/hooks/useCommunityHubAuth.js (+30 -0)
📝 frontend/src/index.css (+2 -0)
📝 frontend/src/locales/ar/common.js (+29 -0)
📝 frontend/src/locales/da/common.js (+29 -0)
📝 frontend/src/locales/de/common.js (+29 -0)
📝 frontend/src/locales/en/common.js (+34 -0)
📝 frontend/src/locales/es/common.js (+29 -0)
📝 frontend/src/locales/fa/common.js (+29 -0)
📝 frontend/src/locales/fr/common.js (+29 -0)
📝 frontend/src/locales/he/common.js (+29 -0)
📝 frontend/src/locales/it/common.js (+29 -0)
📝 frontend/src/locales/ja/common.js (+29 -0)
📝 frontend/src/locales/ko/common.js (+29 -0)
📝 frontend/src/locales/lv/common.js (+29 -0)
📝 frontend/src/locales/nl/common.js (+29 -0)
📝 frontend/src/locales/pt_BR/common.js (+29 -0)
📝 frontend/src/locales/ru/common.js (+29 -0)

...and 12 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3975

What is in this change?

  • Allows users to upload system prompts to the community hub
  • Checks if user is authenticated via useCommunityHubAuth hook and funnels users to connect hub account
  • Reusable modal for publishing other entity types in the future

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/3976 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/9/2025 **Status:** ✅ Merged **Merged:** 6/16/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3975-feat-publish-system-prompt-via-ws-settings` --- ### 📝 Commits (10+) - [`6ecd448`](https://github.com/Mintplex-Labs/anything-llm/commit/6ecd4483f8f306cd341f8a1da4b96793ab0a0943) implement ui for publish system prompt to hub - [`17b4b72`](https://github.com/Mintplex-Labs/anything-llm/commit/17b4b7260d5ca86bd082bb51683ddd45ec457d98) rework ui + add backend to upload to hub - [`2f905eb`](https://github.com/Mintplex-Labs/anything-llm/commit/2f905ebe03316e0c30ea11a4190d536a960c06da) add success modal view + publish menu item + translations - [`74828a6`](https://github.com/Mintplex-Labs/anything-llm/commit/74828a67c08fd713ab95bd8034c1449e68e662ea) normalize translations - [`c55d8d2`](https://github.com/Mintplex-Labs/anything-llm/commit/c55d8d21c396a6f57b47b0c860db3f8ddd175917) refactor PublishEntityModal + add hook - [`2014514`](https://github.com/Mintplex-Labs/anything-llm/commit/201451413d46ba840de2d9d0f16c82c363cc615d) normalize translations - [`6ef96e8`](https://github.com/Mintplex-Labs/anything-llm/commit/6ef96e80a8a9bb851426c8205d1900221ca9b961) Merge branch 'master' into 3975-feat-publish-system-prompt-via-ws-settings - [`929d70b`](https://github.com/Mintplex-Labs/anything-llm/commit/929d70b4aa46ecca607a9fea8c74bc224ea173e9) fix ui for success screen - [`a414e0d`](https://github.com/Mintplex-Labs/anything-llm/commit/a414e0ddc3324d3f931994f8d838f39352c32832) Merge branch 'master' into 3975-feat-publish-system-prompt-via-ws-settings - [`cfe3e98`](https://github.com/Mintplex-Labs/anything-llm/commit/cfe3e986d419bb396a073ca12a61fcc88cb75498) refactor, auth checks, UI/UX, and naming conventions to be more clear ### 📊 Changes **32 files changed** (+1090 additions, -18 deletions) <details> <summary>View changed files</summary> ➕ `frontend/src/components/CommunityHub/PublishEntityModal/SystemPrompts/index.jsx` (+242 -0) ➕ `frontend/src/components/CommunityHub/PublishEntityModal/index.jsx` (+43 -0) ➕ `frontend/src/components/CommunityHub/UnauthenticatedHubModal/index.jsx` (+40 -0) ➕ `frontend/src/hooks/useCommunityHubAuth.js` (+30 -0) 📝 `frontend/src/index.css` (+2 -0) 📝 `frontend/src/locales/ar/common.js` (+29 -0) 📝 `frontend/src/locales/da/common.js` (+29 -0) 📝 `frontend/src/locales/de/common.js` (+29 -0) 📝 `frontend/src/locales/en/common.js` (+34 -0) 📝 `frontend/src/locales/es/common.js` (+29 -0) 📝 `frontend/src/locales/fa/common.js` (+29 -0) 📝 `frontend/src/locales/fr/common.js` (+29 -0) 📝 `frontend/src/locales/he/common.js` (+29 -0) 📝 `frontend/src/locales/it/common.js` (+29 -0) 📝 `frontend/src/locales/ja/common.js` (+29 -0) 📝 `frontend/src/locales/ko/common.js` (+29 -0) 📝 `frontend/src/locales/lv/common.js` (+29 -0) 📝 `frontend/src/locales/nl/common.js` (+29 -0) 📝 `frontend/src/locales/pt_BR/common.js` (+29 -0) 📝 `frontend/src/locales/ru/common.js` (+29 -0) _...and 12 more files_ </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 #3975 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Allows users to upload system prompts to the community hub - Checks if user is authenticated via useCommunityHubAuth hook and funnels users to connect hub account - Reusable modal for publishing other entity types in the future ### 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. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [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-02-22 18:35:55 -05:00
yindo closed this issue 2026-02-22 18:35:55 -05:00
yindo changed title from [PR #3976] Publish system prompts to hub to [PR #3976] [MERGED] Publish system prompts to hub 2026-06-05 15:18:47 -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#4485