feat: Allow submitting chat rename with Enter key #4235

Closed
opened 2025-11-11 15:49:18 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bannert1337 on GitHub (Mar 4, 2025).

Feature Request

Problem Description

Currently when renaming a chat, users must click outside the text input field to save changes. This is inconsistent with common UI patterns where pressing Enter submits form changes.

Proposed Solution

Implement Enter key submission for chat renaming:

  1. Add event listener for Enter key press (keycode 13) in chat title input field
  2. Trigger the same save function used for blur/click-away events
  3. Maintain existing validation and error handling

Use Cases

  1. Keyboard-focused users expecting efficient workflows
  2. Users accustomed to standard form submission patterns
  3. Accessibility improvements for screen reader/navigation users

Additional Context

Many web applications use Enter key submission for inline editing (e.g., Trello, GitHub issues). The current click-away behavior should remain as a secondary save method to maintain existing functionality.

  • Frontend chat list component
  • Chat title input handler
  • Keyboard event management system
Originally created by @bannert1337 on GitHub (Mar 4, 2025). # Feature Request ### Problem Description Currently when renaming a chat, users must click outside the text input field to save changes. This is inconsistent with common UI patterns where pressing Enter submits form changes. ### Proposed Solution Implement Enter key submission for chat renaming: 1. Add event listener for Enter key press (keycode 13) in chat title input field 2. Trigger the same save function used for blur/click-away events 3. Maintain existing validation and error handling ### Use Cases 1. Keyboard-focused users expecting efficient workflows 2. Users accustomed to standard form submission patterns 3. Accessibility improvements for screen reader/navigation users ### Additional Context Many web applications use Enter key submission for inline editing (e.g., Trello, GitHub issues). The current click-away behavior should remain as a secondary save method to maintain existing functionality. ### Related Components (if known) - Frontend chat list component - Chat title input handler - Keyboard event management system
Author
Owner

@bannert1337 commented on GitHub (Mar 25, 2025):

Implemented and merged with #11830

@bannert1337 commented on GitHub (Mar 25, 2025): Implemented and merged with #11830
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4235