Frag das Portal als schwebende Blase, Suchliste im Bild (0.65.0)
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.3 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.4 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.4 (pull_request) Has been skipped
CI / Browser-Tests (pull_request) Successful in 14m21s
CI / PHP 8.3 / mysql:8.4-1 (pull_request) Successful in 19m7s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 5m20s
CI / Build-Artefakte aktuell (pull_request) Successful in 5m46s

- AskBubble unten rechts (abschaltbar), Gespräch bleibt beim Seitenwechsel
- Antwortanzeige als gemeinsame Komponente AskAnswer
- Trefferliste der Kopfzeilen-Suche in der App-Oberfläche linksbündig
- CI: optionale Kern-Plugins für Browser-Tests einschalten, Suchtest mit Demo-Inhalt

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-10-07 19:02:18 +00:00
parent 55c1d85ed7
commit 4d58364104
192 changed files with 717 additions and 507 deletions

View file

@ -14,6 +14,8 @@ import { highlight } from '@/lib/highlight';
*/
const props = defineProps({
initial: { type: String, default: '' },
// Ausrichtung der Trefferliste: links, wenn das Feld links in der Kopfzeile steht (Mitarbeiter-App)
align: { type: String, default: 'right' },
});
const root = ref(null);
@ -118,7 +120,8 @@ const showPanel = computed(() => open.value && query.value.trim().length >= 2);
<div
v-if="showPanel"
id="global-search-results"
class="absolute top-full right-0 z-50 mt-2 max-h-[min(70vh,560px)] w-[min(92vw,30rem)] overflow-y-auto rounded-lg border bg-popover text-popover-foreground shadow-lg"
class="absolute top-full z-50 mt-2 max-h-[min(70vh,560px)] w-[min(92vw,30rem)] overflow-y-auto rounded-lg border bg-popover text-popover-foreground shadow-lg"
:class="align === 'left' ? 'left-0' : 'right-0'"
>
<template v-if="groups.length">
<section v-for="group in groups" :key="group.key" class="border-b last:border-b-0">
@ -140,7 +143,7 @@ const showPanel = computed(() => open.value && query.value.trim().length >= 2);
<span class="min-w-0 flex-1">
<span class="block truncate text-sm font-medium" v-html="highlight(item.title, query)" />
<span v-if="item.meta" class="block truncate text-xs text-muted-foreground">{{ item.meta }}</span>
<span v-if="item.excerpt" class="mt-0.5 line-clamp-1 text-xs text-muted-foreground" v-html="highlight(item.excerpt, query)" />
<span v-if="item.excerpt" class="mt-0.5 line-clamp-1 text-xs [overflow-wrap:anywhere] text-muted-foreground" v-html="highlight(item.excerpt, query)" />
</span>
</component>
</li>