Repository navigation
Let older plugins be approved without a demo video, and explain why Approve is blocked - #595
Open
sonalidudhia wants to merge 2 commits into
Open
sonalidudhia wants to merge 2 commits into
sonalidudhia wants to merge 2 commits into
Conversation
Approve was disabled whenever a pending plugin failed a required review check. The failing checks were only listed in the confirmation popup, which a disabled button can't open, so admins (super admins included) saw a faded Approve button that did nothing. Keep the button clickable. When checks fail, the popup lists them and offers only Close, and the action refuses to approve on the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plugins first sent for review before NativePHP#534 (25 Sep 2026) couldn't be approved, because the new demo video check can never pass for them. They no longer need a demo video; plugins first submitted after that still do. The first submission comes from the plugin's activity log, falling back to its creation date for older plugins that left draft before submissions were logged. Drafts that were never submitted still need a video. Admin review checks, the developer's checklist and submit button, and the review-checks email all use the same rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
Admins, super admins included, couldn't approve some pending plugins: the Approve button was greyed out and did nothing. Two causes:
Changes
Approve explains itself
Grandfathering for older submissions
Plugin::DEMO_VIDEO_REQUIRED_FROM(the Require a demo video before plugins can be submitted for review #534 merge time,2026-09-25 16:23:52UTC) don't need a demo video.Submittedactivity, so resubmissions keep their original date.Plugin::requiresDemoVideo()/meetsDemoVideoRequirement()are used everywhere the requirement is checked:Testing
tests/Feature/Filament/PluginApproveActionTest.php(8 tests):FILAMENT_USERSadmin can approvePluginDemoVideoTesttests now pincreated_atto now. The factory picks a random date in the last 6 months, which could fall before the cutoff and make those tests flaky.Worth confirming: the cutoff is the merge time of #534, not its deploy time.
🤖 Generated with Claude Code