diff --git a/package.json b/package.json index f994ea8..d33e7e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.106.2", + "version": "1.106.3", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 3bb438a..6eceeca 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -92,6 +92,7 @@ import { Bot, Printer, Star, + LogOut, } from "lucide-react"; const stripHtml = (html: string) => html.replace(/<[^>]*>/g, '').trim(); @@ -1253,6 +1254,7 @@ export default function WeeklyView() { const [showQuickSettings, setShowQuickSettings] = useState(false); const [leftRailExpanded, setLeftRailExpanded] = useState(false); const [flyoutSection, setFlyoutSection] = useState(null); + const [showRailUserMenu, setShowRailUserMenu] = useState(false); const [flyoutY, setFlyoutY] = useState(0); const flyoutTimerRef = useRef(null); const [showProjectsSidebar, setShowProjectsSidebar] = useState(false); @@ -5935,12 +5937,33 @@ export default function WeeklyView() { {railSep} {/* Settings (cogwheel) + User menu at bottom */} - setShowSettings(true)} - language={profile.language} - trigger={} - /> +
+ + {showRailUserMenu && ( + <> +
setShowRailUserMenu(false)} /> +
+
+

{profile.language === "de" ? "Angemeldet als" : "Signed in as"}

+

{session?.user?.email || "User"}

+
+ +
+ +
+ + )} +
)}
@@ -6344,7 +6367,7 @@ export default function WeeklyView() { {/* RIGHT SECTION: Navigation & Tools */} -
+
{/* Secondary actions — hidden on tablet, visible on desktop */}