From a20f6673ec8b50705fc59fe293298f5779527ddd Mon Sep 17 00:00:00 2001 From: mARTin Date: Tue, 17 Mar 2026 11:43:26 +0100 Subject: [PATCH] fix: declutter iPad/tablet header by hiding secondary controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On tablet (≤1024px), hide days-to-show, time range, slot duration, and goal/quote from header. Move days and slot controls into the overflow menu. Only view switcher icons + KW/year + navigation remain in the header bar. v1.43.2 --- package.json | 2 +- src/components/WeeklyView.tsx | 43 ++++++++++++++++++++++++++++------- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 18234ec..bcbf26f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.43.1", + "version": "1.43.2", "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 7e60be3..99eb66d 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -5767,9 +5767,9 @@ export default function WeeklyView() { - {/* Days to Show */} + {/* Days to Show — desktop only (available in sidebar on tablet) */}
@@ -5788,10 +5788,10 @@ export default function WeeklyView() { ))}
- {/* Time Range */} + {/* Time Range — desktop only (available in sidebar on tablet) */} {showTimeGrid && (
@@ -5831,10 +5831,10 @@ export default function WeeklyView() {
)} - {/* Slot Duration */} + {/* Slot Duration — desktop only (available in sidebar on tablet) */} {showTimeGrid && (
@@ -5927,8 +5927,8 @@ export default function WeeklyView() {
- {/* Goal */} -
+ {/* Goal — hidden on tablet to save space */} +
{syncError ? (
@@ -6076,6 +6076,33 @@ export default function WeeklyView() { +
+
+ {language === "de" ? "Tage" : "Days"}: + {[1, 2, 3, 5, 7].map((num) => ( + + ))} +
+ {showTimeGrid && ( +
+ {language === "de" ? "Slot" : "Slot"}: + {[15, 30, 60].map((duration) => ( + + ))} +
+ )}
)}