Skip to content

Commit e0f18a4

Browse files
feat: add useHead page titles across all devtools pages
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5d6947e commit e0f18a4

12 files changed

Lines changed: 12 additions & 0 deletions

File tree

packages/devtools/pages/batches.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
@section('content')
1212
<script client>
13+
useHead({ title: 'Batches — bun-queue' })
1314
import { useBatches } from '@/stores/batches'
1415

1516
interface Batch {

packages/devtools/pages/batches/[id].stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
@section('content')
1414
<script client>
15+
useHead({ title: 'Batch Details — bun-queue' })
1516
const { formatTime } = stx.helpers
1617
interface BatchData {
1718
id: string

packages/devtools/pages/dependencies.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
@section('content')
1818
<script client>
19+
useHead({ title: 'Dependencies — bun-queue' })
1920
import { useDependencies } from '@/stores/dependencies'
2021

2122
const STATUS_COLORS = { completed: '#10b981', active: '#6366f1', waiting: '#f59e0b', pending: '#f59e0b', failed: '#ef4444' }

packages/devtools/pages/groups.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
@section('content')
88
<script client>
9+
useHead({ title: 'Groups — bun-queue' })
910
import { useGroups } from '@/stores/groups'
1011

1112
interface Group {

packages/devtools/pages/groups/[id].stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
@section('content')
66
<script client>
7+
useHead({ title: 'Group Details — bun-queue' })
78
const { formatTime } = stx.helpers
89
interface GroupData {
910
name?: string

packages/devtools/pages/index.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
@section('content')
1414
<script client>
15+
useHead({ title: 'Dashboard — bun-queue' })
1516
import { useStats } from '@/stores/stats'
1617
import { useJobs } from '@/stores/jobs'
1718
import { useQueues } from '@/stores/queues'

packages/devtools/pages/jobs.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
@section('content')
1313
<script client>
14+
useHead({ title: 'Jobs — bun-queue' })
1415
import { useJobs } from '@/stores/jobs'
1516

1617
interface Job {

packages/devtools/pages/jobs/[id].stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
@section('content')
66
<script client>
7+
useHead({ title: 'Job Details — bun-queue' })
78
const { formatTime } = stx.helpers
89
interface JobDetail {
910
id: string

packages/devtools/pages/metrics.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
@section('content')
1414
<script client>
15+
useHead({ title: 'Metrics — bun-queue' })
1516
import { useStats } from '@/stores/stats'
1617

1718
const { chartOptions, createLineDataset } = stx.helpers

packages/devtools/pages/monitoring.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
@section('content')
4343
<script client>
44+
useHead({ title: 'Monitoring — bun-queue' })
4445
import { useStats } from '@/stores/stats'
4546

4647
const { formatEventTime } = stx.helpers

0 commit comments

Comments
 (0)