Skip to content

Enhancement: Add a "Clear Conversation" button to the AI chat widgetΒ #1918

Description

@karansankrit01

Which area does this feature belong to?

Frontend β€” UI / UX (apps/web)

Estimated Difficulty

🟒 Good First Issue β€” Beginner friendly

What problem does this solve?

The AI chat widget currently retains the entire conversation for the duration of the session, but there is no option to clear the existing chat history and start a new conversation.

Adding a "Clear Conversation" button would improve usability by allowing users to quickly reset the chat without refreshing the page or reopening the widget.

Proposed Solution

Add a Clear Conversation action in the chat widget UI.
Reset the local conversation state and display the default greeting message.
Ensure the feature works consistently across desktop and mobile devices.

Acceptance Criteria

[ X] A Clear Conversation button is visible within the AI chat widget.
[ X] Clicking the button removes all previous chat messages from the current session.
[ X] The chat resets to its default welcome message or initial state after clearing.
[ X] The clear action completes without requiring a page refresh.
[ X] The feature works correctly on both desktop and mobile devices.
[ X] No UI layout or chat functionality is affected after clearing the conversation.

GSSoC 2026

  • I am a GSSoC 2026 participant and would like to implement this feature.
  • This feature uses Cloudinary (eligible for GSSoC Cloudinary bounty πŸ†).

Code of Conduct

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
πŸŽ‰ Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions