Skip to content

feat(plugins): add export and share contextual actions to plugin catalog (#605) - #1045

Merged
imDarshanGK merged 3 commits into
imDarshanGK:mainfrom
annukumar123:feature/plugin-catalog-export-share-605
Jul 30, 2026
Merged

feat(plugins): add export and share contextual actions to plugin catalog (#605)#1045
imDarshanGK merged 3 commits into
imDarshanGK:mainfrom
annukumar123:feature/plugin-catalog-export-share-605

Conversation

@annukumar123

Copy link
Copy Markdown
Contributor

Summary

Adds contextual export and share capabilities to individual plugin items in the PluginsPanel catalog component (#605).

Changes Made

  • Share Action (PluginsPanel.jsx):
    • Implemented share link generation targeting the specific plugin ID (?plugin=${plugin.id}).
    • Added clipboard fallback and temporary UI banner notification ("Copied share link for [Plugin]!").
  • Export Action (PluginsPanel.jsx):
    • Added JSON configuration file export trigger via DOM anchor download.
    • Generates downloadable ${plugin.id}-config.json containing plugin metadata.
  • Contextual Menu (PluginsPanel.jsx):
    • Integrated dropdown options menu () for each plugin chip.
    • Added event listeners for outside clicks and Escape key to close open menus cleanly.
  • Unit Testing (PluginsPanel.test.jsx):
    • Created standalone test suite validating clipboard copy functionality and anchor element download triggers.

Verification

  • Ran Vitest suite: npx vitest run src/components/PluginsPanel.test.jsx
  • Result: 4 passed (100%)

Fixes #605

@vercel

vercel Bot commented Jul 29, 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.

@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 9d4bbfa 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 export and share actions to plugin catalog

2 participants