Skip to content

Separate plugin creation from submission with draft status#340

Open
simonhamp wants to merge 4 commits intomainfrom
separate-plugin-create-submit
Open

Separate plugin creation from submission with draft status#340
simonhamp wants to merge 4 commits intomainfrom
separate-plugin-create-submit

Conversation

@simonhamp
Copy link
Copy Markdown
Member

Summary

  • Draft plugin status: Plugins now start as "Draft" instead of "Pending", allowing authors to save work-in-progress before submitting for review. New migrations change the default status and convert existing pending plugins to draft.
  • Display name support: Added optional display_name field to plugins. Used as the primary name across marketplace, cart, checkout, Ultra benefits, team, and developer dashboard pages, with the Composer package name shown as a monospace subheading.
  • Plugin edit/submit UX improvements: Moved Type and Pricing Tier selection to the Details tab. Simplified the Submit tab to just notes and a submit button. Added inline validation errors. Removed "Plugin" prefix from card headings. Marked Name as optional. Updated pricing tier display to show price ranges. URL changed from /plugins/submit to /plugins/create.
  • Listing preview for authors: Plugin owners can now preview their listing page (even for unpublished/de-listed plugins) via a "Preview Listing" link on the edit page.
  • De-listed plugin visibility: De-listed plugins (is_active = false) are now hidden from the public directory while remaining accessible to owners and admins for preview.
  • Filament admin updates: Added Draft status filter to plugin list and updated status badge styling.

Test plan

  • Existing tests updated for new save/submit flow
  • New PluginStatusTransitionsTest covering draft → pending → approved/rejected transitions
  • New tests for owner preview of draft and de-listed plugins
  • New tests for public 404 on draft and de-listed plugins
  • All 36 related tests passing

🤖 Generated with Claude Code

simonhamp and others added 2 commits April 9, 2026 17:58
Introduce a draft state for plugins so authors can save work-in-progress
before submitting for review. Add display_name support across marketplace,
cart, and checkout pages. Allow plugin owners to preview their listing.
Hide de-listed plugins from the public directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e name display

Show a non-editable type and pricing tier card on the approved plugin edit
page. Only show the composer package name subheading when a custom display
name is set, preventing the name from appearing twice. Fix preview banner
test assertion to match updated text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review April 9, 2026 17:54
simonhamp and others added 2 commits April 9, 2026 18:54
…summary

Add server-side validation for pricing tier when saving paid draft plugins
with inline error and red card border. Show gray dot for de-listed plugins
and remove Status column from plugin index. Move GitHub banner into Details
tab. Add plugin summary card to Submit for Review tab.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant