feat: show notifications, the command palette and the account avatar in every app's phone header

This commit is contained in:
Linus Rath
2026-10-28 03:05:41 +01:00
parent 295c0d6c49
commit ae412e0cda
8 changed files with 295 additions and 81 deletions
+2
View File
@@ -8,6 +8,7 @@ import { useAuthStore, redirectToLogin, saveRedirectAfterLogin } from "@/stores/
import { useEmailStore } from "@/stores/email-store";
import { usePluginStore } from "@/stores/plugin-store";
import { NavigationRail } from "@/components/layout/navigation-rail";
import { PhoneAppHeader } from "@/components/layout/phone-header-actions";
import { SidebarAppsModal } from "@/components/layout/sidebar-apps-modal";
import { InlineAppView } from "@/components/layout/inline-app-view";
import { MvTopBar } from "@/components/layout/mv-top-bar";
@@ -144,6 +145,7 @@ export function PluginPageApp({ linkSegments = [] }: PluginPageAppProps) {
</div>
)}
<div className="flex flex-col flex-1 min-w-0">
{!isEmbedded && <PhoneAppHeader title={page?.title ?? ""} below="md" />}
{inlineApp && <InlineAppView apps={loadedApps} activeAppId={inlineApp.id} onClose={closeInlineApp} />}
<div className={cn("flex flex-col flex-1 min-h-0", inlineApp && "hidden")}>
{content}