-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow users to delete chat entries. #1210
Comments
Hi, I think that makes sense, if someone feels like tackling it feel free! Otherwise I might take a look when I have time |
hello @nsarrazin and @Prezombie can I work on this |
just built the project locally and went through the code do we have a icon library to use for the delete icon or should I use some random icon there? |
I think you can use the trashcan icon we use for deleting conversations |
I have added the basic things needed and created the action, my question is how do i send the |
You could wrap the button in a form with an input Feel free to open a draft PR and I can help review there 😄 |
wanted a bit of clarification on this, does |
Just the current branch, so if you're on 1/12 for example, afterwards there should only be 11 branches left. But it should delete any message that comes after the one you're deleting in the DB (since they can't be shown anyway, that's why you filter on the |
can you have a look at this once? @nsarrazin |
okay @krakenftw you can work on this |
* feat: delete branch huggingface#1210 * removed some files * lint * types & error handling * Improve query efficiency & add auth check * Icon styling * make it hover only --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
It's rather annoying how there's no way to delete single chat entries, only edit your own or regenerate the AI response. Especially considering loading an old chat involves fiddling with every node that was edited or regenerated to get to the current position.
The text was updated successfully, but these errors were encountered: