mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #13736] [MERGED] enh: Improve visibility of overflow / hidden tools when more than 3 are present #38903
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/13736
Author: @taylorwilsdon
Created: 5/9/2025
Status: ✅ Merged
Merged: 5/10/2025
Merged by: @tjbck
Base:
dev← Head:ideas/13702📝 Commits (3)
ccbc46fimplement visible scrollbar for tools overflow, add show all toggle628a10emake the collapse toggle more subtle & compact1299c11only show tools toggle if overflow present📊 Changes
1 file changed (+23 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+23 -2)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Discussions thread:
https://github.com/open-webui/open-webui/discussions/13702
src/lib/components/chat/MessageInput/InputMenu.svelte) to improve discoverability of tools when more than three are present. Previously, overflow was hidden without a consistently visible scrollbar, making it difficult for users to find additional tools without specific mouse/trackpad actions. This change introduces a persistent scrollbar for overflow and a toggle to show all tools.Added
scrollbar-thinclass) to the tools list container withinsrc/lib/components/chat/MessageInput/InputMenu.sveltewhen its content overflows.src/lib/components/chat/MessageInput/InputMenu.svelteto expand or collapse the list, allowing users to view all available tools or a compact list (max 3 visible by default).Changed
divinsrc/lib/components/chat/MessageInput/InputMenu.sveltenow dynamically applies or removes themax-h-28class based on theshowAllToolsstate variable, controlled by the new toggle button.src/lib/components/chat/MessageInput/InputMenu.svelteis styled withtext-gray-300 dark:text-gray-600to match the chat collapse.Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
https://github.com/open-webui/open-webui/discussions/13702
Screenshots or Videos
When more than 3 tools present:

Usage video:
https://github.com/user-attachments/assets/cae67e1f-3c3b-490e-ace2-15e1b8000194
Screenshot:
When 3 or fewer (retains original):

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.