Compare commits
No commits in common. "f60b2960c570d9a84c010e62080a6bd7fa7e70ee" and "07bddf5eb9c416e097e2df86af667fd3e1eacbf8" have entirely different histories.
f60b2960c5
...
07bddf5eb9
|
|
@ -67,7 +67,6 @@ const props = defineProps<{
|
||||||
selectedMatchingHits?: TypesenseParagraphHit[] | null
|
selectedMatchingHits?: TypesenseParagraphHit[] | null
|
||||||
accentColor?: 'green' | 'blue'
|
accentColor?: 'green' | 'blue'
|
||||||
noTrackVisit?: boolean
|
noTrackVisit?: boolean
|
||||||
author?: string
|
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const emits = defineEmits(['close'])
|
const emits = defineEmits(['close'])
|
||||||
|
|
@ -886,10 +885,6 @@ const items = computed(() => {
|
||||||
<UIcon name="ph:file-dashed" class="size-4 text-carpared" />
|
<UIcon name="ph:file-dashed" class="size-4 text-carpared" />
|
||||||
{{ $t('search.draft') }}
|
{{ $t('search.draft') }}
|
||||||
</p>
|
</p>
|
||||||
<p v-if="author" class="text-sm text-highlighted flex items-center gap-1.5 shrink-0">
|
|
||||||
<UIcon name="ph:user-circle" :class="['size-4', iconColor]" />
|
|
||||||
<span class="italic">{{ author }}</span>
|
|
||||||
</p>
|
|
||||||
<p v-if="safeDate()" class="text-sm text-highlighted flex items-center gap-1.5 shrink-0">
|
<p v-if="safeDate()" class="text-sm text-highlighted flex items-center gap-1.5 shrink-0">
|
||||||
<UIcon name="ph:calendar" :class="['size-4', iconColor]" />
|
<UIcon name="ph:calendar" :class="['size-4', iconColor]" />
|
||||||
{{ safeDate() }}
|
{{ safeDate() }}
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,10 @@ interface Props {
|
||||||
accentColor: 'green' | 'blue'
|
accentColor: 'green' | 'blue'
|
||||||
emptyDetailText: string
|
emptyDetailText: string
|
||||||
showDraft?: boolean
|
showDraft?: boolean
|
||||||
author?: string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const props = withDefaults(defineProps<Props>(), {
|
const props = withDefaults(defineProps<Props>(), {
|
||||||
showDraft: false,
|
showDraft: false
|
||||||
author: ''
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const QUERY_BY = 'text'
|
const QUERY_BY = 'text'
|
||||||
|
|
@ -597,14 +595,6 @@ function metaLocation(meta: DocMeta | undefined): string {
|
||||||
</template>
|
</template>
|
||||||
</UDashboardNavbar>
|
</UDashboardNavbar>
|
||||||
|
|
||||||
<div
|
|
||||||
v-if="author"
|
|
||||||
class="px-4 sm:px-6 py-2 border-b border-default flex items-center gap-1.5 text-xs text-muted"
|
|
||||||
>
|
|
||||||
<UIcon name="ph:user-circle" :class="['size-3.5 shrink-0', colors.icon]" />
|
|
||||||
<span class="italic">{{ author }}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="px-4 sm:px-6 py-3 border-b border-default flex items-center gap-2" id="inputField">
|
<div class="px-4 sm:px-6 py-3 border-b border-default flex items-center gap-2" id="inputField">
|
||||||
<UInput
|
<UInput
|
||||||
v-model="query"
|
v-model="query"
|
||||||
|
|
@ -750,7 +740,6 @@ function metaLocation(meta: DocMeta | undefined): string {
|
||||||
:selected-hit="selectedHit"
|
:selected-hit="selectedHit"
|
||||||
:selected-matching-hits="selectedMatchingHits"
|
:selected-matching-hits="selectedMatchingHits"
|
||||||
:accent-color="accentColor"
|
:accent-color="accentColor"
|
||||||
:author="author"
|
|
||||||
@close="isPanelOpen = false"
|
@close="isPanelOpen = false"
|
||||||
/>
|
/>
|
||||||
<div v-else-if="!isMobile" class="hidden lg:flex flex-1 items-center justify-center">
|
<div v-else-if="!isMobile" class="hidden lg:flex flex-1 items-center justify-center">
|
||||||
|
|
@ -775,7 +764,6 @@ function metaLocation(meta: DocMeta | undefined): string {
|
||||||
:selected-hit="selectedHit"
|
:selected-hit="selectedHit"
|
||||||
:selected-matching-hits="selectedMatchingHits"
|
:selected-matching-hits="selectedMatchingHits"
|
||||||
:accent-color="accentColor"
|
:accent-color="accentColor"
|
||||||
:author="author"
|
|
||||||
@close="isPanelOpen = false"
|
@close="isPanelOpen = false"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,6 @@ const { total: favTotal } = storeToRefs(favorites)
|
||||||
const history = useHistoryStore()
|
const history = useHistoryStore()
|
||||||
const { total: histTotal } = storeToRefs(history)
|
const { total: histTotal } = storeToRefs(history)
|
||||||
|
|
||||||
const toCarpa = () => {
|
|
||||||
window.location.href = `https://carpa.com/${$i18n.locale.value}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
const links = computed(() => {
|
const links = computed(() => {
|
||||||
const links = [
|
const links = [
|
||||||
|
|
@ -121,9 +118,9 @@ const links = computed(() => {
|
||||||
class="bg-elevated/25 bg-gradient-to-tr from-blue-100 to-white" :ui="{ footer: 'lg:border-t lg:border-default' }">
|
class="bg-elevated/25 bg-gradient-to-tr from-blue-100 to-white" :ui="{ footer: 'lg:border-t lg:border-default' }">
|
||||||
<template #header="{ collapsed }">
|
<template #header="{ collapsed }">
|
||||||
<div v-if="!collapsed" class="mt-2 flex justify-center">
|
<div v-if="!collapsed" class="mt-2 flex justify-center">
|
||||||
<img v-on:click="toCarpa" src="/logo.svg" class="w-full cursor-pointer" alt="Buscador - La Gran Carpa Catedral" />
|
<img src="/logo.svg" class="w-full" alt="Buscador - La Gran Carpa Catedral" />
|
||||||
</div>
|
</div>
|
||||||
<img v-if="collapsed" v-on:click="toCarpa" src="/logo_round.svg" class="w-full cursor-pointer" alt="Buscador - La Gran Carpa Catedral" />
|
<img v-if="collapsed" src="/logo_round.svg" class="w-full" alt="Buscador - La Gran Carpa Catedral" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #default="{ collapsed }">
|
<template #default="{ collapsed }">
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,5 @@
|
||||||
nav-title-key="nav.conferences_ts"
|
nav-title-key="nav.conferences_ts"
|
||||||
accent-color="blue"
|
accent-color="blue"
|
||||||
:empty-detail-text="$t('ui.empty_conferences')"
|
:empty-detail-text="$t('ui.empty_conferences')"
|
||||||
author="Dr. William Soto Santiago"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -285,11 +285,6 @@ function highlightedFor(hit: TypesenseHit, field: string): string | null {
|
||||||
<template #leading>
|
<template #leading>
|
||||||
<UDashboardSidebarCollapse />
|
<UDashboardSidebarCollapse />
|
||||||
</template>
|
</template>
|
||||||
<template #trailing>
|
|
||||||
<UBadge :label="total" variant="subtle" :ui="{
|
|
||||||
base: 'total-results'
|
|
||||||
}" />
|
|
||||||
</template>
|
|
||||||
</UDashboardNavbar>
|
</UDashboardNavbar>
|
||||||
|
|
||||||
<!-- Banner: se muestra cuando NO hay clave de desarrollador -->
|
<!-- Banner: se muestra cuando NO hay clave de desarrollador -->
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,5 @@
|
||||||
accent-color="green"
|
accent-color="green"
|
||||||
:empty-detail-text="$t('ui.empty_bible_studies')"
|
:empty-detail-text="$t('ui.empty_bible_studies')"
|
||||||
:show-draft="true"
|
:show-draft="true"
|
||||||
author="Dr. José Benjamín Pérez Matos"
|
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -30,28 +30,14 @@ const toast = useToast()
|
||||||
|
|
||||||
const ENTRELINEAS_COLLECTION = 'entrelineas'
|
const ENTRELINEAS_COLLECTION = 'entrelineas'
|
||||||
|
|
||||||
const { t } = useI18n()
|
const COLLECTION_LABELS: Record<string, string> = {
|
||||||
|
activities: 'Actividades',
|
||||||
|
conferences: 'Conferencias',
|
||||||
|
entrelineas: 'Entre Líneas'
|
||||||
|
}
|
||||||
|
|
||||||
function labelFor(c: string): string {
|
function labelFor(c: string): string {
|
||||||
const labels: Record<string, string> = {
|
return COLLECTION_LABELS[c] || c.charAt(0).toUpperCase() + c.slice(1)
|
||||||
activities: t('nav.bible_studies_ts'),
|
|
||||||
'bible-studies-ts': t('nav.bible_studies_ts'),
|
|
||||||
conferences: t('nav.conferences_ts'),
|
|
||||||
'conferences-ts': t('nav.conferences_ts'),
|
|
||||||
entrelineas: t('nav.between_the_lines'),
|
|
||||||
}
|
|
||||||
return labels[c] || c.charAt(0).toUpperCase() + c.slice(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
const COLLECTION_AUTHORS: Record<string, string> = {
|
|
||||||
'bible-studies-ts': 'Dr. José Benjamín Pérez Matos',
|
|
||||||
activities: 'Dr. José Benjamín Pérez Matos',
|
|
||||||
'conferences-ts': 'Dr. William Soto Santiago',
|
|
||||||
conferences: 'Dr. William Soto Santiago',
|
|
||||||
}
|
|
||||||
|
|
||||||
function authorFor(c: string): string {
|
|
||||||
return COLLECTION_AUTHORS[c] || ''
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Filtros: pestaña por colección o "todos".
|
// Filtros: pestaña por colección o "todos".
|
||||||
|
|
@ -71,9 +57,9 @@ const tabs = computed(() => {
|
||||||
items.push({
|
items.push({
|
||||||
value: c,
|
value: c,
|
||||||
label: `${labelFor(c)} (${count})`,
|
label: `${labelFor(c)} (${count})`,
|
||||||
icon: (c === 'activities' || c === 'bible-studies-ts')
|
icon: c === 'activities'
|
||||||
? 'i-lucide-calendar-days'
|
? 'i-lucide-calendar-days'
|
||||||
: (c === 'conferences' || c === 'conferences-ts')
|
: c === 'conferences'
|
||||||
? 'i-lucide-mic'
|
? 'i-lucide-mic'
|
||||||
: c === 'entrelineas'
|
: c === 'entrelineas'
|
||||||
? 'i-lucide-book-open'
|
? 'i-lucide-book-open'
|
||||||
|
|
@ -106,7 +92,6 @@ const selected = ref<HistoryItem | null>(null)
|
||||||
|
|
||||||
const selectedHit = computed<SearchHit | null>(() => selected.value?.hit ?? null)
|
const selectedHit = computed<SearchHit | null>(() => selected.value?.hit ?? null)
|
||||||
const selectedCollection = computed<string | undefined>(() => selected.value?.collection)
|
const selectedCollection = computed<string | undefined>(() => selected.value?.collection)
|
||||||
const selectedAuthor = computed(() => authorFor(selectedCollection.value ?? ''))
|
|
||||||
|
|
||||||
const isEntrelinea = computed(() => selectedCollection.value === ENTRELINEAS_COLLECTION)
|
const isEntrelinea = computed(() => selectedCollection.value === ENTRELINEAS_COLLECTION)
|
||||||
|
|
||||||
|
|
@ -567,13 +552,6 @@ const nearLimit = computed(() => histTotal.value >= Math.floor(HISTORY_LIMIT * 0
|
||||||
<span v-if="hasDate(it.hit)">{{ safeDate(it.hit) }}</span>
|
<span v-if="hasDate(it.hit)">{{ safeDate(it.hit) }}</span>
|
||||||
<USeparator v-if="formatLocation(it.hit)" orientation="vertical" class="h-3 hidden sm:block" />
|
<USeparator v-if="formatLocation(it.hit)" orientation="vertical" class="h-3 hidden sm:block" />
|
||||||
<span class="truncate">{{ formatLocation(it.hit) }}</span>
|
<span class="truncate">{{ formatLocation(it.hit) }}</span>
|
||||||
<template v-if="authorFor(it.collection)">
|
|
||||||
<USeparator orientation="vertical" class="h-3 hidden sm:block" />
|
|
||||||
<span class="inline-flex items-center gap-1 italic truncate">
|
|
||||||
<UIcon name="ph:user-circle" class="size-3 shrink-0" />
|
|
||||||
{{ authorFor(it.collection) }}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -596,7 +574,6 @@ const nearLimit = computed(() => histTotal.value >= Math.floor(HISTORY_LIMIT * 0
|
||||||
:paragraphs="detailParagraphs"
|
:paragraphs="detailParagraphs"
|
||||||
:paragraphs-loading="detailParagraphsLoading"
|
:paragraphs-loading="detailParagraphsLoading"
|
||||||
:collection="selectedCollection!"
|
:collection="selectedCollection!"
|
||||||
:author="selectedAuthor"
|
|
||||||
no-track-visit
|
no-track-visit
|
||||||
@close="selected = null"
|
@close="selected = null"
|
||||||
/>
|
/>
|
||||||
|
|
@ -626,7 +603,6 @@ const nearLimit = computed(() => histTotal.value >= Math.floor(HISTORY_LIMIT * 0
|
||||||
:paragraphs="detailParagraphs"
|
:paragraphs="detailParagraphs"
|
||||||
:paragraphs-loading="detailParagraphsLoading"
|
:paragraphs-loading="detailParagraphsLoading"
|
||||||
:collection="selectedCollection!"
|
:collection="selectedCollection!"
|
||||||
:author="selectedAuthor"
|
|
||||||
no-track-visit
|
no-track-visit
|
||||||
@close="selected = null"
|
@close="selected = null"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -19,20 +19,6 @@ export interface Release {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const releases: Release[] = [
|
export const releases: Release[] = [
|
||||||
{
|
|
||||||
version: '0.8',
|
|
||||||
date: '5 de junio, 2026',
|
|
||||||
title: 'Autoría visible en Estudios Bíblicos, Conferencias e Historial',
|
|
||||||
changes: [
|
|
||||||
{ type: 'nuevo', text: 'Nombre del autor visible en el panel lateral de Estudios Bíblicos (Dr. José Benjamín Pérez Matos)' },
|
|
||||||
{ type: 'nuevo', text: 'Nombre del autor visible en el panel lateral de Conferencias (Dr. William Soto Santiago)' },
|
|
||||||
{ type: 'nuevo', text: 'Nombre del autor visible en el panel de detalle del documento para ambas secciones' },
|
|
||||||
{ type: 'nuevo', text: 'El historial muestra el nombre del autor en cada entrada de Estudios Bíblicos y Conferencias' },
|
|
||||||
{ type: 'mejora', text: 'El panel de detalle abierto desde el historial también muestra el autor correspondiente' },
|
|
||||||
{ type: 'fix', text: 'Las colecciones en el historial ahora muestran "Estudios Bíblicos" y "Conferencias" en lugar de los identificadores internos' },
|
|
||||||
{ type: 'fix', text: 'Corrección de etiquetas en inglés para las pestañas del historial' }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
version: '0.7',
|
version: '0.7',
|
||||||
date: '31 de mayo, 2026 11:50PM',
|
date: '31 de mayo, 2026 11:50PM',
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
"nav": {
|
"nav": {
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
"bible_studies": "Bible Studies",
|
"bible_studies": "Bible Studies",
|
||||||
"bible_studies_ts": "Bible Studies",
|
"bible_studies_ts": "Bible Studies Typesense",
|
||||||
"conferences_ts": "Conferences",
|
"conferences_ts": "Conferences Typesense",
|
||||||
"conferences": "Conferences",
|
"conferences": "Conferences",
|
||||||
"between_the_lines": "Between the Lines",
|
"between_the_lines": "Between the Lines",
|
||||||
"my_list": "My List",
|
"my_list": "My List",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue