Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.1.0
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
2 changes: 1 addition & 1 deletion config/filament-jobs-monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
'retention_days' => 7,
],
'queues' => [
'default'
'default',
],
];
39 changes: 20 additions & 19 deletions resources/lang/it/translations.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<?php
return [
"average_time" => "Tempo medio di esecuzione",
"breadcrumb" => "Monitoraggio dei lavori in coda",
"execution_time" => "Tempo di esecuzione totale",
"failed" => "Fallito",
"name" => "Nome",
"navigation_group" => "Sistema",
"navigation_label" => "Lavori",
"pending_jobs" => "Lavori in sospeso",
"progress" => "Progresso",
"queue" => "Coda",
"running" => "In corso",
"started_at" => "Iniziato a",
"status" => "Stato",
"succeeded" => "Riuscito",
"title" => "Lavori in coda",
"total_jobs" => "Totale lavori eseguiti"
];
<?php

return [
'average_time' => 'Tempo medio di esecuzione',
'breadcrumb' => 'Monitoraggio dei lavori in coda',
'execution_time' => 'Tempo di esecuzione totale',
'failed' => 'Fallito',
'name' => 'Nome',
'navigation_group' => 'Sistema',
'navigation_label' => 'Lavori',
'pending_jobs' => 'Lavori in sospeso',
'progress' => 'Progresso',
'queue' => 'Coda',
'running' => 'In corso',
'started_at' => 'Iniziato a',
'status' => 'Stato',
'succeeded' => 'Riuscito',
'title' => 'Lavori in coda',
'total_jobs' => 'Totale lavori eseguiti',
];
2 changes: 1 addition & 1 deletion resources/lang/sk/translations.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php

return [
'breadcrumb' => 'Monitor frontových úloh',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ protected function getCards(): array
->first();

$queueSize = collect(config('filament-jobs-monitor.queues') ?? ['default'])
->map(fn(string $queue): int => Queue::size($queue))
->map(fn (string $queue): int => Queue::size($queue))
->sum();

return [
Stat::make(__('filament-jobs-monitor::translations.total_jobs'), $aggregatedInfo->count ?? 0),
Stat::make(__('filament-jobs-monitor::translations.pending_jobs'), $queueSize),
Stat::make(__('filament-jobs-monitor::translations.execution_time'), ($aggregatedInfo->total_time_elapsed ?? 0) . 's'),
Stat::make(__('filament-jobs-monitor::translations.average_time'), ceil((float) $aggregatedInfo->average_time_elapsed) . 's' ?? 0),
Stat::make(__('filament-jobs-monitor::translations.execution_time'), ($aggregatedInfo->total_time_elapsed ?? 0).'s'),
Stat::make(__('filament-jobs-monitor::translations.average_time'), ceil((float) $aggregatedInfo->average_time_elapsed).'s' ?? 0),
];
}
}