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
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:
parent
55c1d85ed7
commit
4d58364104
192 changed files with 717 additions and 507 deletions
|
|
@ -20,6 +20,7 @@ import AppLauncher from '@/components/apps/AppLauncher.vue';
|
|||
import PersonAvatar from '@/components/PersonAvatar.vue';
|
||||
import NavLink from '@/components/nav/NavLink.vue';
|
||||
import BottomNav from '@/components/nav/BottomNav.vue';
|
||||
import AskBubble from '@/components/ask/AskBubble.vue';
|
||||
import AppIcon from '@/components/AppIcon.vue';
|
||||
import GlobalSearchBox from '@/components/GlobalSearchBox.vue';
|
||||
import PageContent from '@/pagebuilder/PageContent.vue';
|
||||
|
|
@ -57,6 +58,10 @@ const embedded = computed(() => !!page.props.embedded);
|
|||
const navigation = computed(() => page.props.navigation);
|
||||
// Mitarbeiter-App am Handy: untere Menüleiste statt Burger-Menü (nicht eingebettet und nur angemeldet)
|
||||
const bottomNav = computed(() => isApp.value && !embedded.value && !!user.value);
|
||||
// „Frag das Portal“ als schwebende Blase – nicht auf der eigenen Seite und nicht bei
|
||||
// Seiten, die die ganze Höhe füllen (z. B. Nachrichten: dort liegt unten rechts das Eingabefeld)
|
||||
const askBubble = computed(() => !!page.props.ask?.bubble && !embedded.value && !!user.value
|
||||
&& frame.width !== 'app' && !page.url.startsWith('/frag-das-portal'));
|
||||
|
||||
// Was nicht in die Kopfzeile passt, kommt unter „Mehr“. Gemessen wird an einer
|
||||
// unsichtbaren Kopie der Menüpunkte – so passt es bei jeder Breite und Beschriftung.
|
||||
|
|
@ -194,7 +199,7 @@ const themeOptions = [
|
|||
<BrandLogo :inverted="headerStyle !== 'light'" compact />
|
||||
</Link>
|
||||
|
||||
<GlobalSearchBox v-if="isApp" :initial="searchQuery" class="hidden w-56 shrink-0 md:block xl:w-72" />
|
||||
<GlobalSearchBox v-if="isApp" :initial="searchQuery" align="left" class="hidden w-56 shrink-0 md:block xl:w-72" />
|
||||
|
||||
<nav ref="navBox" class="relative hidden h-full min-w-0 flex-1" :class="{ 'lg:block': !burgerOnDesktop }" aria-label="Hauptnavigation">
|
||||
<!-- Unsichtbare Kopie zum Messen der Breiten -->
|
||||
|
|
@ -372,5 +377,7 @@ const themeOptions = [
|
|||
</template>
|
||||
</div>
|
||||
|
||||
<Toaster position="bottom-right" />
|
||||
<AskBubble v-if="askBubble" :above-bottom-nav="bottomNav" />
|
||||
<!-- Meldungen über der Blase, damit sie sie nicht verdecken -->
|
||||
<Toaster position="bottom-right" :offset="askBubble ? { bottom: '6rem', right: '1.5rem' } : undefined" :mobile-offset="askBubble ? { bottom: bottomNav ? '9rem' : '5.5rem' } : undefined" />
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue