[PR #3610] [CLOSED] feat: bulk document tagging #60150

Closed
opened 2026-05-06 02:46:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/3610
Author: @moblangeois
Created: 7/3/2024
Status: Closed

Base: devHead: feature/bulk-document-tagging


📝 Commits (2)

  • 6ef533a feat: Implement bulk (un)tag for selected documents
  • e3a2323 feat: Implement bulk (un)tag for selected documents

📊 Changes

3 files changed (+141 additions, -20 deletions)

View changed files

📝 backend/apps/webui/routers/documents.py (+39 -0)
📝 src/lib/apis/documents/index.ts (+33 -0)
📝 src/lib/components/workspace/Documents.svelte (+69 -20)

📄 Description

Pull Request Checklist

  • Target branch: This pull request targets the dev branch.
  • Description: Implemented bulk tagging and untagging functionality for selected documents.
  • Changelog: A changelog entry has been added at the bottom of the PR description.
  • Documentation: Relevant documentation has been updated to reflect the new functionality.
  • Dependencies: No new dependencies were added.
  • Testing: Tests have been written and run to validate the changes.
  • Code review: A self-review of the code has been performed, addressing coding standard issues and ensuring adherence to the project's coding standards.
  • Prefix: The pull request title has been prefixed with "feat: ".

Changelog Entry

Description

This pull request implements bulk tagging and untagging functionality for selected documents, addressing the feature request in issue #3110. This enhancement improves workflow efficiency by allowing users to manage tags for multiple documents simultaneously.

Added

  • New UI elements for selecting multiple documents in the document list.
  • Functionality to display common tags for selected documents.
  • Bulk tagging feature to add tags to multiple selected documents at once.
  • Bulk untagging feature to remove tags from multiple selected documents at once.

Changed

  • Updated the document list interface to support multi-selection.
  • Modified the tag management interface to work with multiple documents.

Fixed

  • Resolved inefficiency in tagging multiple documents individually.

Additional Information

  • This feature addresses the user story described in issue #3110, where a user needed to tag multiple documents.
  • The implementation follows the suggestions made in the issue, including the ability to add and delete tags for selected documents.
  • Care has been taken to ensure that adding a tag that already exists on a document does not create duplicates, and removing a non-existent tag does not cause errors.

Screenshots or Videos

image


🔄 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/3610 **Author:** [@moblangeois](https://github.com/moblangeois) **Created:** 7/3/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/bulk-document-tagging` --- ### 📝 Commits (2) - [`6ef533a`](https://github.com/open-webui/open-webui/commit/6ef533a5260bea930e8a0b81ab7de7470df609d2) feat: Implement bulk (un)tag for selected documents - [`e3a2323`](https://github.com/open-webui/open-webui/commit/e3a2323e557f089cdd4c58ab3a90e2aad8860a0e) feat: Implement bulk (un)tag for selected documents ### 📊 Changes **3 files changed** (+141 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/webui/routers/documents.py` (+39 -0) 📝 `src/lib/apis/documents/index.ts` (+33 -0) 📝 `src/lib/components/workspace/Documents.svelte` (+69 -20) </details> ### 📄 Description # Pull Request Checklist - [x] **Target branch:** This pull request targets the `dev` branch. - [x] **Description:** Implemented bulk tagging and untagging functionality for selected documents. - [x] **Changelog:** A changelog entry has been added at the bottom of the PR description. - [ ] **Documentation:** Relevant documentation has been updated to reflect the new functionality. - [x] **Dependencies:** No new dependencies were added. - [ ] **Testing:** Tests have been written and run to validate the changes. - [x] **Code review:** A self-review of the code has been performed, addressing coding standard issues and ensuring adherence to the project's coding standards. - [x] **Prefix:** The pull request title has been prefixed with "feat: ". # Changelog Entry ### Description This pull request implements bulk tagging and untagging functionality for selected documents, addressing the feature request in issue #3110. This enhancement improves workflow efficiency by allowing users to manage tags for multiple documents simultaneously. ### Added - New UI elements for selecting multiple documents in the document list. - Functionality to display common tags for selected documents. - Bulk tagging feature to add tags to multiple selected documents at once. - Bulk untagging feature to remove tags from multiple selected documents at once. ### Changed - Updated the document list interface to support multi-selection. - Modified the tag management interface to work with multiple documents. ### Fixed - Resolved inefficiency in tagging multiple documents individually. --- ### Additional Information - This feature addresses the user story described in issue #3110, where a user needed to tag multiple documents. - The implementation follows the suggestions made in the issue, including the ability to add and delete tags for selected documents. - Care has been taken to ensure that adding a tag that already exists on a document does not create duplicates, and removing a non-existent tag does not cause errors. ### Screenshots or Videos ![image](https://github.com/open-webui/open-webui/assets/101116631/7219da6f-da23-423a-b76c-3f4dd57952ed) --- <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-06 02:46:51 -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#60150