mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-26 22:49:41 -05:00
[PR #13997] [CLOSED] feat: Improve workspace item count display with pluralization and export totals #23352
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/13997
Author: @silentoplayz
Created: 5/18/2025
Status: ❌ Closed
Base:
dev← Head:show-count📝 Commits (2)
096a678chore: show count98a44daUpdate Prompts.svelte📊 Changes
4 files changed (+23 additions, -9 deletions)
View changed files
📝
src/lib/components/workspace/Knowledge.svelte(+4 -1)📝
src/lib/components/workspace/Models.svelte(+6 -3)📝
src/lib/components/workspace/Prompts.svelte(+6 -3)📝
src/lib/components/workspace/Tools.svelte(+7 -2)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
Models,Knowledge,Prompts, andToolssections by adding internationalized pluralization (e.g., "1 Collection" vs. "2 Collections"). It also updates the "Export Models", "Export Prompts", and "Export Tools" buttons to display the total count of items available for export.Added
Knowledge.svelte,Models.svelte,Prompts.svelte, andTools.svelte.Models.svelte.Prompts.svelte.Tools.svelte.Changed
Knowledge.svelte,Models.svelte,Prompts.svelte, andTools.svelteto include translatable and pluralized labels (e.g., "Collection(s)", "Model(s)", "Prompt(s)", "Tool(s)").Additional Information
src/lib/components/workspace/Knowledge.sveltesrc/lib/components/workspace/Models.sveltesrc/lib/components/workspace/Tools.sveltesrc/lib/components/workspace/Prompts.svelteScreenshots or Videos
What is highlighted in orange is the changes made to the 4 pages mentioned above,

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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.