From ccaaa6a6c51bb2ab4a033053e24cde3e9a7e18c2 Mon Sep 17 00:00:00 2001 From: Padreug Date: Tue, 16 Jun 2026 12:29:24 +0200 Subject: [PATCH] refactor(events): remove the standalone calendar page The calendar is now a date-picker popup on the feed (and, next, a visual on My Tickets), so the dedicated /events/calendar page and route are no longer needed. Delete EventsCalendarPage.vue, drop its route, and update the stale openCreate comment. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/modules/events/index.ts | 9 --- .../events/views/EventsCalendarPage.vue | 70 ------------------- src/modules/events/views/EventsPage.vue | 6 +- 3 files changed, 2 insertions(+), 83 deletions(-) delete mode 100644 src/modules/events/views/EventsCalendarPage.vue diff --git a/src/modules/events/index.ts b/src/modules/events/index.ts index df67f58..e592b7e 100644 --- a/src/modules/events/index.ts +++ b/src/modules/events/index.ts @@ -33,15 +33,6 @@ export const eventsModule = createModulePlugin({ requiresAuth: false, }, }, - { - path: '/events/calendar', - name: 'events-calendar', - component: () => import('./views/EventsCalendarPage.vue'), - meta: { - title: 'Calendar', - requiresAuth: false, - }, - }, { path: '/events/map', name: 'events-map', diff --git a/src/modules/events/views/EventsCalendarPage.vue b/src/modules/events/views/EventsCalendarPage.vue deleted file mode 100644 index 9040fcd..0000000 --- a/src/modules/events/views/EventsCalendarPage.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/modules/events/views/EventsPage.vue b/src/modules/events/views/EventsPage.vue index eabda4f..9cb625c 100644 --- a/src/modules/events/views/EventsPage.vue +++ b/src/modules/events/views/EventsPage.vue @@ -84,10 +84,8 @@ function handleSelectEvent(event: Event) { router.push({ name: 'event-detail', params: { id: event.id } }) } -// Create-activity CTA in the Hosting view. Calendar-tab → page lives -// on /events/calendar; the icon button at the end of the date -// strip is the only entry point now that the bottom-nav Calendar -// tab is gone. +// Create-activity CTA in the Hosting view. Replaces the old bottom-nav +// Create entry; shown only while the Hosting filter is active. function openCreate() { eventsStore.editingEvent = null eventsStore.showCreateDialog = true