mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[PR #23918] [MERGED] feat(ui): add citation source overflow badge #98476
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/23918
Author: @RomualdYT
Created: 4/21/2026
Status: ✅ Merged
Merged: 4/24/2026
Merged by: @tjbck
Base:
dev← Head:codex/ui-citation-source-pill📝 Commits (1)
e895785feat(ui): add citation source overflow badge📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
src/lib/components/chat/Messages/Citations.svelte(+8 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Description
This PR introduces a small UI improvement to the Sources button in
Citations.svelte.When more than 3 sources are available, the UI previously displayed only a limited stack of favicons, without indicating that additional sources existed.
This change adds a
+Nbadge to the Sources button when there are more sources than can be visually represented.As we discussed the first time (https://github.com/open-webui/open-webui/pull/23157) : First, The implementation was assisted by Claude Opus 4.6, then manually reviewed and has been tested on my side. I made this PR with Codex.
This improves:
The implementation is intentionally minimal and follows the feedback from prior discussions (see related PR).
Testing
Before
After
+Nbadge is shownSteps to reproduce
+Nbadge appears for remaining sourcesEdge cases tested
Changelog Entry
Description
Citations.sveltevia a+Nbadge on the Sources button.Added
+Nbadge when more than 3 sources are presentChanged
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Before

After

Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.