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: Add clear chat feature #190

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

DhruvChadha22
Copy link
Contributor

Fixes #84

Description

This PR adds a new Clear Chat feature to Hairify which allows the user to delete their chat history.
A new backend api has been created which is "/chatapi/chat/delete" which handles the deletion of chat history from the data store and only authenticated user can use it.
A new button has been added to the frontend which opens a deletion dialog for the user to interact with.

Video

Hairify.-.Google.Chrome.2024-07-11.14-52-27.mp4

Please assign the relevant gssoc and level labels to this PR if you decide to merge it.

Copy link

vercel bot commented Jul 11, 2024

@DhruvChadha22 is attempting to deploy a commit to the Alogovengers' projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, @DhruvChadha22! 🎉 Thank you for your contribution and efforts to enhance Hairify.

We will review your changes soon and provide feedback.

Please ensure that you have followed the contributing guidelines for a smooth review process.

@afeefuddin afeefuddin merged commit ec9105f into algovengers:main Jul 13, 2024
1 of 2 checks passed
@afeefuddin
Copy link
Collaborator

Awesome work @DhruvChadha22!! I rarely see people putting real effort towards contributing to the project. Appreciated.

@DhruvChadha22
Copy link
Contributor Author

Thank you so much for your kind words @afeefuddin

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

Successfully merging this pull request may close these issues.

Add clear chat feature
2 participants