From 75bb3301f9b0e22ee9504fac5c60f7fec90ba3e8 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Mon, 11 May 2026 14:33:23 +0200 Subject: [PATCH] fix(rail): collapse left rail icons to fit screens < 960px height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Nav arrows (5 icons) → single ArrowLeftRight flyout with prev/next week/day + today - Undo/Redo/Refresh/Print (4 icons) → single Undo2 history flyout - Removed duplicate standalone dark mode toggle (already in Appearance flyout) - Same flyout sections added to mobile icon rail - Nav flyout also added to mobile rail v1.110.6 --- package.json | 2 +- src/components/WeeklyView.tsx | 71 +++++++++++++++++++++++++++-------- 2 files changed, 56 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index e1e5af3..9bad571 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.110.5", + "version": "1.110.6", "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 397a9b3..5d63e07 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -5906,12 +5906,8 @@ export default function WeeklyView() { {/* Expand toggle */} {railSep} - {/* Navigation */} - - - - - + {/* Navigation flyout */} + {railSep} {/* View flyout */} {railSep} - {/* History & Utilities */} - - - - - + {/* History & Utilities flyout */} +
{railSep} {/* Settings (cogwheel) + User menu at bottom */} @@ -5980,6 +5972,29 @@ export default function WeeklyView() { {/* Flyout panels — rendered outside the rail so they can overflow */} {!leftRailExpanded && flyoutSection && (
+ {flyoutSection === "nav" && ( + <> +
{profile.language === "de" ? "Navigation" : "Navigation"}
+
+ + + + + +
+ + )} + {flyoutSection === "history" && ( + <> +
{profile.language === "de" ? "Verlauf" : "History"}
+
+ + + + +
+ + )} {flyoutSection === "view" && ( <>
{profile.language === "de" ? "Ansicht" : "View"}
@@ -6134,6 +6149,9 @@ export default function WeeklyView() { {/* Collapse — same icon as header toggle */} {railSep} + {/* Navigation flyout */} + + {railSep} {/* View flyout */} {railSep} - {/* History & Utilities */} - - - + {/* History & Utilities flyout */} +
{railSep} @@ -6174,6 +6190,29 @@ export default function WeeklyView() { <>
setFlyoutSection(null)} style={{ position: "fixed", inset: 0, zIndex: 202 }} />
e.stopPropagation()}> + {flyoutSection === "nav" && ( + <> +
{profile.language === "de" ? "Navigation" : "Navigation"}
+
+ + + + + +
+ + )} + {flyoutSection === "history" && ( + <> +
{profile.language === "de" ? "Verlauf" : "History"}
+
+ + + + +
+ + )} {flyoutSection === "view" && ( <>
{profile.language === "de" ? "Ansicht" : "View"}