Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: webui add autofocus to chat-input in textarea #742

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

dtrckd
Copy link
Contributor

@dtrckd dtrckd commented Jul 24, 2024

This MR adds the autofocus attribute to the chat-input textarea in both the playground and arena HTML files. This enhancement ensures that the chat prompt is automatically focused when the page loads, improving the user experience by allowing users to start typing immediately.

@sigoden sigoden merged commit 54e7858 into sigoden:main Jul 25, 2024
@sigoden sigoden changed the title feat: Add autofocus to chat-input textarea in playground and arena html. feat: webui add autofocus to chat-input in textarea Jul 25, 2024
@sigoden
Copy link
Owner

sigoden commented Jul 25, 2024

Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants