mirror of
https://github.com/temetro/temetro.git
synced 2026-09-04 14:55:28 +00:00
frontend: fix onboarding bounce, mobile sidebar btn, notif deep-links, analysis header
- Fix clinic onboarding loop: refresh session after setActive before navigating, surface setActive errors, and guard AppAuthGuard's onboarding redirect race (#1) - Add a mobile-only floating top-right SidebarTrigger so the sidebar is reachable when the offcanvas sidebar is closed on phones (#5) - Make notifications clickable: navigate to the source (conversation/patient) and mark read; MessagesView/PatientsView honor ?conversation= / ?file= deep links (#6) - Analysis page: add an Overview header with a time-range segmented control and a Customize popover that shows/hides sections; range slices month-based charts (#10) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { AppAuthGuard } from "@/components/auth/app-auth-guard";
|
||||
import { CommandPaletteProvider } from "@/components/command-palette";
|
||||
import { DashboardSidebar } from "@/components/sidebar-02/app-sidebar";
|
||||
import { MobileSidebarTrigger } from "@/components/sidebar-02/mobile-sidebar-trigger";
|
||||
import { SidebarProvider } from "@/components/ui/sidebar";
|
||||
|
||||
export default function AppLayout({
|
||||
@@ -14,6 +15,7 @@ export default function AppLayout({
|
||||
<SidebarProvider>
|
||||
<div className="relative flex h-dvh w-full">
|
||||
<DashboardSidebar />
|
||||
<MobileSidebarTrigger />
|
||||
{children}
|
||||
</div>
|
||||
</SidebarProvider>
|
||||
|
||||
Reference in New Issue
Block a user