From 4893c8ddb057b852e38d8448f52690870fba662b Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Fri, 17 Jul 2026 21:06:54 +0800 Subject: [PATCH] revert: revoke all ai-generated content --- frontend/src/components/DateTimePicker.vue | 673 ------------------ .../calendar-event/EventLoopEditor.vue | 310 -------- .../src/components/calendar/CalendarGrid.vue | 115 --- .../calendar/CollectionToggleItem.vue | 36 - .../src/components/calendar/ScheduleList.vue | 112 --- frontend/src/components/calendar/types.ts | 26 - frontend/src/views/Calendar.vue | 342 +-------- frontend/src/views/CalendarEvent.vue | 322 +-------- 8 files changed, 7 insertions(+), 1929 deletions(-) delete mode 100644 frontend/src/components/DateTimePicker.vue delete mode 100644 frontend/src/components/calendar-event/EventLoopEditor.vue delete mode 100644 frontend/src/components/calendar/CalendarGrid.vue delete mode 100644 frontend/src/components/calendar/CollectionToggleItem.vue delete mode 100644 frontend/src/components/calendar/ScheduleList.vue delete mode 100644 frontend/src/components/calendar/types.ts diff --git a/frontend/src/components/DateTimePicker.vue b/frontend/src/components/DateTimePicker.vue deleted file mode 100644 index 3ce5ac0..0000000 --- a/frontend/src/components/DateTimePicker.vue +++ /dev/null @@ -1,673 +0,0 @@ - - - - - - - diff --git a/frontend/src/components/calendar-event/EventLoopEditor.vue b/frontend/src/components/calendar-event/EventLoopEditor.vue deleted file mode 100644 index 0dc9560..0000000 --- a/frontend/src/components/calendar-event/EventLoopEditor.vue +++ /dev/null @@ -1,310 +0,0 @@ - - - - - diff --git a/frontend/src/components/calendar/CalendarGrid.vue b/frontend/src/components/calendar/CalendarGrid.vue deleted file mode 100644 index 90a7750..0000000 --- a/frontend/src/components/calendar/CalendarGrid.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/frontend/src/components/calendar/CollectionToggleItem.vue b/frontend/src/components/calendar/CollectionToggleItem.vue deleted file mode 100644 index df816b8..0000000 --- a/frontend/src/components/calendar/CollectionToggleItem.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/frontend/src/components/calendar/ScheduleList.vue b/frontend/src/components/calendar/ScheduleList.vue deleted file mode 100644 index b33ae57..0000000 --- a/frontend/src/components/calendar/ScheduleList.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/frontend/src/components/calendar/types.ts b/frontend/src/components/calendar/types.ts deleted file mode 100644 index e3a93f0..0000000 --- a/frontend/src/components/calendar/types.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** A single analyzed event occurrence placed into a calendar day cell. */ -export interface DisplayEvent { - uuid: string; - belongTo: string; - title: string; - description: string; - color: string; - isVisible: boolean; - isLocked: boolean; - loopText: string; - timezoneWarning: boolean; - start: string; - end: string; -} - -/** A single day cell in the 6x7 calendar grid, carrying its events. */ -export interface DisplayDay { - /** 1-12 */ - month: number; - day: number; - /** 1-7, Monday = 1 */ - dayOfWeek: number; - isCurrentMonth: boolean; - subcalendar: string; - events: DisplayEvent[]; -} diff --git a/frontend/src/views/Calendar.vue b/frontend/src/views/Calendar.vue index e409b91..5dc7276 100644 --- a/frontend/src/views/Calendar.vue +++ b/frontend/src/views/Calendar.vue @@ -1,344 +1,8 @@ - + diff --git a/frontend/src/views/CalendarEvent.vue b/frontend/src/views/CalendarEvent.vue index b4db3cb..7cfaba0 100644 --- a/frontend/src/views/CalendarEvent.vue +++ b/frontend/src/views/CalendarEvent.vue @@ -1,322 +1,8 @@ - + - +