CMD + R to reset the chat
S
Sepia Porpoise
Add a warning popup before the first use.
Tomas Rychlik
We were thinking about adding a button "Clean the chat" in the chat UI instead, would that be helpful? I'm not sure if people would expect CMD+R to cleanup the chat, especially people that already use Langtail for some time
S
Sepia Porpoise
well sure, maybe just add some other shortcut, here is what ChatGPT suggested:
```For a web app, choosing a keyboard shortcut for resetting functionality requires careful consideration to avoid conflicts with common browser and operating system shortcuts. Here are some suggestions that are less likely to conflict:
Alt + R: Alternative to the common refresh shortcut, can be repurposed for resetting within an app context.
Ctrl + Shift + R: Offers a variation that’s less commonly used by browsers (although it’s often used for hard refresh).
Ctrl + Alt + R: Combines keys that are less commonly used together for web browsing tasks.
Shift + Esc: A less commonly used combination that could be appropriated for app-specific actions like reset.
Ctrl + Backspace: Typically used for text deletion, but in a web app context, it could be repurposed for resetting forms or data views.```
I think shift+esc is good