You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add min_version review checks and table quick actions
Review checks now fetch nativephp.json and verify ios.min_version and
android.min_version are present (7 checks total). Added resync and
review checks as grouped table row actions for quick access from the
plugin list. Updated the Review Checks form section to display the
new fields.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
->modalDescription(fn (Plugin$record): string => "This will re-fetch the README, composer.json, nativephp.json, license, and latest version from GitHub for '{$record->name}'.")
239
+
->action(function (Plugin$record): void {
240
+
SyncPlugin::dispatch($record);
241
+
242
+
Notification::make()
243
+
->title('Sync queued')
244
+
->body("A background sync has been queued for '{$record->name}'.")
->modalDescription(fn() => "Are you sure you want to reject '{$this->record->name}'?"),
49
+
->modalDescription(fn() => "Are you sure you want to reject '{$this->record->name}'?"),
50
50
51
51
Actions\Action::make('convertToPaid')
52
52
->label('Convert to Paid')
53
53
->icon('heroicon-o-currency-dollar')
54
54
->color('success')
55
-
->visible(fn() => $this->record->isFree())
55
+
->visible(fn() => $this->record->isFree())
56
56
->form([
57
57
Forms\Components\Select::make('tier')
58
58
->label('Pricing Tier')
@@ -75,17 +75,17 @@ protected function getHeaderActions(): array
75
75
->send();
76
76
})
77
77
->modalHeading('Convert Plugin to Paid')
78
-
->modalDescription(fn() => "This will convert '{$this->record->name}' from free to paid, set up pricing, and trigger a Satis build so it's available via Composer.")
78
+
->modalDescription(fn() => "This will convert '{$this->record->name}' from free to paid, set up pricing, and trigger a Satis build so it's available via Composer.")
79
79
->modalSubmitActionLabel('Convert & Ingest'),
80
80
81
81
Actions\Action::make('syncToSatis')
82
-
->label(fn() => $this->record->isSatisSynced() ? 'Re-sync to Satis' : 'Sync to Satis')
82
+
->label(fn() => $this->record->isSatisSynced() ? 'Re-sync to Satis' : 'Sync to Satis')
83
83
->icon('heroicon-o-arrow-path')
84
84
->color('warning')
85
-
->visible(fn() => $this->record->isPaid())
85
+
->visible(fn() => $this->record->isPaid())
86
86
->requiresConfirmation()
87
-
->modalHeading(fn() => $this->record->isSatisSynced() ? 'Re-sync to Satis' : 'Sync to Satis')
->modalDescription(fn() => "This will re-fetch the README, composer.json, nativephp.json, license, and latest version from GitHub for '{$this->record->name}'.")
234
+
->modalDescription(fn() => "This will re-fetch the README, composer.json, nativephp.json, license, and latest version from GitHub for '{$this->record->name}'.")
232
235
->action(function (): void {
233
236
SyncPlugin::dispatch($this->record);
234
237
@@ -243,7 +246,7 @@ protected function getHeaderActions(): array
0 commit comments