mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 19:59:39 +02:00
fix(onboarding): move modal outside flex layout containers in 8 apps
The MiniOnboardingModal was nested inside .layout-container (flex) divs in Chat, Clock, Contacts, Context, ManaDeck, Picture, Presi, and Todo. This could interfere with fixed positioning, causing the modal to render incorrectly. Moved all modals to the same nesting level as SessionExpiredBanner, outside layout containers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9aa5169f8e
commit
491c71e2b8
8 changed files with 45 additions and 39 deletions
|
|
@ -216,12 +216,13 @@
|
|||
</div>
|
||||
{/if}
|
||||
</main>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if chatOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={chatOnboarding} appName="Chat" appEmoji="💬" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if chatOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={chatOnboarding} appName="Chat" appEmoji="💬" />
|
||||
{/if}
|
||||
|
||||
<SessionExpiredBanner locale={$locale || 'de'} loginHref="/login" />
|
||||
</AuthGate>
|
||||
|
||||
|
|
|
|||
|
|
@ -310,12 +310,13 @@
|
|||
emptyText="Keine Ergebnisse"
|
||||
searchingText="Suche..."
|
||||
/>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if clockOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={clockOnboarding} appName="Uhr" appEmoji="⏰" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if clockOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={clockOnboarding} appName="Uhr" appEmoji="⏰" />
|
||||
{/if}
|
||||
|
||||
<SessionExpiredBanner locale={$locale || 'de'} loginHref="/login" />
|
||||
</AuthGate>
|
||||
|
||||
|
|
|
|||
|
|
@ -384,13 +384,14 @@
|
|||
{#if newContactModalStore.isOpen}
|
||||
<NewContactModal onClose={() => newContactModalStore.close()} />
|
||||
{/if}
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if contactsOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={contactsOnboarding} appName="Kontakte" appEmoji="👥" />
|
||||
{/if}
|
||||
</div>
|
||||
</SplitPaneContainer>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if contactsOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={contactsOnboarding} appName="Kontakte" appEmoji="👥" />
|
||||
{/if}
|
||||
|
||||
<SessionExpiredBanner locale={$locale || 'de'} loginHref="/login" />
|
||||
</AuthGate>
|
||||
|
||||
|
|
|
|||
|
|
@ -268,13 +268,13 @@
|
|||
emptyText="Keine Ergebnisse"
|
||||
searchingText="Suche..."
|
||||
/>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if contextOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={contextOnboarding} appName="Context" appEmoji="📄" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if contextOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={contextOnboarding} appName="Context" appEmoji="📄" />
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
.layout-container {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -245,10 +245,10 @@
|
|||
{@render children()}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if manadeckOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={manadeckOnboarding} appName="ManaDeck" appEmoji="🃏" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if manadeckOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={manadeckOnboarding} appName="ManaDeck" appEmoji="🃏" />
|
||||
{/if}
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -270,12 +270,13 @@
|
|||
|
||||
<!-- Keyboard Shortcuts Modal -->
|
||||
<KeyboardShortcutsModal />
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if pictureOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={pictureOnboarding} appName="Picture" appEmoji="🎨" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if pictureOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={pictureOnboarding} appName="Picture" appEmoji="🎨" />
|
||||
{/if}
|
||||
|
||||
<SessionExpiredBanner locale={$locale || 'de'} loginHref="/auth/login" />
|
||||
</AuthGate>
|
||||
|
||||
|
|
|
|||
|
|
@ -205,12 +205,12 @@
|
|||
{@render children()}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if presiOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={presiOnboarding} appName="Presi" appEmoji="📊" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if presiOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={presiOnboarding} appName="Presi" appEmoji="📊" />
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
|
|
|
|||
|
|
@ -449,12 +449,14 @@
|
|||
{@render children()}
|
||||
</div>
|
||||
</main>
|
||||
<!-- Onboarding Modal -->
|
||||
{#if todoOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={todoOnboarding} appName="Todo" appEmoji="✅" />
|
||||
{/if}
|
||||
</div>
|
||||
</SplitPaneContainer>
|
||||
|
||||
<!-- Onboarding Modal -->
|
||||
{#if todoOnboarding.shouldShow}
|
||||
<MiniOnboardingModal store={todoOnboarding} appName="Todo" appEmoji="✅" />
|
||||
{/if}
|
||||
|
||||
<SessionExpiredBanner locale={$locale || 'de'} loginHref="/login" />
|
||||
</AuthGate>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue