Skip to content

feat(ui): add saved drafts support to chat window (#552) - #1037

Merged
imDarshanGK merged 4 commits into
imDarshanGK:mainfrom
annukumar123:feature/chat-window-saved-drafts-552
Jul 30, 2026
Merged

feat(ui): add saved drafts support to chat window (#552)#1037
imDarshanGK merged 4 commits into
imDarshanGK:mainfrom
annukumar123:feature/chat-window-saved-drafts-552

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

Summary

Implements local draft persistence in ChatWindow for issue #552.

Changes

  • Saves input draft to localStorage keyed by sessionId as user types.
  • Automatically loads existing draft when switching sessions.
  • Clears localStorage draft upon message submission.
  • Added unit test suite covering initial render, typing persistence, cleanup on send, and session switching.

Closes #552

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@annukumar123 is attempting to deploy a commit to the Darshan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@annukumar123

Copy link
Copy Markdown
Contributor Author

@imDarshanGK
It is perfect . you can verify now

@imDarshanGK imDarshanGK added SSoC26 Part of Social Summer of Code 2026 Medium Feature or backend work with moderate scope labels Jul 30, 2026
@imDarshanGK
imDarshanGK merged commit 02cffb6 into imDarshanGK:main Jul 30, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Medium Feature or backend work with moderate scope SSoC26 Part of Social Summer of Code 2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add saved drafts to chat window

2 participants