ayush585 / ayush585/edgex

Add “Clear Chat/Delete Chat” button in CareerCrack

Open
#3 9 comments 0 reactions 1 assignee Claimed by @Meghana-2124 View on GitHub
easy enhancement good first issue GSSoC 25 UI
Dominant language
JavaScript
Stars
13
Forks
36
PR merge metrics
No merged PRs in 30d

Description

MoodMirror and Careercrack has a “New Chat” button. Add a similar "Clear Chat" or “New Session” button in CareerCrack UI to reset chat history and selected chat ID.

Clears the current conversation from the screen

Resets any selected chatId or memory state (if applicable)

Prepares the UI for a new user query

🛠 Tech Involved:
React (JSX)

useState / useEffect

Firebase Firestore (if chat is being reset in DB)

Tailwind CSS (for button styling)

✅ Tasks:
Create a new button component (optional: reuse MoodMirror’s button)

Place it in a clean part of the CareerCrack UI

On click, reset the selected chat & clear messages from screen

(Optional) Reset Firestore state if needed

💡 Bonus Points:
You can style it nicely with a subtle animation or icon (Lucide-react has a “refresh-ccw” icon that could work well!)

🏁 Difficulty: easy
You’ll earn 2–3 GSSoC points for completing this!

🙌 Need help?
Dm me in Linkedin! or Discord!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.