[PR #2579] [MERGED] feat: toggleable community sharing #92074

Closed
opened 2026-05-15 17:38:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/2579
Author: @cheahjs
Created: 5/26/2024
Status: Merged
Merged: 5/26/2024
Merged by: @tjbck

Base: devHead: feat/disable-community-sharing


📝 Commits (6)

  • 6c5f5fe refac: move ui flags into feature flags
  • 1235714 feat: add ENABLE_COMMUNITY_SHARING
  • ccff221 refac: run admin general settings fetches in parallel
  • e06417f feat: add admin ui for toggling community sharing
  • 78dedb3 Merge branch 'dev' into feat/disable-community-sharing
  • 0c04b18 refac

📊 Changes

10 files changed (+184 additions, -36 deletions)

View changed files

📝 backend/apps/webui/main.py (+2 -0)
📝 backend/config.py (+5 -0)
📝 backend/main.py (+21 -5)
📝 src/lib/apis/index.ts (+55 -1)
📝 src/lib/components/admin/Settings/Database.svelte (+1 -1)
📝 src/lib/components/admin/Settings/General.svelte (+69 -5)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+1 -1)
📝 src/lib/components/chat/ShareChatModal.svelte (+13 -11)
📝 src/lib/stores/index.ts (+14 -9)
📝 src/routes/auth/+page.svelte (+3 -3)

📄 Description

Pull Request Checklist

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Label: To cleary categorize this pull request, assign a relevant label to the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

Adds a ENABLE_COMMUNITY_SHARING env var that controls whether or not the share to community button is visible. This is configurable via the admin panel as well.

Added

  • Configure Community Sharing - Admins can now choose to enable or disable sharing of chats to the Open WebUI Community.

🔄 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/open-webui/open-webui/pull/2579 **Author:** [@cheahjs](https://github.com/cheahjs) **Created:** 5/26/2024 **Status:** ✅ Merged **Merged:** 5/26/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/disable-community-sharing` --- ### 📝 Commits (6) - [`6c5f5fe`](https://github.com/open-webui/open-webui/commit/6c5f5fe36841a82e4a2a1aed95e0d28736acf288) refac: move ui flags into feature flags - [`1235714`](https://github.com/open-webui/open-webui/commit/12357149147aff4d5f48585310ffab4534fcea6a) feat: add ENABLE_COMMUNITY_SHARING - [`ccff221`](https://github.com/open-webui/open-webui/commit/ccff221921df471dba61555671362fdbf187d809) refac: run admin general settings fetches in parallel - [`e06417f`](https://github.com/open-webui/open-webui/commit/e06417f0aad94ad09e0676e8e09041adbbdb463c) feat: add admin ui for toggling community sharing - [`78dedb3`](https://github.com/open-webui/open-webui/commit/78dedb3389325f85276c2faceb0e32c79398afce) Merge branch 'dev' into feat/disable-community-sharing - [`0c04b18`](https://github.com/open-webui/open-webui/commit/0c04b18f366118c4a132261608aef21e7aafcb2f) refac ### 📊 Changes **10 files changed** (+184 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/webui/main.py` (+2 -0) 📝 `backend/config.py` (+5 -0) 📝 `backend/main.py` (+21 -5) 📝 `src/lib/apis/index.ts` (+55 -1) 📝 `src/lib/components/admin/Settings/Database.svelte` (+1 -1) 📝 `src/lib/components/admin/Settings/General.svelte` (+69 -5) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+1 -1) 📝 `src/lib/components/chat/ShareChatModal.svelte` (+13 -11) 📝 `src/lib/stores/index.ts` (+14 -9) 📝 `src/routes/auth/+page.svelte` (+3 -3) </details> ### 📄 Description # Pull Request Checklist **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [x] **Testing:** Have you written and run sufficient tests for validating the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Label:** To cleary categorize this pull request, assign a relevant label to the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description Adds a `ENABLE_COMMUNITY_SHARING` env var that controls whether or not the share to community button is visible. This is configurable via the admin panel as well. ### Added - Configure Community Sharing - Admins can now choose to enable or disable sharing of chats to the Open WebUI Community. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-15 17:38:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#92074