From 2e6f215157980f28193a37e5c91d150920faed48 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 16 Nov 2025 16:20:13 +0100 Subject: [PATCH] Rename 'Events' to 'Tasks' in NostrFeed to avoid confusion with Events module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed terminology in the scheduled events section of NostrFeed to use "Tasks" instead of "Events" to prevent confusion with the Events module (which handles event ticketing). **Changes:** - "Today's Events" → "Today's Tasks" - "Yesterday's Events" → "Yesterday's Tasks" - "Tomorrow's Events" → "Tomorrow's Tasks" - "Events for Mon, Jan 15" → "Tasks for Mon, Jan 15" - Updated comments: "Scheduled Events" → "Scheduled Tasks" **Rationale:** - **NostrFeed scheduled items** = Daily tasks and announcements (NIP-52 calendar events) - **Events module** = Event ticketing system (concerts, conferences, etc.) - Using "Tasks" makes it clear these are to-do items, not ticketed events Empty state message already correctly used "tasks" terminology and remains unchanged. 🐢 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../nostr-feed/components/NostrFeed.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/modules/nostr-feed/components/NostrFeed.vue b/src/modules/nostr-feed/components/NostrFeed.vue index 2d0aa4c..9c431df 100644 --- a/src/modules/nostr-feed/components/NostrFeed.vue +++ b/src/modules/nostr-feed/components/NostrFeed.vue @@ -101,10 +101,10 @@ const { getEventReactions, subscribeToReactions, toggleLike } = useReactions() // Use scheduled events service const { getEventsForSpecificDate, getCompletion, toggleComplete, allCompletions } = useScheduledEvents() -// Selected date for viewing events (defaults to today) +// Selected date for viewing scheduled tasks (defaults to today) const selectedDate = ref(new Date().toISOString().split('T')[0]) -// Get scheduled events for the selected date (reactive) +// Get scheduled tasks for the selected date (reactive) const scheduledEventsForDate = computed(() => getEventsForSpecificDate(selectedDate.value)) // Navigate to previous day @@ -143,20 +143,20 @@ const dateDisplayText = computed(() => { const tomorrowStr = tomorrow.toISOString().split('T')[0] if (selectedDate.value === today) { - return "Today's Events" + return "Today's Tasks" } else if (selectedDate.value === yesterdayStr) { - return "Yesterday's Events" + return "Yesterday's Tasks" } else if (selectedDate.value === tomorrowStr) { - return "Tomorrow's Events" + return "Tomorrow's Tasks" } else { - // Format as "Events for Mon, Jan 15" + // Format as "Tasks for Mon, Jan 15" const date = new Date(selectedDate.value + 'T00:00:00') const formatted = date.toLocaleDateString('en-US', { weekday: 'short', month: 'short', day: 'numeric' }) - return `Events for ${formatted}` + return `Tasks for ${formatted}` } }) @@ -466,7 +466,7 @@ function cancelDelete() {
- +
@@ -506,7 +506,7 @@ function cancelDelete() {
- +