Sidebar redesign, dropdown fixes, and soft-delete UI #57

Merged
uz1mani merged 50 commits from staging into main 2026-03-19 00:08:16 +00:00
14 changed files with 1539 additions and 309 deletions
Showing only changes of commit 6fcb6df295 - Show all commits

View File

@@ -95,7 +95,12 @@ function LayoutInner({ children }: { children: React.ReactNode }) {
return <LoadingOverlay logoSrc="/pulse_icon_no_margins.png" title="Pulse" portal={false} /> return <LoadingOverlay logoSrc="/pulse_icon_no_margins.png" title="Pulse" portal={false} />
} }
// Authenticated site pages: full Dokploy-style layout (sidebar + utility bar) // While auth is loading on a site page, render nothing to prevent flash of public header
if (auth.loading && isSitePage) {
return null
}
// Authenticated site pages: full sidebar layout
// DashboardShell inside children handles everything // DashboardShell inside children handles everything
if (isAuthenticated && isSitePage) { if (isAuthenticated && isSitePage) {
return ( return (

View File

@@ -23,7 +23,7 @@ import {
const SIDEBAR_KEY = 'pulse_sidebar_collapsed' const SIDEBAR_KEY = 'pulse_sidebar_collapsed'
const EXPANDED = 256 const EXPANDED = 256
const COLLAPSED = 56 const COLLAPSED = 64
type IconWeight = 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone' type IconWeight = 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone'