diff --git a/app/Extensions/OAuth/Schemas/DiscordSchema.php b/app/Extensions/OAuth/Schemas/DiscordSchema.php index 5d3a1c0be..919f7f73e 100644 --- a/app/Extensions/OAuth/Schemas/DiscordSchema.php +++ b/app/Extensions/OAuth/Schemas/DiscordSchema.php @@ -36,7 +36,7 @@ final class DiscordSchema extends OAuthSchema ->label('Redirect URL') ->dehydrated() ->disabled() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->formatStateUsing(fn () => url('/auth/oauth/callback/discord')), ]), ], parent::getSetupSteps()); diff --git a/app/Extensions/OAuth/Schemas/GithubSchema.php b/app/Extensions/OAuth/Schemas/GithubSchema.php index fa7bd4ac9..b5994ec21 100644 --- a/app/Extensions/OAuth/Schemas/GithubSchema.php +++ b/app/Extensions/OAuth/Schemas/GithubSchema.php @@ -27,7 +27,7 @@ final class GithubSchema extends OAuthSchema ->label('Authorization callback URL') ->dehydrated() ->disabled() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->default(fn () => url('/auth/oauth/callback/github')), TextEntry::make('register_application') ->hiddenLabel() diff --git a/app/Extensions/OAuth/Schemas/GitlabSchema.php b/app/Extensions/OAuth/Schemas/GitlabSchema.php index 4cd8b0d7a..1a6695727 100644 --- a/app/Extensions/OAuth/Schemas/GitlabSchema.php +++ b/app/Extensions/OAuth/Schemas/GitlabSchema.php @@ -47,7 +47,7 @@ final class GitlabSchema extends OAuthSchema ->label('Redirect URI') ->dehydrated() ->disabled() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->default(fn () => url('/auth/oauth/callback/gitlab')), ]), ], parent::getSetupSteps()); diff --git a/app/Filament/Admin/Resources/NodeResource/Pages/EditNode.php b/app/Filament/Admin/Resources/NodeResource/Pages/EditNode.php index f3be3161e..89d644ff7 100644 --- a/app/Filament/Admin/Resources/NodeResource/Pages/EditNode.php +++ b/app/Filament/Admin/Resources/NodeResource/Pages/EditNode.php @@ -291,7 +291,7 @@ class EditNode extends EditRecord 'lg' => 2, ]) ->label(trans('admin/node.node_uuid')) - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->disabled(), TagsInput::make('tags') ->label(trans('admin/node.tags')) @@ -552,7 +552,7 @@ class EditNode extends EditRecord ->label('/etc/pelican/config.yml') ->disabled() ->rows(19) - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->columnSpanFull(), Grid::make() ->columns() @@ -589,7 +589,7 @@ class EditNode extends EditRecord ->label(trans('admin/node.auto_command')) ->readOnly() ->autosize() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->formatStateUsing(fn (NodeAutoDeployService $service, Node $node, Set $set, Get $get) => $set('generatedToken', $service->handle(request(), $node, $get('docker')))), ]) ->mountUsing(function (Schema $schema) { diff --git a/app/Filament/Admin/Resources/ServerResource/Pages/EditServer.php b/app/Filament/Admin/Resources/ServerResource/Pages/EditServer.php index 0e7477c0f..fe51280d1 100644 --- a/app/Filament/Admin/Resources/ServerResource/Pages/EditServer.php +++ b/app/Filament/Admin/Resources/ServerResource/Pages/EditServer.php @@ -620,7 +620,7 @@ class EditServer extends EditRecord ->hintAction(PreviewStartupAction::make('preview')), Textarea::make('defaultStartup') - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->label(trans('admin/server.default_startup')) ->disabled() ->autosize() diff --git a/app/Livewire/Installer/Steps/QueueStep.php b/app/Livewire/Installer/Steps/QueueStep.php index 9bd6166ba..48afcc32b 100644 --- a/app/Livewire/Installer/Steps/QueueStep.php +++ b/app/Livewire/Installer/Steps/QueueStep.php @@ -48,14 +48,14 @@ class QueueStep TextInput::make('crontab') ->label(new HtmlString('Run the following command to set up your crontab. Note that www-data is your webserver user. On some systems this username might be different!')) ->disabled() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->default('(crontab -l -u www-data 2>/dev/null; echo "* * * * * php ' . base_path() . '/artisan schedule:run >> /dev/null 2>&1") | crontab -u www-data -') ->hidden(fn () => @file_exists('/.dockerenv')) ->columnSpanFull(), TextInput::make('queueService') ->label(new HtmlString('To setup the queue worker service you simply have to run the following command.')) ->disabled() - //->hintCopy() // TODO: wait for filament bug fix + ->hintCopy() ->default('sudo php ' . base_path() . '/artisan p:environment:queue-service') ->hidden(fn () => @file_exists('/.dockerenv')) ->columnSpanFull(),