Skip to content

feat(plugins): add saved drafts support to plugins panel (#596) - #1038

Open
annukumar123 wants to merge 2 commits into
imDarshanGK:mainfrom
annukumar123:feature/plugins-panel-saved-drafts-596
Open

feat(plugins): add saved drafts support to plugins panel (#596)#1038
annukumar123 wants to merge 2 commits into
imDarshanGK:mainfrom
annukumar123:feature/plugins-panel-saved-drafts-596

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

Summary

Implements local draft input persistence in PluginsPanel for issue #596.

Key Changes

  • Draft Persistence: Auto-saves text typed into the plugin input textarea to localStorage under localmind_plugin_draft_${sessionId}.
  • Session Sync: Dynamically loads existing drafts when switching active session IDs.
  • Execution Cleanup: Clears the saved draft from localStorage upon successful plugin execution.
  • Test Coverage: Added unit test suite in PluginsPanel.test.jsx verifying draft restoration, real-time typing persistence, session switching, and post-execution cleanup.

Closes #596

@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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add saved drafts to plugins panel

1 participant