mirror of
https://github.com/pelican-dev/panel.git
synced 2025-07-04 11:31:08 +02:00
comment out hintCopy
until filament bug is fixed
This commit is contained in:
parent
9da52c24c0
commit
833023c93f
@ -42,7 +42,7 @@ final class DiscordProvider extends OAuthProvider
|
||||
->label('Redirect URL')
|
||||
->dehydrated()
|
||||
->disabled()
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->formatStateUsing(fn () => url('/auth/oauth/callback/discord')),
|
||||
]),
|
||||
], parent::getSetupSteps());
|
||||
|
@ -33,7 +33,7 @@ final class GithubProvider extends OAuthProvider
|
||||
->label('Authorization callback URL')
|
||||
->dehydrated()
|
||||
->disabled()
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->default(fn () => url('/auth/oauth/callback/github')),
|
||||
TextEntry::make('register_application')
|
||||
->hiddenLabel()
|
||||
|
@ -53,7 +53,7 @@ final class GitlabProvider extends OAuthProvider
|
||||
->label('Redirect URI')
|
||||
->dehydrated()
|
||||
->disabled()
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->default(fn () => url('/auth/oauth/callback/gitlab')),
|
||||
]),
|
||||
], parent::getSetupSteps());
|
||||
|
@ -293,7 +293,7 @@ class EditNode extends EditRecord
|
||||
'lg' => 2,
|
||||
])
|
||||
->label(trans('admin/node.node_uuid'))
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->disabled(),
|
||||
TagsInput::make('tags')
|
||||
->label(trans('admin/node.tags'))
|
||||
@ -554,7 +554,7 @@ class EditNode extends EditRecord
|
||||
->label('/etc/pelican/config.yml')
|
||||
->disabled()
|
||||
->rows(19)
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->columnSpanFull(),
|
||||
Grid::make()
|
||||
->columns()
|
||||
@ -591,7 +591,7 @@ class EditNode extends EditRecord
|
||||
->label(trans('admin/node.auto_command'))
|
||||
->readOnly()
|
||||
->autosize()
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->formatStateUsing(fn (NodeAutoDeployService $service, Node $node, Set $set, Get $get) => $set('generatedToken', $service->handle(request(), $node, $get('docker')))),
|
||||
])
|
||||
->mountUsing(function (Schema $schema) {
|
||||
|
@ -620,7 +620,7 @@ class EditServer extends EditRecord
|
||||
->hintAction(PreviewStartupAction::make('preview')),
|
||||
|
||||
Textarea::make('defaultStartup')
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->label(trans('admin/server.default_startup'))
|
||||
->disabled()
|
||||
->autosize()
|
||||
|
@ -6,12 +6,9 @@ use Closure;
|
||||
use Filament\Actions\Action;
|
||||
use Illuminate\Support\HtmlString;
|
||||
use Illuminate\Support\Js;
|
||||
use Livewire\Features\SupportJsEvaluation\HandlesJsEvaluation;
|
||||
|
||||
class CopyAction extends Action
|
||||
{
|
||||
use HandlesJsEvaluation;
|
||||
|
||||
protected Closure|string|null $copyable = null;
|
||||
|
||||
public static function getDefaultName(): ?string
|
||||
|
@ -48,14 +48,14 @@ class QueueStep
|
||||
TextInput::make('crontab')
|
||||
->label(new HtmlString('Run the following command to set up your crontab. Note that <code>www-data</code> is your webserver user. On some systems this username might be different!'))
|
||||
->disabled()
|
||||
->hintCopy()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->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()
|
||||
//->hintCopy() // TODO: wait for filament bug fix
|
||||
->default('sudo php ' . base_path() . '/artisan p:environment:queue-service')
|
||||
->hidden(fn () => @file_exists('/.dockerenv'))
|
||||
->columnSpanFull(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user