lm-sys / lm-sys/FastChat

UI/UX improvement: Add confirmation for "Clear History" button

Open Beginner friendly
#3,881 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi LMSYS Team!

I really love using your platform, but there is one major issue with the UI layout. The "Clear History" button is placed in a way that makes it extremely easy to click by accident. I have accidentally wiped my entire chat history multiple times in a single day just by misclicking while scrolling.

Could you please consider adding one of the following safety measures:
1. A confirmation pop-up (e.g., "Are you sure you want to clear your history? Yes/Cancel").
2. Moving the "Clear History" button further away from the main chat controls or hiding it inside a sub-menu.

This small tweak would be a massive lifesaver for users with clumsy fingers!

Thank you for your amazing work!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file, test, or UI entry point, so start by locating the Clear History control in the chat interface and checking its current interaction. Done means accidental clicks no longer erase chat history, either through a confirmation step or a safer control placement, with the chosen behavior verified in the interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.