ayush585/edgex

Add “Clear Chat/Delete Chat” button in CareerCrack

開放

#3 建立於 2025年7月28日

 (9 則留言) (0 個反應) (1 位負責人)JavaScript (35 個分叉)auto 404
GSSoC 25UIeasyenhancementgood first issue

倉庫指標

星標
 (14 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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!

貢獻者指南