这是indexloc提供的服务,不要输入任何密码
Skip to content

Publish system prompts to hub #3976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

shatfield4
Copy link
Collaborator

@shatfield4 shatfield4 commented Jun 10, 2025

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

@shatfield4 shatfield4 self-assigned this Jun 10, 2025
@shatfield4 shatfield4 linked an issue Jun 10, 2025 that may be closed by this pull request
@shatfield4 shatfield4 marked this pull request as ready for review June 12, 2025 23:50
@timothycarambat timothycarambat added the PR:Ready-to-merge PR has been reviewed by core team and is ready to merge label Jun 13, 2025
@timothycarambat timothycarambat merged commit 96b532a into master Jun 16, 2025
1 check passed
@timothycarambat timothycarambat deleted the 3975-feat-publish-system-prompt-via-ws-settings branch June 16, 2025 16:59
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* implement ui for publish system prompt to hub

* rework ui + add backend to upload to hub

* add success modal view + publish menu item + translations

* normalize translations

* refactor PublishEntityModal + add hook
for hub auth

* normalize translations

* fix ui for success screen

* refactor, auth checks, UI/UX, and naming conventions to be more clear

* move components to CommunityHub folder + small ui tweak

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:Ready-to-merge PR has been reviewed by core team and is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Publish system prompt via WS settings
2 participants