mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
refactor(settings): rename Operations section to Maintenance
This commit is contained in:
@@ -52,7 +52,7 @@ async function confirmSyncFiles() {
|
||||
} catch (e) {
|
||||
const msg = e instanceof Error ? e.message : ''
|
||||
if (msg.includes('400')) {
|
||||
toast.error('Metadata file write is not enabled. Turn it on in Operations settings.')
|
||||
toast.error('Metadata file write is not enabled. Turn it on in Maintenance settings.')
|
||||
} else {
|
||||
toast.error(`File sync failed for "${lib.name}"`)
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ onMounted(() => {})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<SettingsPageHeader title="Operations" subtitle="Background jobs and data operations." />
|
||||
<SettingsPageHeader title="Maintenance" subtitle="Manage background tasks, system indices, and maintenance operations." />
|
||||
|
||||
<div>
|
||||
<p class="settings-group-label">Recommendations</p>
|
||||
@@ -42,9 +42,9 @@ onMounted(() => {})
|
||||
<Sparkles :size="16" class="text-primary" />
|
||||
</div>
|
||||
<div>
|
||||
<p class="settings-label">Rebuild recommendation embeddings</p>
|
||||
<p class="settings-label">Refresh recommendation index</p>
|
||||
<p class="settings-hint leading-relaxed max-w-sm">
|
||||
Generates vector embeddings for all books. Run this after a large import or if recommendations seem off. Processes in the background.
|
||||
Update the recommendations engine with your latest library changes. This process runs in the background.
|
||||
</p>
|
||||
<p v-if="queued !== null" class="flex items-center gap-1.5 text-xs text-green-600 dark:text-green-400 mt-2">
|
||||
<Check :size="12" />
|
||||
|
||||
@@ -25,7 +25,7 @@ const sections = computed<Section[]>(() => {
|
||||
result.push({ label: 'Metadata', routeName: 'settings-admin-metadata' })
|
||||
}
|
||||
if (su || perms.includes('manage_app_settings')) {
|
||||
result.push({ label: 'Operations', routeName: 'settings-admin-maintenance' })
|
||||
result.push({ label: 'Maintenance', routeName: 'settings-admin-maintenance' })
|
||||
}
|
||||
if (su || perms.includes('manage_app_settings')) {
|
||||
result.push({ label: 'Staging', routeName: 'settings-admin-staging' })
|
||||
|
||||
@@ -8,7 +8,7 @@ const maxWidth = computed(() => (route.meta.maxWidth as string | undefined) ?? '
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col my-2 min-h-[calc(100%-1.5rem)] overflow-hidden rounded-xl border border-border/70 bg-card/30">
|
||||
<div class="flex flex-col my-2 min-h-[calc(100%-1.25rem)] overflow-hidden rounded-xl border border-border/70 bg-card/30">
|
||||
<SettingsHeader />
|
||||
<main class="flex-1 overflow-y-auto overflow-x-hidden">
|
||||
<div class="px-6 py-6" :class="maxWidth">
|
||||
|
||||
Reference in New Issue
Block a user