Skip to content

feat: add persistent AI Coach conversation history - #75

Open
rudraabhishek-collab wants to merge 1 commit into
pari-28:mainfrom
rudraabhishek-collab:feat/ai-coach-conversation-history
Open

rudraabhishek-collab wants to merge 1 commit into
pari-28:mainfrom
rudraabhishek-collab:feat/ai-coach-conversation-history

Conversation

@rudraabhishek-collab

Copy link
Copy Markdown

Summary

Implemented persistent conversation history for the AI Coach feature.

Users can now revisit their previous AI Coach conversations without losing them after refreshing the page.

Changes Made

  • Added localStorage-based persistence for AI Coach conversations.
  • Stored previous prompts, responses, and timestamps.
  • Added a collapsible conversation history section.
  • Added a "Clear History" option to remove all saved conversations.
  • Added safe handling for empty or corrupted localStorage data.
  • Improved accessibility with proper ARIA attributes for the history toggle.
  • Preserved the existing AI Coach workflow and UI design.

Acceptance Criteria

✅ Previous prompts and responses are stored
✅ Conversation history is displayed in the AI Coach interface
✅ History persists after page refresh
✅ Clear History removes all stored conversations

Testing Done

  • ✅ npm run lint
  • ✅ npm run build
  • ✅ npm test

Files Changed

  • src/components/AiCoach.tsx

Close

Close #36

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

@rudraabhishek-collab is attempting to deploy a commit to the Pari's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the frontend Frontend development label Aug 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Frontend development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Save AI Coach Conversation History

1 participant