@stacksjs/defaults 0.75.612 → 0.75.613
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/skills/stacks-actions/SKILL.md +208 -0
- package/ai/skills/stacks-api/SKILL.md +1 -1
- package/ai/skills/stacks-buddy/SKILL.md +1 -1
- package/ai/skills/stacks-dashboard/SKILL.md +79 -0
- package/ai/skills/stacks-middleware/SKILL.md +4 -1
- package/ai/skills/stacks-native/CATALOG.md +12 -12
- package/ai/skills/stacks-validation/SKILL.md +7 -0
- package/app/Actions/Storefront/AddToCartAction.ts +12 -15
- package/app/Actions/Storefront/CheckoutContactAction.ts +18 -10
- package/app/Actions/Storefront/CheckoutShippingAction.ts +20 -10
- package/app/Actions/Storefront/PlaceOrderAction.ts +9 -12
- package/app/Actions/Storefront/UpdateCartItemAction.ts +11 -9
- package/app/Middleware/Abilities.ts +4 -3
- package/app/Middleware/Csrf.ts +10 -1
- package/app/Middleware/Throttle.ts +4 -4
- package/ide/vscode/package.json +1 -1
- package/package.json +5 -5
- package/resources/components/Dashboard/Analytics/AnalyticsPageHeader.stx +3 -13
- package/resources/components/Dashboard/App/RequestsOverview.stx +3 -20
- package/resources/components/Dashboard/App/SourceInventory.stx +1 -5
- package/resources/components/Dashboard/Auth/AccessTokenCreateDialog.stx +11 -28
- package/resources/components/Dashboard/Commerce/CommerceCategoriesDashboard.stx +4 -8
- package/resources/components/Dashboard/Commerce/CommerceCategoryDialog.stx +9 -9
- package/resources/components/Dashboard/Commerce/CommerceCouponDialog.stx +14 -14
- package/resources/components/Dashboard/Commerce/CommerceCouponsDashboard.stx +5 -9
- package/resources/components/Dashboard/Commerce/CommerceCustomerDialog.stx +7 -7
- package/resources/components/Dashboard/Commerce/CommerceCustomersDashboard.stx +3 -7
- package/resources/components/Dashboard/Commerce/CommerceGiftCardDialog.stx +15 -15
- package/resources/components/Dashboard/Commerce/CommerceGiftCardsDashboard.stx +5 -9
- package/resources/components/Dashboard/Commerce/CommerceManufacturerDialog.stx +12 -15
- package/resources/components/Dashboard/Commerce/CommerceManufacturersDashboard.stx +4 -28
- package/resources/components/Dashboard/Commerce/CommerceOrderDialog.stx +15 -15
- package/resources/components/Dashboard/Commerce/CommerceOrdersDashboard.stx +4 -8
- package/resources/components/Dashboard/Commerce/CommerceOverviewDashboard.stx +3 -11
- package/resources/components/Dashboard/Commerce/CommercePaymentsDashboard.stx +8 -9
- package/resources/components/Dashboard/Commerce/CommercePosCatalog.stx +3 -20
- package/resources/components/Dashboard/Commerce/CommercePosCheckoutDialog.stx +4 -4
- package/resources/components/Dashboard/Commerce/CommerceProductDialog.stx +14 -14
- package/resources/components/Dashboard/Commerce/CommerceProductsDashboard.stx +4 -8
- package/resources/components/Dashboard/Commerce/CommerceReviewEditDialog.stx +14 -24
- package/resources/components/Dashboard/Commerce/CommerceReviewsDashboard.stx +5 -43
- package/resources/components/Dashboard/Commerce/CommerceTaxDialog.stx +22 -38
- package/resources/components/Dashboard/Commerce/CommerceTaxesDashboard.stx +5 -33
- package/resources/components/Dashboard/Commerce/CommerceUnitDialog.stx +16 -30
- package/resources/components/Dashboard/Commerce/CommerceUnitsDashboard.stx +4 -28
- package/resources/components/Dashboard/Commerce/CommerceVariantDialog.stx +15 -9
- package/resources/components/Dashboard/Commerce/CommerceVariantsDashboard.stx +8 -9
- package/resources/components/Dashboard/Commerce/Delivery/CourierDialog.stx +14 -12
- package/resources/components/Dashboard/Commerce/Delivery/DeliveryRouteDialog.stx +9 -11
- package/resources/components/Dashboard/Commerce/Delivery/DigitalDeliveryDialog.stx +15 -9
- package/resources/components/Dashboard/Commerce/Delivery/LicenseKeyDialog.stx +11 -7
- package/resources/components/Dashboard/Commerce/Delivery/ShippingMethodDialog.stx +14 -8
- package/resources/components/Dashboard/Commerce/Delivery/ShippingRateDialog.stx +11 -17
- package/resources/components/Dashboard/Commerce/Delivery/ShippingZoneDialog.stx +18 -12
- package/resources/components/Dashboard/Commerce/PaymentRefundDialog.stx +1 -1
- package/resources/components/Dashboard/Commerce/PrintDeviceDialog.stx +5 -5
- package/resources/components/Dashboard/Commerce/PrintDevicesDashboard.stx +4 -8
- package/resources/components/Dashboard/Commerce/PrintLogsDashboard.stx +5 -9
- package/resources/components/Dashboard/Commerce/ProductWaitlistDashboard.stx +2 -10
- package/resources/components/Dashboard/Commerce/ProductWaitlistEntryDialog.stx +14 -67
- package/resources/components/Dashboard/Commerce/RestaurantWaitlistDashboard.stx +3 -18
- package/resources/components/Dashboard/Commerce/RestaurantWaitlistEntryDialog.stx +23 -69
- package/resources/components/Dashboard/Content/AuthorEditorDialog.stx +4 -16
- package/resources/components/Dashboard/Content/BlogDashboard.stx +2 -19
- package/resources/components/Dashboard/Content/BlogPostEditorDialog.stx +31 -51
- package/resources/components/Dashboard/Content/CommentsDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/ContentDashboard.stx +1 -11
- package/resources/components/Dashboard/Content/CreateFolderDialog.stx +1 -4
- package/resources/components/Dashboard/Content/FileManagerDashboard.stx +2 -2
- package/resources/components/Dashboard/Content/PageEditorDialog.stx +8 -17
- package/resources/components/Dashboard/Content/PostEditorDialog.stx +35 -45
- package/resources/components/Dashboard/Content/PostsDashboard.stx +1 -13
- package/resources/components/Dashboard/Content/SeoDashboard.stx +2 -20
- package/resources/components/Dashboard/Content/SeoEditorDialog.stx +4 -38
- package/resources/components/Dashboard/Content/TaxonomyEditorDialog.stx +8 -15
- package/resources/components/Dashboard/Data/ActivityLog.stx +1 -5
- package/resources/components/Dashboard/Deployments/DeploymentList.stx +2 -11
- package/resources/components/Dashboard/Email/InboxMessageList.stx +1 -5
- package/resources/components/Dashboard/Infrastructure/DnsDashboard.stx +2 -16
- package/resources/components/Dashboard/Infrastructure/LogsDashboard.stx +6 -10
- package/resources/components/Dashboard/Infrastructure/MailboxesDashboard.stx +1 -5
- package/resources/components/Dashboard/Infrastructure/ServersDashboard.stx +1 -5
- package/resources/components/Dashboard/Jobs/JobHistory.stx +3 -12
- package/resources/components/Dashboard/Kanban/KanbanCardDialog.stx +57 -51
- package/resources/components/Dashboard/Library/ComponentsDashboard.stx +4 -14
- package/resources/components/Dashboard/Library/DependenciesDashboard.stx +2 -15
- package/resources/components/Dashboard/Library/PackagesDashboard.stx +1 -8
- package/resources/components/Dashboard/Library/SourceScaffoldDialog.stx +1 -12
- package/resources/components/Dashboard/Management/PermissionsDashboard.stx +3 -3
- package/resources/components/Dashboard/Marketing/AbandonedCartsDashboard.stx +4 -4
- package/resources/components/Dashboard/Marketing/CampaignDeliveryDialog.stx +3 -5
- package/resources/components/Dashboard/Marketing/CampaignDialog.stx +59 -93
- package/resources/components/Dashboard/Marketing/CampaignsDashboard.stx +5 -5
- package/resources/components/Dashboard/Marketing/MarketingListDialog.stx +12 -26
- package/resources/components/Dashboard/Marketing/MarketingListsDashboard.stx +4 -4
- package/resources/components/Dashboard/Marketing/RecoveryCampaignDialog.stx +12 -43
- package/resources/components/Dashboard/Marketing/SocialPostDialog.stx +7 -41
- package/resources/components/Dashboard/Marketing/SocialPostsDashboard.stx +5 -5
- package/resources/components/Dashboard/Models/ModelRecordsDashboard.stx +7 -23
- package/resources/components/Dashboard/Models/ModelsOverview.stx +2 -12
- package/resources/components/Dashboard/Notifications/NotificationDeliveries.stx +4 -27
- package/resources/components/Dashboard/Notifications/NotificationDeliveryHistory.stx +4 -36
- package/resources/components/Dashboard/Operations/RecoveryDestinationDialog.stx +18 -47
- package/resources/components/Dashboard/Operations/RecoveryPolicyDialog.stx +24 -78
- package/resources/components/Dashboard/Operations/RecoveryRestoreDialog.stx +8 -19
- package/resources/components/Dashboard/Queries/QueryDashboard.stx +3 -21
- package/resources/components/Dashboard/Releases/ReleaseDashboard.stx +2 -9
- package/resources/components/Dashboard/Settings/SettingsDashboard.stx +1 -11
- package/resources/components/Dashboard/UI/Input.stx +50 -1
- package/resources/components/Dashboard/UI/SearchFilter.stx +27 -17
- package/resources/components/Dashboard/UI/Select.stx +4 -1
- package/resources/components/Dashboard/UI/Textarea.stx +16 -1
- package/resources/views/cart.stx +14 -0
- package/resources/views/checkout/contact.stx +15 -1
- package/resources/views/checkout/payment.stx +7 -0
- package/resources/views/checkout/shipping.stx +39 -5
|
@@ -43,7 +43,9 @@ const contentLoading = useReactiveProp('contentLoading', false)
|
|
|
43
43
|
const contentLoadFailed = useReactiveProp('contentLoadFailed', false)
|
|
44
44
|
const busy = useReactiveProp('busy', false)
|
|
45
45
|
const error = useReactiveProp('error', '')
|
|
46
|
-
|
|
46
|
+
// Not `title`: a field bound inside the Modal is first read as the Modal's own
|
|
47
|
+
// `title` prop (stacksjs/stacks#3310).
|
|
48
|
+
const postTitle = state('')
|
|
47
49
|
const excerpt = state('')
|
|
48
50
|
const content = state('')
|
|
49
51
|
const poster = state('')
|
|
@@ -61,7 +63,7 @@ effect(() => {
|
|
|
61
63
|
if (isOpen && !wasOpen) {
|
|
62
64
|
const record = editing()
|
|
63
65
|
activeId = record?.id || ''
|
|
64
|
-
|
|
66
|
+
postTitle.set(record?.title || '')
|
|
65
67
|
excerpt.set(record?.excerpt || '')
|
|
66
68
|
content.set('')
|
|
67
69
|
poster.set(record?.poster || '')
|
|
@@ -82,11 +84,22 @@ effect(() => {
|
|
|
82
84
|
function valid(): boolean {
|
|
83
85
|
const excerptLength = excerpt().trim().length
|
|
84
86
|
return !contentLoading() && !contentLoadFailed()
|
|
85
|
-
&&
|
|
87
|
+
&& postTitle().trim().length >= 3 && postTitle().trim().length <= 255
|
|
86
88
|
&& content().trim().length >= 10 && content().length <= 100000
|
|
87
89
|
&& (excerptLength === 0 || excerptLength >= 10) && excerpt().length <= 500
|
|
88
90
|
}
|
|
89
91
|
|
|
92
|
+
/** Tick or untick one category or tag, as its box reports. */
|
|
93
|
+
function chooseCategory(id: string, chosen: boolean): void {
|
|
94
|
+
const current = categoryIds()
|
|
95
|
+
categoryIds.set(chosen ? (current.includes(id) ? current : [...current, id]) : current.filter(entry => entry !== id))
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function chooseTag(id: string, chosen: boolean): void {
|
|
99
|
+
const current = tagIds()
|
|
100
|
+
tagIds.set(chosen ? (current.includes(id) ? current : [...current, id]) : current.filter(entry => entry !== id))
|
|
101
|
+
}
|
|
102
|
+
|
|
90
103
|
function close(): void {
|
|
91
104
|
if (!busy())
|
|
92
105
|
emit('close')
|
|
@@ -94,7 +107,7 @@ function close(): void {
|
|
|
94
107
|
|
|
95
108
|
function submit(): void {
|
|
96
109
|
const draft: PostDraft = {
|
|
97
|
-
title:
|
|
110
|
+
title: postTitle().trim(),
|
|
98
111
|
excerpt: excerpt().trim(),
|
|
99
112
|
content: content().trim(),
|
|
100
113
|
poster: poster().trim(),
|
|
@@ -117,63 +130,40 @@ function submit(): void {
|
|
|
117
130
|
@close="close"
|
|
118
131
|
>
|
|
119
132
|
<form id="post-editor-form" class="grid gap-5" @submit.prevent="submit">
|
|
120
|
-
<label
|
|
121
|
-
<span class="font-medium text-gray-700 text-sm dark:text-neutral-200">Title</span>
|
|
122
|
-
<input x-model.trim="title" name="title" required minlength="3" maxlength="255" class="mt-1 px-3 py-2 w-full text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700" />
|
|
123
|
-
</label>
|
|
133
|
+
<Input v-model:value="postTitle" name="title" label="Title" :required="true" :minLength="3" :maxLength="255" />
|
|
124
134
|
<div class="grid gap-4 sm:grid-cols-3">
|
|
125
|
-
<label
|
|
126
|
-
|
|
127
|
-
<select x-model="status" name="status" class="mt-1 px-3 py-2 w-full text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700">
|
|
128
|
-
<option value="draft">Draft</option>
|
|
129
|
-
<option value="published">Published</option>
|
|
130
|
-
<option value="archived">Archived</option>
|
|
131
|
-
</select>
|
|
132
|
-
</label>
|
|
133
|
-
<label>
|
|
134
|
-
<span class="font-medium text-gray-700 text-sm dark:text-neutral-200">Author</span>
|
|
135
|
-
<select x-model="authorId" name="author_id" class="mt-1 px-3 py-2 w-full text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700">
|
|
136
|
-
<option value="">No author</option>
|
|
137
|
-
<option :for="author in authors()" :value="author.id">{{ author.name }} ({{ author.email }})</option>
|
|
138
|
-
</select>
|
|
139
|
-
</label>
|
|
135
|
+
<Select v-model:value="status" name="status" label="Status" placeholder="" :options="[{ value: 'draft', label: 'Draft' }, { value: 'published', label: 'Published' }, { value: 'archived', label: 'Archived' }]" />
|
|
136
|
+
<Select v-model:value="authorId" name="author_id" label="Author" placeholder="" :options="[{ value: '', label: 'No author' }, ...authors().map(author => ({ value: author.id, label: author.name + ' (' + author.email + ')' }))]" />
|
|
140
137
|
<div class="self-end px-3 py-2 min-h-10 bg-gray-50 dark:bg-neutral-900/60 border border-gray-200 rounded-md dark:border-neutral-700">
|
|
141
138
|
<Toggle v-model:checked="featured" name="featured" label="Featured post" labelPosition="left" />
|
|
142
139
|
</div>
|
|
143
140
|
</div>
|
|
144
|
-
<label
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</
|
|
153
|
-
<label>
|
|
154
|
-
<span class="flex gap-3 items-center justify-between">
|
|
155
|
-
<span class="font-medium text-gray-700 text-sm dark:text-neutral-200">Content</span>
|
|
156
|
-
<span :if="contentLoading()" role="status" class="inline-flex gap-1.5 items-center text-gray-500 text-xs dark:text-neutral-400">
|
|
157
|
-
<span aria-hidden="true" class="h-3.5 w-3.5 animate-spin i-hugeicons-loading-03"></span>
|
|
158
|
-
Loading content
|
|
159
|
-
</span>
|
|
160
|
-
</span>
|
|
161
|
-
<textarea x-model="content" name="content" required minlength="10" maxlength="100000" rows="10" :disabled="contentLoading() || contentLoadFailed()" class="mt-1 px-3 py-2 w-full font-mono text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700 disabled:opacity-60"></textarea>
|
|
162
|
-
<span class="block mt-1 text-gray-500 text-xs dark:text-gray-400">{{ content().length }}/100000</span>
|
|
163
|
-
</label>
|
|
141
|
+
<Input v-model:value="poster" name="poster" label="Poster URL" type="url" inputmode="url" :maxLength="255" placeholder="https://example.com/poster.jpg" />
|
|
142
|
+
<Textarea v-model:value="excerpt" name="excerpt" label="Excerpt" :rows="3" :maxLength="500" :showCount="true" placeholder="Optional, at least 10 characters when provided" />
|
|
143
|
+
<div>
|
|
144
|
+
<Textarea v-model:value="content" name="content" label="Content" :required="true" :minLength="10" :maxLength="100000" :showCount="true" :rows="10" :monospace="true" :disabled="contentLoading() || contentLoadFailed()" />
|
|
145
|
+
<p :if="contentLoading()" role="status" class="inline-flex gap-1.5 items-center mt-1.5 text-gray-500 text-xs dark:text-neutral-400">
|
|
146
|
+
<span aria-hidden="true" class="h-3.5 w-3.5 animate-spin i-hugeicons-loading-03"></span>
|
|
147
|
+
Loading content
|
|
148
|
+
</p>
|
|
149
|
+
</div>
|
|
164
150
|
<div class="grid gap-4 lg:grid-cols-2">
|
|
165
151
|
<fieldset class="p-4 border border-gray-200 rounded-lg dark:border-neutral-700">
|
|
166
152
|
<legend class="px-1 font-semibold text-gray-700 text-sm dark:text-neutral-200">Categories, {{ categoryIds().length }} selected</legend>
|
|
167
153
|
<div :if="categories().length === 0" class="text-gray-500 text-sm dark:text-neutral-400">No categories available.</div>
|
|
168
154
|
<div :else class="grid gap-2">
|
|
169
|
-
<
|
|
155
|
+
<span :for="categoryOption in categories()" class="contents">
|
|
156
|
+
<Checkbox size="sm" :label="categoryOption.name" :checked="categoryIds().includes(categoryOption.id)" @update:checked="chooseCategory(categoryOption.id, $event)" />
|
|
157
|
+
</span>
|
|
170
158
|
</div>
|
|
171
159
|
</fieldset>
|
|
172
160
|
<fieldset class="p-4 border border-gray-200 rounded-lg dark:border-neutral-700">
|
|
173
161
|
<legend class="px-1 font-semibold text-gray-700 text-sm dark:text-neutral-200">Tags, {{ tagIds().length }} selected</legend>
|
|
174
162
|
<div :if="tags().length === 0" class="text-gray-500 text-sm dark:text-neutral-400">No tags available.</div>
|
|
175
163
|
<div :else class="grid gap-2 sm:grid-cols-2">
|
|
176
|
-
<
|
|
164
|
+
<span :for="tagOption in tags()" class="contents">
|
|
165
|
+
<Checkbox size="sm" :label="tagOption.name" :checked="tagIds().includes(tagOption.id)" @update:checked="chooseTag(tagOption.id, $event)" />
|
|
166
|
+
</span>
|
|
177
167
|
</div>
|
|
178
168
|
</fieldset>
|
|
179
169
|
</div>
|
|
@@ -238,10 +238,6 @@ function changeSearch(term: string): void {
|
|
|
238
238
|
search.set(String(term || ''))
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
function changeStatus(event: Event): void {
|
|
242
|
-
statusFilter.set((event.target as HTMLSelectElement).value)
|
|
243
|
-
}
|
|
244
|
-
|
|
245
241
|
async function loadEditorContent(post: PostRecord): Promise<void> {
|
|
246
242
|
const requestId = ++contentRequestId
|
|
247
243
|
contentLoading.set(true)
|
|
@@ -388,15 +384,7 @@ onMount(() => { void loadPosts() })
|
|
|
388
384
|
@sort="changeSort"
|
|
389
385
|
>
|
|
390
386
|
<template #toolbar>
|
|
391
|
-
<label
|
|
392
|
-
<span class="sr-only">Filter by status</span>
|
|
393
|
-
<select :value="statusFilter()" @change="changeStatus($event)" class="px-2.5 py-1.5 text-sm bg-white dark:bg-neutral-800 border border-stone-300 rounded-lg dark:border-neutral-600">
|
|
394
|
-
<option value="all">All statuses</option>
|
|
395
|
-
<option value="published">Published</option>
|
|
396
|
-
<option value="draft">Draft</option>
|
|
397
|
-
<option value="archived">Archived</option>
|
|
398
|
-
</select>
|
|
399
|
-
</label>
|
|
387
|
+
<Select v-model:value="statusFilter" ariaLabel="Filter by status" size="sm" placeholder="" :options="[{ value: 'all', label: 'All statuses' }, { value: 'published', label: 'Published' }, { value: 'draft', label: 'Draft' }, { value: 'archived', label: 'Archived' }]" />
|
|
400
388
|
</template>
|
|
401
389
|
|
|
402
390
|
<template #cell="{ row, column }">
|
|
@@ -258,28 +258,10 @@ void loadEntries()
|
|
|
258
258
|
|
|
259
259
|
<div class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
|
|
260
260
|
<div class="relative max-w-sm w-full">
|
|
261
|
-
<
|
|
262
|
-
<span class="absolute left-3 top-1/2 h-4 w-4 text-neutral-400 pointer-events-none -translate-y-1/2 i-hugeicons-search-01"></span>
|
|
263
|
-
<input
|
|
264
|
-
id="seo-search"
|
|
265
|
-
type="search"
|
|
266
|
-
placeholder="Search posts"
|
|
267
|
-
x-model="searchQuery"
|
|
268
|
-
class="block pl-9 pr-3 py-2 w-full text-neutral-900 text-sm dark:text-white placeholder:text-neutral-400 bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/30"
|
|
269
|
-
>
|
|
261
|
+
<SearchFilter v-model:searchValue="searchQuery" placeholder="Search posts" ariaLabel="Search posts" />
|
|
270
262
|
</div>
|
|
271
263
|
<div>
|
|
272
|
-
<
|
|
273
|
-
<select
|
|
274
|
-
id="seo-score-filter"
|
|
275
|
-
x-model="scoreFilter"
|
|
276
|
-
class="block px-3 py-2 text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/30"
|
|
277
|
-
>
|
|
278
|
-
<option value="all">All scores</option>
|
|
279
|
-
<option value="good">Good, 80 or higher</option>
|
|
280
|
-
<option value="medium">Medium, 50 to 79</option>
|
|
281
|
-
<option value="poor">Poor, below 50</option>
|
|
282
|
-
</select>
|
|
264
|
+
<Select v-model:value="scoreFilter" id="seo-score-filter" ariaLabel="Filter by SEO score" placeholder="" :options="[{ value: 'all', label: 'All scores' }, { value: 'good', label: 'Good, 80 or higher' }, { value: 'medium', label: 'Medium, 50 to 79' }, { value: 'poor', label: 'Poor, below 50' }]" />
|
|
283
265
|
</div>
|
|
284
266
|
</div>
|
|
285
267
|
|
|
@@ -55,44 +55,10 @@ function submit(): void {
|
|
|
55
55
|
:closable="!busy()"
|
|
56
56
|
@close="close"
|
|
57
57
|
>
|
|
58
|
-
<form id="seo-editor-form" class="
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
id="seo-focus-keyword"
|
|
63
|
-
name="focus_keyword"
|
|
64
|
-
type="text"
|
|
65
|
-
maxlength="100"
|
|
66
|
-
x-model="focusKeyword"
|
|
67
|
-
class="block mt-1.5 px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/30"
|
|
68
|
-
>
|
|
69
|
-
</div>
|
|
70
|
-
<div>
|
|
71
|
-
<div class="flex items-center justify-between">
|
|
72
|
-
<label for="seo-meta-description" class="block font-medium text-neutral-700 text-sm dark:text-neutral-300">Meta description</label>
|
|
73
|
-
<span class="tabular-nums text-neutral-500 text-xs dark:text-neutral-400">{{ metaDescription().length }}/160</span>
|
|
74
|
-
</div>
|
|
75
|
-
<textarea
|
|
76
|
-
id="seo-meta-description"
|
|
77
|
-
name="meta_description"
|
|
78
|
-
rows="4"
|
|
79
|
-
maxlength="160"
|
|
80
|
-
x-model="metaDescription"
|
|
81
|
-
class="block mt-1.5 px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/30"
|
|
82
|
-
></textarea>
|
|
83
|
-
</div>
|
|
84
|
-
<div>
|
|
85
|
-
<label for="seo-canonical-url" class="block font-medium text-neutral-700 text-sm dark:text-neutral-300">Canonical URL</label>
|
|
86
|
-
<input
|
|
87
|
-
id="seo-canonical-url"
|
|
88
|
-
name="canonical_url"
|
|
89
|
-
type="url"
|
|
90
|
-
inputmode="url"
|
|
91
|
-
placeholder="https://example.com/post"
|
|
92
|
-
x-model="canonicalUrl"
|
|
93
|
-
class="block mt-1.5 px-3 py-2 w-full text-neutral-900 text-sm dark:text-white placeholder:text-neutral-400 bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/30"
|
|
94
|
-
>
|
|
95
|
-
</div>
|
|
58
|
+
<form id="seo-editor-form" class="grid gap-4" @submit.prevent="submit">
|
|
59
|
+
<Input v-model:value="focusKeyword" id="seo-focus-keyword" name="focus_keyword" label="Focus keyword" :maxLength="100" />
|
|
60
|
+
<Textarea v-model:value="metaDescription" id="seo-meta-description" name="meta_description" label="Meta description" :rows="4" :maxLength="160" :showCount="true" />
|
|
61
|
+
<Input v-model:value="canonicalUrl" id="seo-canonical-url" name="canonical_url" label="Canonical URL" type="url" inputmode="url" placeholder="https://example.com/post" />
|
|
96
62
|
</form>
|
|
97
63
|
|
|
98
64
|
<div :if="error()" role="alert" class="mt-4 px-3 py-2 text-red-700 text-sm dark:text-red-300 bg-red-50 dark:bg-red-500/10 border border-red-200 rounded-lg dark:border-red-500/20">
|
|
@@ -11,7 +11,9 @@ const busy = useReactiveProp('busy', false)
|
|
|
11
11
|
const error = useReactiveProp('error', '')
|
|
12
12
|
const name = state('')
|
|
13
13
|
const slug = state('')
|
|
14
|
-
|
|
14
|
+
// Not `description`: a field bound inside the Modal is first read as the Modal's own
|
|
15
|
+
// `description` prop (stacksjs/stacks#3310).
|
|
16
|
+
const descriptionText = state('')
|
|
15
17
|
const slugTouched = state(false)
|
|
16
18
|
const emit = defineEmits(['close', 'submit'])
|
|
17
19
|
let wasOpen = false
|
|
@@ -32,7 +34,7 @@ effect(() => {
|
|
|
32
34
|
if (isOpen && !wasOpen) {
|
|
33
35
|
name.set('')
|
|
34
36
|
slug.set('')
|
|
35
|
-
|
|
37
|
+
descriptionText.set('')
|
|
36
38
|
slugTouched.set(false)
|
|
37
39
|
}
|
|
38
40
|
wasOpen = isOpen
|
|
@@ -63,7 +65,7 @@ function submit(): void {
|
|
|
63
65
|
const draft: TaxonomyDraft = {
|
|
64
66
|
name: name().trim(),
|
|
65
67
|
slug: slugify(slug()),
|
|
66
|
-
description:
|
|
68
|
+
description: descriptionText().trim(),
|
|
67
69
|
}
|
|
68
70
|
emit('submit', draft)
|
|
69
71
|
}
|
|
@@ -77,18 +79,9 @@ function submit(): void {
|
|
|
77
79
|
@close="close"
|
|
78
80
|
>
|
|
79
81
|
<form id="taxonomy-editor-form" class="grid gap-4" @submit.prevent="submit">
|
|
80
|
-
<label
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</label>
|
|
84
|
-
<label>
|
|
85
|
-
<span class="font-medium text-gray-700 text-sm dark:text-neutral-200">Slug</span>
|
|
86
|
-
<input x-model="slug" name="slug" required maxlength="255" class="mt-1 px-3 py-2 w-full font-mono text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700" @input="markSlugTouched" @blur="normalizeSlug" />
|
|
87
|
-
</label>
|
|
88
|
-
<label>
|
|
89
|
-
<span class="font-medium text-gray-700 text-sm dark:text-neutral-200">Description</span>
|
|
90
|
-
<textarea x-model="description" name="description" rows="3" maxlength="1000" class="mt-1 px-3 py-2 w-full text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-gray-300 rounded-md dark:border-neutral-700"></textarea>
|
|
91
|
-
</label>
|
|
82
|
+
<Input v-model:value="name" name="name" label="Name" :required="true" :maxLength="255" />
|
|
83
|
+
<Input v-model:value="slug" name="slug" label="Slug" :required="true" :maxLength="255" :spellcheck="false" :monospace="true" @input="markSlugTouched" @blur="normalizeSlug" />
|
|
84
|
+
<Textarea v-model:value="descriptionText" name="description" label="Description" :rows="3" :maxLength="1000" />
|
|
92
85
|
</form>
|
|
93
86
|
|
|
94
87
|
<div :if="error()" role="alert" class="mt-4 p-3 text-red-700 text-sm dark:text-red-300 bg-red-50 dark:bg-red-950/30 border border-red-200 rounded-lg dark:border-red-900">
|
|
@@ -181,11 +181,7 @@ onMount(() => {
|
|
|
181
181
|
<h2 class="font-semibold text-neutral-900 dark:text-white">Activity Log</h2>
|
|
182
182
|
<p class="mt-1 text-neutral-500 text-xs dark:text-neutral-400">{{ countLabel() }}</p>
|
|
183
183
|
</div>
|
|
184
|
-
<
|
|
185
|
-
<span class="sr-only">Search activity log</span>
|
|
186
|
-
<span aria-hidden="true" class="absolute left-3 top-1/2 h-4 w-4 text-neutral-400 pointer-events-none -translate-y-1/2 i-hugeicons-search-01"></span>
|
|
187
|
-
<input x-model="search" type="search" placeholder="Search activity log" class="block pl-9 pr-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-neutral-300 rounded-lg dark:border-neutral-700 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20">
|
|
188
|
-
</label>
|
|
184
|
+
<div class="w-full sm:w-72"><SearchFilter v-model:searchValue="search" placeholder="Search activity log" ariaLabel="Search activity log" /></div>
|
|
189
185
|
</div>
|
|
190
186
|
|
|
191
187
|
<div :if="loading()" class="flex items-center justify-center py-16 text-neutral-500 text-sm dark:text-neutral-400">
|
|
@@ -246,17 +246,8 @@ onMount(() => {
|
|
|
246
246
|
<p class="mt-1 text-gray-500 text-sm dark:text-neutral-400">No estimated totals or synthetic build activity.</p>
|
|
247
247
|
</div>
|
|
248
248
|
<div class="flex gap-2">
|
|
249
|
-
<
|
|
250
|
-
<
|
|
251
|
-
<option value="all">All statuses</option>
|
|
252
|
-
<option value="success">Success</option>
|
|
253
|
-
<option value="failed">Failed</option>
|
|
254
|
-
<option value="running">Running</option>
|
|
255
|
-
<option value="pending">Pending</option>
|
|
256
|
-
<option value="cancelled">Cancelled</option>
|
|
257
|
-
</select>
|
|
258
|
-
<label class="sr-only" for="deployment-search">Search deployments</label>
|
|
259
|
-
<input id="deployment-search" x-model="search" type="search" placeholder="Search deployments" class="px-3 py-2 w-56 text-gray-900 text-sm dark:text-white bg-white dark:bg-neutral-800 border border-gray-300 rounded-md dark:border-neutral-700" />
|
|
249
|
+
<Select v-model:value="status" id="deployment-status" ariaLabel="Status" placeholder="" :options="[{ value: 'all', label: 'All statuses' }, { value: 'success', label: 'Success' }, { value: 'failed', label: 'Failed' }, { value: 'running', label: 'Running' }, { value: 'pending', label: 'Pending' }, { value: 'cancelled', label: 'Cancelled' }]" />
|
|
250
|
+
<SearchFilter v-model:searchValue="search" placeholder="Search deployments" ariaLabel="Search deployments" class="w-56" />
|
|
260
251
|
</div>
|
|
261
252
|
</div>
|
|
262
253
|
<DeploymentTable :deployments="rows()" :loading="isLoading" />
|
|
@@ -39,11 +39,7 @@ function listClass(): string {
|
|
|
39
39
|
|
|
40
40
|
<section aria-label="Message list" :class="listClass()">
|
|
41
41
|
<div class="px-4 py-2 bg-white dark:bg-neutral-700 border-b border-gray-200 dark:border-neutral-600">
|
|
42
|
-
<
|
|
43
|
-
<div class="relative">
|
|
44
|
-
<span aria-hidden="true" class="absolute left-3 top-1/2 h-4 w-4 text-gray-400 pointer-events-none -translate-y-1/2 i-hugeicons-search-01"></span>
|
|
45
|
-
<input id="inbox-search" x-model="search" type="search" placeholder="Search messages" class="block placeholder-gray-500 dark:placeholder-gray-400 pl-10 pr-3 py-2 w-full text-gray-900 text-sm dark:text-neutral-100 bg-gray-50 dark:bg-neutral-600 border border-gray-300 rounded-md dark:border-neutral-600 focus:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500" @input="emit('search', $event.target.value)" />
|
|
46
|
-
</div>
|
|
42
|
+
<SearchFilter v-model:searchValue="search" placeholder="Search messages" ariaLabel="Search messages" @search="emit('search', $event)" />
|
|
47
43
|
</div>
|
|
48
44
|
|
|
49
45
|
<div class="overflow-y-auto flex-1">
|
|
@@ -229,22 +229,8 @@ onMount(() => {
|
|
|
229
229
|
<p class="mt-1 text-neutral-500 text-sm dark:text-neutral-400">The records declared in config/dns.ts. Changes made directly at your DNS provider do not appear here.</p>
|
|
230
230
|
</div>
|
|
231
231
|
<div class="flex flex-col gap-2 sm:flex-row">
|
|
232
|
-
<
|
|
233
|
-
|
|
234
|
-
<span class="absolute left-3 top-2.5 h-4 w-4 text-neutral-400 i-hugeicons-search-01"></span>
|
|
235
|
-
<input x-model="search" type="search" placeholder="Search records" class="pl-9 pr-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-neutral-300 rounded-lg dark:border-neutral-700 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20" />
|
|
236
|
-
</label>
|
|
237
|
-
<label>
|
|
238
|
-
<span class="sr-only">Filter DNS record type</span>
|
|
239
|
-
<select x-model="typeFilter" class="px-3 py-2 h-10 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-neutral-300 rounded-lg dark:border-neutral-700 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20">
|
|
240
|
-
<option value="all">All types</option>
|
|
241
|
-
<option value="A">A (IPv4 address)</option>
|
|
242
|
-
<option value="AAAA">AAAA (IPv6 address)</option>
|
|
243
|
-
<option value="CNAME">CNAME (alias)</option>
|
|
244
|
-
<option value="MX">MX (mail server)</option>
|
|
245
|
-
<option value="TXT">TXT (text)</option>
|
|
246
|
-
</select>
|
|
247
|
-
</label>
|
|
232
|
+
<div class="sm:w-72"><SearchFilter v-model:searchValue="search" placeholder="Search records" ariaLabel="Search DNS records" /></div>
|
|
233
|
+
<Select v-model:value="typeFilter" ariaLabel="Filter DNS record type" placeholder="" :options="[{ value: 'all', label: 'All types' }, { value: 'A', label: 'A (IPv4 address)' }, { value: 'AAAA', label: 'AAAA (IPv6 address)' }, { value: 'CNAME', label: 'CNAME (alias)' }, { value: 'MX', label: 'MX (mail server)' }, { value: 'TXT', label: 'TXT (text)' }]" />
|
|
248
234
|
</div>
|
|
249
235
|
</div>
|
|
250
236
|
|
|
@@ -269,15 +269,11 @@ onDestroy(() => {
|
|
|
269
269
|
<p :if="generatedAt()" class="text-neutral-500 text-xs dark:text-neutral-500">Snapshot {{ formatDate(generatedAt()) }}</p>
|
|
270
270
|
</div>
|
|
271
271
|
<div class="grid gap-3 sm:grid-cols-2 xl:grid-cols-3 mt-5">
|
|
272
|
-
<
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
<label><span class="sr-only">Filter by type</span><select x-model="type" class="px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-950 border border-neutral-300 rounded-lg dark:border-neutral-700" @change="reloadFilters"><option value="">All types</option><option :for="entry in options().types" :value="entry">{{ entry }}</option></select></label>
|
|
278
|
-
<label><span class="sr-only">Filter by source</span><select x-model="source" class="px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-950 border border-neutral-300 rounded-lg dark:border-neutral-700" @change="reloadFilters"><option value="">All sources</option><option :for="entry in options().sources" :value="entry">{{ entry }}</option></select></label>
|
|
279
|
-
<label><span class="sr-only">Filter by project</span><select x-model="project" class="px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-950 border border-neutral-300 rounded-lg dark:border-neutral-700" @change="reloadFilters"><option value="">All projects</option><option :for="entry in options().projects" :value="entry">{{ entry }}</option></select></label>
|
|
280
|
-
<label><span class="sr-only">Filter by time range</span><select x-model="range" class="px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-950 border border-neutral-300 rounded-lg dark:border-neutral-700" @change="reloadFilters"><option value="1">Last 24 hours</option><option value="7">Last 7 days</option><option value="30">Last 30 days</option><option value="90">Last 90 days</option><option value="all">All time</option></select></label>
|
|
272
|
+
<SearchFilter v-model:searchValue="search" placeholder="Search logs" ariaLabel="Search system logs" @search="scheduleSearch" />
|
|
273
|
+
<Select v-model:value="type" ariaLabel="Filter by type" placeholder="" :options="[{ value: '', label: 'All types' }, ...options().types.map(entry => ({ value: entry, label: entry }))]" @change="reloadFilters" />
|
|
274
|
+
<Select v-model:value="source" ariaLabel="Filter by source" placeholder="" :options="[{ value: '', label: 'All sources' }, ...options().sources.map(entry => ({ value: entry, label: entry }))]" @change="reloadFilters" />
|
|
275
|
+
<Select v-model:value="project" ariaLabel="Filter by project" placeholder="" :options="[{ value: '', label: 'All projects' }, ...options().projects.map(entry => ({ value: entry, label: entry }))]" @change="reloadFilters" />
|
|
276
|
+
<Select v-model:value="range" ariaLabel="Filter by time range" placeholder="" :options="[{ value: '1', label: 'Last 24 hours' }, { value: '7', label: 'Last 7 days' }, { value: '30', label: 'Last 30 days' }, { value: '90', label: 'Last 90 days' }, { value: 'all', label: 'All time' }]" @change="reloadFilters" />
|
|
281
277
|
<Button :if="hasFilters()" variant="secondary" @click="resetFilters"><span class="h-4 w-4 i-hugeicons-cancel-01"></span>Reset filters</Button>
|
|
282
278
|
</div>
|
|
283
279
|
</div>
|
|
@@ -306,7 +302,7 @@ onDestroy(() => {
|
|
|
306
302
|
<footer :if="logs().length > 0" class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between px-5 py-4 text-neutral-500 text-sm dark:text-neutral-400 bg-neutral-50 dark:bg-neutral-800/50 border-neutral-200 border-t dark:border-neutral-700">
|
|
307
303
|
<p>Showing {{ pageStart() }} to {{ pageEnd() }} of {{ pagination().total }}</p>
|
|
308
304
|
<div class="flex gap-2 items-center">
|
|
309
|
-
<
|
|
305
|
+
<Select v-model:value="perPage" ariaLabel="Logs per page" size="sm" placeholder="" :options="[{ value: '10', label: '10 per page' }, { value: '25', label: '25 per page' }, { value: '50', label: '50 per page' }, { value: '100', label: '100 per page' }]" @change="reloadFilters" />
|
|
310
306
|
<Button variant="secondary" iconOnly :disabled="pagination().page <= 1" ariaLabel="Previous log page" @click="previousPage"><span class="block h-4 w-4 i-hugeicons-arrow-left-01"></span></Button>
|
|
311
307
|
<span class="font-mono text-neutral-600 text-xs dark:text-neutral-300">{{ pagination().page }} / {{ pagination().totalPages }}</span>
|
|
312
308
|
<Button variant="secondary" iconOnly :disabled="pagination().page >= pagination().totalPages" ariaLabel="Next log page" @click="nextPage"><span class="block h-4 w-4 i-hugeicons-arrow-right-01"></span></Button>
|
|
@@ -230,11 +230,7 @@ onMount(() => {
|
|
|
230
230
|
<section>
|
|
231
231
|
<div class="flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">
|
|
232
232
|
<div><h2 class="font-semibold text-neutral-900 dark:text-white">Configured mailboxes</h2><p class="mt-1 text-neutral-500 text-sm dark:text-neutral-400">Add or change addresses in config/email.ts.</p></div>
|
|
233
|
-
<
|
|
234
|
-
<span class="sr-only">Search mailboxes</span>
|
|
235
|
-
<span class="absolute left-3 top-2.5 h-4 w-4 text-neutral-400 i-hugeicons-search-01"></span>
|
|
236
|
-
<input x-model="search" type="search" placeholder="Search mailboxes" class="pl-9 pr-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-neutral-300 rounded-lg dark:border-neutral-700 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20" />
|
|
237
|
-
</label>
|
|
233
|
+
<div class="sm:w-72"><SearchFilter v-model:searchValue="search" placeholder="Search mailboxes" ariaLabel="Search mailboxes" /></div>
|
|
238
234
|
</div>
|
|
239
235
|
|
|
240
236
|
<div :if="loading()" class="flex items-center justify-center mt-4 py-16 text-neutral-500 text-sm dark:text-neutral-400 bg-white dark:bg-neutral-900 border border-neutral-200 rounded-xl dark:border-neutral-700">
|
|
@@ -294,11 +294,7 @@ onMount(() => {
|
|
|
294
294
|
<h2 class="font-semibold text-neutral-900 dark:text-white">Compute inventory</h2>
|
|
295
295
|
<p class="mt-1 text-neutral-500 text-sm dark:text-neutral-400">Configuration and deployment state remain separate so a declaration is never mistaken for a running server.</p>
|
|
296
296
|
</div>
|
|
297
|
-
<
|
|
298
|
-
<span class="sr-only">Search server inventory</span>
|
|
299
|
-
<span class="absolute left-3 top-2.5 h-4 w-4 text-neutral-400 i-hugeicons-search-01"></span>
|
|
300
|
-
<input x-model="search" type="search" placeholder="Search inventory" class="pl-9 pr-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-neutral-900 border border-neutral-300 rounded-lg dark:border-neutral-700 focus:border-blue-500 focus:outline-none focus:ring-2 focus:ring-blue-500/20" />
|
|
301
|
-
</label>
|
|
297
|
+
<div class="sm:w-72"><SearchFilter v-model:searchValue="search" placeholder="Search inventory" ariaLabel="Search server inventory" /></div>
|
|
302
298
|
</div>
|
|
303
299
|
|
|
304
300
|
<div :if="loading()" class="flex items-center justify-center mt-4 py-16 text-neutral-500 text-sm dark:text-neutral-400 bg-white dark:bg-neutral-900 border border-neutral-200 rounded-xl dark:border-neutral-700">
|
|
@@ -87,19 +87,10 @@ onMount(() => {
|
|
|
87
87
|
|
|
88
88
|
<div class="grid gap-3 grid-cols-1 md:grid-cols-[minmax(0,1fr)_12rem_12rem]">
|
|
89
89
|
<div>
|
|
90
|
-
<
|
|
91
|
-
<input id="job-search" x-model="searchQuery" type="search" placeholder="Search job names" class="block px-3 py-2 w-full text-gray-900 text-sm dark:text-white dark:bg-neutral-800 border border-gray-300 rounded-md dark:border-neutral-700" />
|
|
90
|
+
<SearchFilter v-model:searchValue="searchQuery" placeholder="Search job names" ariaLabel="Search jobs" class="w-full" />
|
|
92
91
|
</div>
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
<option :for="queue in queues()" :value="queue">{{ queue }}</option>
|
|
96
|
-
</select>
|
|
97
|
-
<select x-model="selectedStatus" aria-label="Status" class="block px-3 py-2 text-gray-900 text-sm dark:text-white dark:bg-neutral-800 border border-gray-300 rounded-md dark:border-neutral-700">
|
|
98
|
-
<option value="all">All statuses</option>
|
|
99
|
-
<option value="queued">Queued</option>
|
|
100
|
-
<option value="processing">Processing</option>
|
|
101
|
-
<option value="failed">Failed</option>
|
|
102
|
-
</select>
|
|
92
|
+
<Select v-model:value="selectedQueue" ariaLabel="Queue" placeholder="" :options="[{ value: 'all', label: 'All queues' }, ...queues().map(queue => ({ value: queue, label: queue }))]" />
|
|
93
|
+
<Select v-model:value="selectedStatus" ariaLabel="Status" placeholder="" :options="[{ value: 'all', label: 'All statuses' }, { value: 'queued', label: 'Queued' }, { value: 'processing', label: 'Processing' }, { value: 'failed', label: 'Failed' }]" />
|
|
103
94
|
</div>
|
|
104
95
|
|
|
105
96
|
<div :if="loadError()" class="p-4 text-red-700 text-sm dark:text-red-300 bg-red-50 dark:bg-red-950/30 border border-red-200 rounded-lg dark:border-red-900">{{ loadError() }}</div>
|