Skip to content

Conversation

Ms3314
Copy link
Contributor

@Ms3314 Ms3314 commented Sep 27, 2025

before #2525
After

Screen.Recording.2025-09-27.at.3.17.49.PM.mov

mapped the enter key to confirm a new chat

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. frontend Pertains to the frontend. labels Sep 27, 2025
@cjayb
Copy link

cjayb commented Sep 27, 2025

Hi @Ms3314 ! Thanks for looking into this! I can confirm that your code fixes the "complaint" I have about the UX of the New Chat modal popup. It now defaults to Confirm when I hit enter.

However, I also notice that Tab-cycling now longer works. Hitting Tab once seems to highlght Cancel, but hitting Enter still confirms the modal and creates a new chat.

To be clear: I prefer your change over the current default! I feel it's much more intuitive that enter Confirms, given how prominent the button is. Hope you get a positive review here 👍

Copy link

This PR is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Oct 12, 2025
@hayescode hayescode enabled auto-merge October 14, 2025 23:16
@hayescode hayescode added this pull request to the merge queue Oct 14, 2025
Merged via the queue into Chainlit:main with commit 853509e Oct 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Pertains to the frontend. size:S This PR changes 10-29 lines, ignoring generated files. stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants