Skip to content

Feature/soft delete declined plugins#361

Open
pontusab wants to merge 2 commits intomainfrom
feature/soft-delete-declined-plugins
Open

Feature/soft delete declined plugins#361
pontusab wants to merge 2 commits intomainfrom
feature/soft-delete-declined-plugins

Conversation

@pontusab
Copy link
Collaborator

@pontusab pontusab commented Mar 19, 2026

  • Replace hard delete with a status column (pending | approved | declined) so declined plugins are preserved instead of permanently removed
  • Update approvePluginAction to set status: "approved" and declinePluginAction to set status: "declined" instead of deleting
  • Add getDeclinedPlugins query to fetch declined plugins
  • Add tabbed UI to the admin review page with "Pending" and "Declined" tabs, including counts
  • Declined plugins can still be approved from the declined tab if needed
  • Revalidate the individual plugin detail page (/plugins/[slug]) on approval

Replace hard delete with status update on decline. Add a declined
section to the admin review page so declined plugins remain visible
and can still be approved if needed.

Made-with: Cursor
@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cursor-directory Ready Ready Preview, Comment Mar 19, 2026 7:16pm

Request Review

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