ayush585/edgex

Add “Clear Chat/Delete Chat” button in CareerCrack

オープン

#3 opened on 2025/07/28

 (9 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (35 件のフォーク)auto 404
GSSoC 25UIeasyenhancementgood first issue

Repository metrics

Stars
 (14 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド