[PR #21044] [MERGED] feat(files): add shift+click quick delete to File Manager #64755

Closed
opened 2026-05-06 10:25:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/21044
Author: @Classic298
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @tjbck

Base: devHead: shift-delete-file-management


📝 Commits (2)

  • 7af0c85 feat(files): add shift+click quick delete to File Manager
  • 9a81dfc Update FilesModal.svelte

📊 Changes

1 file changed (+41 additions, -6 deletions)

View changed files

📝 src/lib/components/layout/FilesModal.svelte (+41 -6)

📄 Description

Add shift+click functionality to FilesModal for rapid file deletion without confirmation dialogs.
Changes:

  • Track Shift key state via keyboard event listeners
  • When Shift is held, delete button bypasses confirmation and deletes immediately
  • Visual feedback: delete icon turns red when Shift is held
  • Optimized delete to remove file from local array instead of re-fetching entire list, enabling rapid successive deletions without UI flicker
    This matches the quick delete pattern used in other workspace components like Tools, Prompts, and Models.

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 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/21044 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `shift-delete-file-management` --- ### 📝 Commits (2) - [`7af0c85`](https://github.com/open-webui/open-webui/commit/7af0c85c8df841168d547a53bc2d8f49ed6fdcb9) feat(files): add shift+click quick delete to File Manager - [`9a81dfc`](https://github.com/open-webui/open-webui/commit/9a81dfc3bcc353f96a4b5ca141cd25fc9f4c3313) Update FilesModal.svelte ### 📊 Changes **1 file changed** (+41 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/layout/FilesModal.svelte` (+41 -6) </details> ### 📄 Description Add shift+click functionality to FilesModal for rapid file deletion without confirmation dialogs. Changes: - Track Shift key state via keyboard event listeners - When Shift is held, delete button bypasses confirmation and deletes immediately - Visual feedback: delete icon turns red when Shift is held - Optimized delete to remove file from local array instead of re-fetching entire list, enabling rapid successive deletions without UI flicker This matches the quick delete pattern used in other workspace components like Tools, Prompts, and Models. ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <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 10:25:16 -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#64755