ayush585/edgex

Add “Clear Chat/Delete Chat” button in CareerCrack

Aperta

#3 aperta il 28 lug 2025

 (9 commenti) (0 reazioni) (1 assegnatario)JavaScript (35 fork)auto 404
GSSoC 25UIeasyenhancementgood first issue

Metriche repository

Star
 (14 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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!

Guida contributor