Skip to content

Commit afa094b

Browse files
committed
chore: wip
1 parent ce7b1aa commit afa094b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

storage/framework/defaults/views/dashboard/jobs/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ const handleRetry = async (job: Job) => {
532532
<!-- Queue Stats -->
533533
<div class="grid grid-cols-3 gap-4">
534534
<div v-for="(value, status) in stats" :key="status" class="text-center">
535-
<div class="text-2xl font-semibold" :class="{
535+
<div class="text-2xl font-semibold font-mono" :class="{
536536
'text-blue-600 dark:text-blue-400': status === 'queued',
537537
'text-yellow-600 dark:text-yellow-400': status === 'processing',
538538
'text-green-600 dark:text-green-400': status === 'processed',

storage/framework/defaults/views/dashboard/notifications/index.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -492,20 +492,20 @@ const formatNumber = (num: number): string => {
492492
</div>
493493
</div>
494494

495-
<div class="mt-6 grid grid-cols-1 gap-6 lg:grid-cols-3 sm:grid-cols-2">
495+
<div class="mt-6 grid grid-cols-1 gap-6 lg:grid-cols-2 sm:grid-cols-2">
496496
<div v-for="(stats, name) in channelStats" :key="name" class="bg-white dark:bg-blue-gray-700 rounded-lg shadow p-6">
497-
<div class="flex items-center justify-between mb-4">
498-
<h4 class="inline-flex items-center space-x-2 px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800 dark:bg-blue-gray-600 dark:text-gray-200">
497+
<div class="flex items-center justify-between mb-6">
498+
<h4 class="inline-flex items-center space-x-2 px-2.5 py-1 rounded-full text-sm font-medium bg-gray-100 text-gray-800 dark:bg-blue-gray-600 dark:text-gray-200">
499499
<div :class="getChannelIcon(name)" class="h-4 w-4" />
500500
<span class="capitalize">{{ name }}</span>
501501
</h4>
502502
</div>
503503

504-
<div class="space-y-4">
504+
<div class="space-y-6">
505505
<!-- Channel Stats -->
506-
<div class="grid grid-cols-3 gap-4">
506+
<div class="grid grid-cols-4 gap-4">
507507
<div v-for="(value, status) in stats" :key="status" class="text-center">
508-
<div class="text-2xl font-semibold" :class="{
508+
<div class="text-2xl font-semibold font-mono" :class="{
509509
'text-blue-600 dark:text-blue-400': status === 'sent',
510510
'text-green-600 dark:text-green-400': status === 'delivered',
511511
'text-yellow-600 dark:text-yellow-400': status === 'pending',
@@ -516,13 +516,13 @@ const formatNumber = (num: number): string => {
516516
</div>
517517

518518
<!-- Delivery Progress -->
519-
<div class="h-2 bg-gray-100 dark:bg-blue-gray-600 rounded-full overflow-hidden">
519+
<div class="h-2.5 bg-gray-100 dark:bg-blue-gray-600 rounded-full overflow-hidden">
520520
<div class="flex h-full">
521521
<div class="bg-green-500 h-full" :style="{ width: `${(stats.delivered / stats.sent) * 100}%` }" />
522522
<div class="bg-red-500 h-full" :style="{ width: `${(stats.failed / stats.sent) * 100}%` }" />
523523
</div>
524524
</div>
525-
<div class="flex justify-between text-xs text-gray-500 dark:text-gray-400">
525+
<div class="flex justify-between text-sm text-gray-500 dark:text-gray-400">
526526
<span>Success Rate: {{ ((stats.delivered / stats.sent) * 100).toFixed(1) }}%</span>
527527
<span>Failure Rate: {{ ((stats.failed / stats.sent) * 100).toFixed(1) }}%</span>
528528
</div>

0 commit comments

Comments
 (0)