From 07594aeac02b12c973af31a314f6db70d91d19e6 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Mon, 11 May 2026 23:55:20 -0500 Subject: [PATCH 1/6] Fixing ui issues - adding better color highlights - added bg to separate areas. --- app/assets/css/main.css | 27 ++-- app/components/inbox/InboxActivity.vue | 188 +++++++++++-------------- app/components/inbox/InboxList.vue | 117 +++++++-------- 3 files changed, 152 insertions(+), 180 deletions(-) diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 4fb4c40..738e134 100755 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -41,25 +41,26 @@ /* Client-side highlights inside the detail body. */ mark.search-match { - background-color: #fde68a; - color: #78350f; - padding: 0 2px; + background-color: #fdff32; + color: #000; + padding: 2px; border-radius: 2px; font-weight: 600; - box-shadow: 0 0 0 1px #f59e0b inset; + box-shadow: 0 0 0 1px #e9ff32 inset; } .dark mark.search-match { - background-color: #78350f; - color: #fde68a; - box-shadow: 0 0 0 1px #f59e0b inset; + background-color: #fdff32; + color: #000; + box-shadow: 0 0 0 1px #e9ff32 inset; } /* The currently-focused match (the one the user navigated to). */ mark.search-match.is-current { - background-color: #f97316; - color: #ffffff; - box-shadow: 0 0 0 2px #c2410c inset; + background-color: #8cff32; + padding: 2px; + color: #000; + box-shadow: 0 0 0 2px #8cff32 inset; animation: search-match-pulse 0.9s ease-out 1; } @@ -70,7 +71,7 @@ mark.search-match.is-current { } @keyframes search-match-pulse { - 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.75), 0 0 0 2px #c2410c inset; } - 70% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0), 0 0 0 2px #c2410c inset; } - 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 0 0 2px #c2410c inset; } + 0% { box-shadow: 0 0 0 0 #e9ff32, 0 0 0 2px #8cff32 inset; } + 70% { box-shadow: 0 0 0 14px rgba(249, 115, 22, 0), 0 0 0 2px #8cff32 inset; } + 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 0 0 2px #8cff32 inset; } } diff --git a/app/components/inbox/InboxActivity.vue b/app/components/inbox/InboxActivity.vue index 90eb03c..5c7cd68 100755 --- a/app/components/inbox/InboxActivity.vue +++ b/app/components/inbox/InboxActivity.vue @@ -367,30 +367,90 @@ function onInputKey(e: KeyboardEvent) { - + + + + -
-
-

+

+
+

+ {{ safeDate(activity) }}

-

+

+ {{ formatLocation(activity) }}

-
    +
    + + + + + + + + + + + + + + + + + + +
    + +
-
- -
-
- - - -
- - - - - - - - - - - -
- +
+

No hay contenido disponible para esta coincidencia. @@ -484,34 +482,6 @@ function onInputKey(e: KeyboardEvent) { verla en el sitio.

- - -
diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index f044a0d..b0a6468 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -674,7 +674,7 @@ useIntersectionObserver( :ref="(el) => { activitiesRefs[row.activity._id] = el as Element | null }" >
-
-
-
- - +
+
+
+ + + + +
+
+ +

+ {{ safeDate(row.activity) }} + {{ formatLocation(row.activity) }} +

+ +
+
- - + + Coincidencia en el documento (abre para ubicarla con la búsqueda interna) +
+
-
-

- {{ safeDate(row.activity) }} - - {{ formatLocation(row.activity) }} -

- -
- - Coincidencia en el documento (abre para ubicarla con la búsqueda interna) + +
+
-
- -
- - -
- -
- - - Coincide en: - {{ row.extraFields.map(fieldLabel).join(', ') }} - + v-if="!row.extraSnippets.length && row.extraFields.length" + class="mt-1.5 text-xs text-muted flex items-center gap-1.5 " + > + + + Coincide en: + {{ row.extraFields.map(fieldLabel).join(', ') }} + +
From 79f3ff56d5beeace09d72132c0f341692ec7a299 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Tue, 12 May 2026 00:14:11 -0500 Subject: [PATCH 2/6] Fixing color badges in favorites list --- app/pages/favoritos.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/pages/favoritos.vue b/app/pages/favoritos.vue index a079ad1..a825106 100644 --- a/app/pages/favoritos.vue +++ b/app/pages/favoritos.vue @@ -411,8 +411,9 @@ const mobileActions = computed(() => [[ :label="labelFor(it.collection)" size="xs" variant="subtle" - color="neutral" - class="mb-1 capitalize" + + class="mb-1 uppercase font-semibold" + :color="it.collection=='activities'?'success':'info'" />
{{ it.hit?.title || 'Sin título' }} From b6d7933857953569c8b88b9c881acf858ba83cda Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Tue, 12 May 2026 00:16:14 -0500 Subject: [PATCH 3/6] Fixing card colors. --- app/components/inbox/InboxList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index b0a6468..18572d5 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -674,7 +674,7 @@ useIntersectionObserver( :ref="(el) => { activitiesRefs[row.activity._id] = el as Element | null }" >
{ activitiesRefs[row.activity._id] = el as Element | null }" >
- {{ safeDate(row.activity) }} - {{ formatLocation(row.activity) }} + {{ safeDate(row.activity) }} + {{ formatLocation(row.activity) }}

@@ -718,7 +718,7 @@ useIntersectionObserver( Coincidencia en el documento (abre para ubicarla con la búsqueda interna)
From 3e79c2ee16d6e64e1e9f5535b170cf9518e171c9 Mon Sep 17 00:00:00 2001 From: Julio Ruiz Date: Tue, 12 May 2026 00:45:29 -0500 Subject: [PATCH 5/6] Adding approximate amount of results into the list. --- app/components/inbox/InboxList.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index 5930c8f..1b60e14 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -618,7 +618,9 @@ const rows = computed(() => { body: bodyResult?.html ?? null, bodyApproximate: bodyResult?.approximate ?? false, extraSnippets, - extraFields + extraFields, + matchesPosition: activity._matchesPosition, + bodyMatchCount: activity._matchesPosition?.body?.length } }) @@ -688,6 +690,9 @@ useIntersectionObserver(
+ + + Date: Tue, 12 May 2026 00:48:23 -0500 Subject: [PATCH 6/6] Changed approx results variant style. --- app/components/inbox/InboxList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue index 1b60e14..031c819 100755 --- a/app/components/inbox/InboxList.vue +++ b/app/components/inbox/InboxList.vue @@ -691,7 +691,7 @@ useIntersectionObserver(
- +