Merged
Conversation
Adds a Workflow Marketplace tool window panel (anchored right) that fetches the public plugin index from the workflow-registry GitHub Pages endpoint and displays name, version, tier, and description for all non-private plugins in a scrollable JBTable. Uses Gson and HttpRequests already present in the project. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add structured error logging via Logger for HTTP errors, malformed JSON, and general network failures instead of silently swallowing all exceptions - Add status label so users see loading/error/count feedback - Guard `private` field against non-Boolean types (e.g. string "true") since Gson can vary when the registry schema evolves - Use ReadOnlyTableModel to prevent accidental in-place cell editing - Use toString() on all map values so Double/Long from Gson don't appear with type-cast noise in the table - Add doNotActivateOnStart="true" in plugin.xml so the marketplace tool window doesn't fire a network request on every project open Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a new “Workflow Marketplace” tool window to the JetBrains plugin that fetches and displays a public plugin index from the workflow registry.
Changes:
- Register a new right-side tool window (“Workflow Marketplace”) in
plugin.xml. - Implement a marketplace tool window panel that fetches registry JSON and renders it in a
JBTable. - Filter out registry entries marked as private.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/main/resources/META-INF/plugin.xml | Registers the new “Workflow Marketplace” tool window. |
| src/main/kotlin/com/gocodalone/workflow/ide/marketplace/MarketplaceToolWindow.kt | Implements the tool window UI and background fetch/parsing/filtering logic. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/main/kotlin/com/gocodalone/workflow/ide/marketplace/MarketplaceToolWindow.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/com/gocodalone/workflow/ide/marketplace/MarketplaceToolWindow.kt
Outdated
Show resolved
Hide resolved
Comment on lines
+54
to
+56
| } catch (e: Exception) { | ||
| // Silently fail — marketplace is optional | ||
| } |
src/main/kotlin/com/gocodalone/workflow/ide/marketplace/MarketplaceToolWindow.kt
Outdated
Show resolved
Hide resolved
- Handle null return from Gson.fromJson() with ?: emptyList() - Extract parseRegistryIndex() and filterPublicPlugins() as internal functions for testability - Add MarketplaceParsingTest with 9 test cases covering: valid/empty/null JSON, blank strings, private field as boolean/string/missing, empty list, and missing fields - Read-only table model and exception logging were already in place Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
All review comments addressedPushed
All tests pass ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://gocodealone.github.io/workflow-registry/v1/index.jsonTest plan
./gradlew buildPluginsucceeds🤖 Generated with Claude Code