diff --git a/package.json b/package.json index 0c8d88a..8481648 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.111.5", + "version": "1.111.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 91667b1..63724e0 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -6369,6 +6369,15 @@ export default function WeeklyView() { )} + {/* Jump to Date — mirrored from nav cluster */} + + {/* CENTER SECTION: Week/Year, Goal, Focus Mode - Reveal on Hover */} @@ -6565,6 +6574,8 @@ export default function WeeklyView() { +
+ {/* Always visible: Search, Settings, User */} @@ -9251,6 +9262,24 @@ export default function WeeklyView() { connections={connections} weekStartDay={profile.weekStartDay ?? 1} language={profile.language} + savedLocations={(profile.viewSettings as any)?.savedLocations || []} + customReminderMinutes={(profile.viewSettings as any)?.customReminderMinutes || []} + onSaveLocation={(loc: string) => { + const current: string[] = (profile.viewSettings as any)?.savedLocations || []; + if (current.includes(loc)) return; + const updated = [loc, ...current].slice(0, 20); + const newVS = { ...(profile.viewSettings as any), savedLocations: updated }; + setProfile((p: any) => ({ ...p, viewSettings: newVS })); + saveSetting('viewSettings', newVS); + }} + onSaveCustomReminder={(minutes: number) => { + const current: number[] = (profile.viewSettings as any)?.customReminderMinutes || []; + if (current.includes(minutes)) return; + const updated = [minutes, ...current].slice(0, 10); + const newVS = { ...(profile.viewSettings as any), customReminderMinutes: updated }; + setProfile((p: any) => ({ ...p, viewSettings: newVS })); + saveSetting('viewSettings', newVS); + }} onClose={() => setCalendarEventModal({ ...calendarEventModal, isOpen: false }) }