From 2f973bf8afb8d77aefd4228a345f96d41b46fefb Mon Sep 17 00:00:00 2001 From: mARTin Date: Wed, 25 Mar 2026 12:31:36 +0100 Subject: [PATCH] fix: show provider icon on all events, better save button feedback - Always show provider icon (Google/Apple/Outlook/Synology) at bottom-right of event blocks using FontAwesome icons - Save button shows "Erstelle..." / "Creating..." while saving instead of just "..." to reduce user confusion during sync v1.74.3 Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- src/components/CalendarEventModal.tsx | 4 +-- src/components/WeeklyView.tsx | 36 +++++++++------------------ 3 files changed, 15 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 9164796..3bb321d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.74.2", + "version": "1.74.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/CalendarEventModal.tsx b/src/components/CalendarEventModal.tsx index 0031bf1..e8bf6a7 100644 --- a/src/components/CalendarEventModal.tsx +++ b/src/components/CalendarEventModal.tsx @@ -908,7 +908,7 @@ export default function CalendarEventModal({ boxShadow: '0 1px 3px rgba(0,0,0,0.1)', }} > - {isSaving ? '...' : (language === 'de' ? 'Speichern' : 'Save')} + {isSaving ? (language === 'de' ? 'Erstelle...' : 'Creating...') : (language === 'de' ? 'Speichern' : 'Save')} @@ -975,7 +975,7 @@ export default function CalendarEventModal({ borderRadius: 8, cursor: 'pointer', opacity: isSaving ? 0.6 : 1, boxShadow: '0 1px 3px rgba(0,0,0,0.1)', - }}>{isSaving ? '...' : (language === 'de' ? 'Speichern' : 'Save')} + }}>{isSaving ? (language === 'de' ? 'Erstelle...' : 'Creating...') : (language === 'de' ? 'Speichern' : 'Save')} diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 551c236..0ee69d2 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -8131,30 +8131,18 @@ export default function WeeklyView() { {event.location && (
{event.location}
)} - {(event.isRecurring || event.description || profile.showCalendarProviderIcon) && ( -
- {event.description && ( - - - - )} - {event.isRecurring && } - {profile.showCalendarProviderIcon && ( - {event.source} { (e.target as HTMLImageElement).style.display = 'none'; }} - /> - )} -
- )} +
+ {event.description && ( + + + + )} + {event.isRecurring && } + +
{/* Bottom resize handle */} {event.editable && (