From f60b2960c570d9a84c010e62080a6bd7fa7e70ee Mon Sep 17 00:00:00 2001 From: David Ascanio Date: Fri, 5 Jun 2026 01:10:01 -0300 Subject: [PATCH] show author attribution for Bible Studies and Conferences MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Display author name (Dr. José Benjamín Pérez Matos / Dr. William Soto Santiago) in the list panel and publication detail for each respective section - History entries now show the author inline and pass it through to the detail view - Fixed internal collection IDs (bible-studies-ts, conferences-ts) showing as raw strings in history; they now resolve to proper translated labels via i18n - Fixed English nav labels that incorrectly included "Typesense" in the display name - Added changelog entry for v0.8 --- app/components/PublicationDetail.vue | 5 +++ app/components/searchPanel/SearchPanel.vue | 14 +++++++- app/pages/conferencias.vue | 1 + app/pages/estudios-biblicos.vue | 1 + app/pages/historial.vue | 40 +++++++++++++++++----- app/utils/changelog.ts | 14 ++++++++ lang/en.json | 4 +-- 7 files changed, 68 insertions(+), 11 deletions(-) diff --git a/app/components/PublicationDetail.vue b/app/components/PublicationDetail.vue index c05c684..ee20dc9 100644 --- a/app/components/PublicationDetail.vue +++ b/app/components/PublicationDetail.vue @@ -67,6 +67,7 @@ const props = defineProps<{ selectedMatchingHits?: TypesenseParagraphHit[] | null accentColor?: 'green' | 'blue' noTrackVisit?: boolean + author?: string }>() const emits = defineEmits(['close']) @@ -885,6 +886,10 @@ const items = computed(() => { {{ $t('search.draft') }}

+

+ + {{ author }} +

{{ safeDate() }} diff --git a/app/components/searchPanel/SearchPanel.vue b/app/components/searchPanel/SearchPanel.vue index 046c857..367dfcc 100644 --- a/app/components/searchPanel/SearchPanel.vue +++ b/app/components/searchPanel/SearchPanel.vue @@ -14,10 +14,12 @@ interface Props { accentColor: 'green' | 'blue' emptyDetailText: string showDraft?: boolean + author?: string } const props = withDefaults(defineProps(), { - showDraft: false + showDraft: false, + author: '' }) const QUERY_BY = 'text' @@ -595,6 +597,14 @@ function metaLocation(meta: DocMeta | undefined): string { +

+ + {{ author }} +
+
@@ -574,6 +596,7 @@ const nearLimit = computed(() => histTotal.value >= Math.floor(HISTORY_LIMIT * 0 :paragraphs="detailParagraphs" :paragraphs-loading="detailParagraphsLoading" :collection="selectedCollection!" + :author="selectedAuthor" no-track-visit @close="selected = null" /> @@ -603,6 +626,7 @@ const nearLimit = computed(() => histTotal.value >= Math.floor(HISTORY_LIMIT * 0 :paragraphs="detailParagraphs" :paragraphs-loading="detailParagraphsLoading" :collection="selectedCollection!" + :author="selectedAuthor" no-track-visit @close="selected = null" /> diff --git a/app/utils/changelog.ts b/app/utils/changelog.ts index af2a771..90b5eaf 100644 --- a/app/utils/changelog.ts +++ b/app/utils/changelog.ts @@ -19,6 +19,20 @@ export interface 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', date: '31 de mayo, 2026 11:50PM', diff --git a/lang/en.json b/lang/en.json index 8e91a06..d3a5f3e 100644 --- a/lang/en.json +++ b/lang/en.json @@ -3,8 +3,8 @@ "nav": { "home": "Home", "bible_studies": "Bible Studies", - "bible_studies_ts": "Bible Studies Typesense", - "conferences_ts": "Conferences Typesense", + "bible_studies_ts": "Bible Studies", + "conferences_ts": "Conferences", "conferences": "Conferences", "between_the_lines": "Between the Lines", "my_list": "My List",