[GH-ISSUE #10879] Add a clear button to the sidebar chat search text input #54729

Closed
opened 2026-05-05 16:36:40 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @bannert1337 on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10879

Problem Statement:
Currently, there is no quick way to clear the text input field in the sidebar chat search. Users have to manually delete the text, which can be cumbersome, especially when dealing with long input strings or frequently performing new searches.

Proposed Solution:
Add a "clear" button (e.g., a small "X") on the right end of the sidebar chat search text input field. Clicking this button would instantly clear the input field, improving usability and saving time for users.

Use Cases:

  • Quickly resetting the search field to perform a new search without manually deleting the previous input.
  • Enhanced user experience for users who frequently navigate and search through sidebar chats.

Additional Notes:
The button should:

  • Only appear when there's text in the input field.
  • Be intuitively placed and styled for visibility without obstructing the field's main functionality.

Mockup or Example:
The design could mimic similar UI patterns seen in browsers or apps, like the "X" to clear text in search bars.

Originally created by @bannert1337 on GitHub (Feb 27, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10879 **Problem Statement:** Currently, there is no quick way to clear the text input field in the sidebar chat search. Users have to manually delete the text, which can be cumbersome, especially when dealing with long input strings or frequently performing new searches. **Proposed Solution:** Add a "clear" button (e.g., a small "X") on the right end of the sidebar chat search text input field. Clicking this button would instantly clear the input field, improving usability and saving time for users. **Use Cases:** - Quickly resetting the search field to perform a new search without manually deleting the previous input. - Enhanced user experience for users who frequently navigate and search through sidebar chats. **Additional Notes:** The button should: - Only appear when there's text in the input field. - Be intuitively placed and styled for visibility without obstructing the field's main functionality. **Mockup or Example:** The design could mimic similar UI patterns seen in browsers or apps, like the "X" to clear text in search bars.
Author
Owner

@sky88822 commented on GitHub (Feb 27, 2025):

Will have a look!

<!-- gh-comment-id:2687810924 --> @sky88822 commented on GitHub (Feb 27, 2025): Will have a look!
Author
Owner

@Classic298 commented on GitHub (Mar 19, 2025):

i like it

<!-- gh-comment-id:2736187335 --> @Classic298 commented on GitHub (Mar 19, 2025): i like it
Author
Owner

@tjbck commented on GitHub (Mar 21, 2025):

Implemented.

<!-- gh-comment-id:2741968477 --> @tjbck commented on GitHub (Mar 21, 2025): Implemented.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#54729