diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 1aac6f0..d84293e 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -81,7 +81,6 @@ function onGlobalKeydown(e: KeyboardEvent) { case "p": router.push("/projects"); break; case "r": router.push("/rules"); break; case "g": router.push("/graph"); break; - case "l": router.push("/calendar"); break; case "x": router.push("/trash"); break; } return; @@ -190,12 +189,6 @@ onUnmounted(() => { p Projects -
- g - + - l - Calendar -
g + diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts index c0aa114..93ffbea 100644 --- a/frontend/src/api/client.ts +++ b/frontend/src/api/client.ts @@ -374,72 +374,6 @@ export async function apiStreamPost( } } -// --------------------------------------------------------------------------- -// Calendar events -// --------------------------------------------------------------------------- - -export interface EventEntry { - id: number; - uid: string; - title: string; - start_dt: string; - end_dt: string | null; - all_day: boolean; - description: string; - location: string; - color: string; - recurrence: string | null; - caldav_uid: string; - project_id: number | null; - user_id: number; - created_at: string | null; - updated_at: string | null; -} - -export interface EventCreatePayload { - title: string; - start_dt: string; - end_dt?: string; - all_day?: boolean; - description?: string; - location?: string; - color?: string; - recurrence?: string; - project_id?: number; -} - -export interface EventUpdatePayload { - title?: string; - start_dt?: string; - end_dt?: string; - all_day?: boolean; - description?: string; - location?: string; - color?: string; - recurrence?: string | null; - project_id?: number; -} - -export async function listEvents(from: string, to: string): Promise { - return apiGet(`/api/events?from=${encodeURIComponent(from)}&to=${encodeURIComponent(to)}`); -} - -export async function createEvent(payload: EventCreatePayload): Promise { - return apiPost('/api/events', payload); -} - -export async function getEvent(id: number): Promise { - return apiGet(`/api/events/${id}`); -} - -export async function updateEvent(id: number, payload: EventUpdatePayload): Promise { - return apiPatch(`/api/events/${id}`, payload); -} - -export async function deleteEvent(id: number): Promise { - return apiDelete(`/api/events/${id}`); -} - // ─── API Keys ───────────────────────────────────────────────────────────────── export interface ApiKeyEntry { diff --git a/frontend/src/components/AppHeader.vue b/frontend/src/components/AppHeader.vue index a61689e..06e41b3 100644 --- a/frontend/src/components/AppHeader.vue +++ b/frontend/src/components/AppHeader.vue @@ -47,7 +47,6 @@ router.afterEach(() => { @@ -93,7 +92,6 @@ router.afterEach(() => {
Dashboard Browse - Calendar Projects Rulebooks Shared diff --git a/frontend/src/components/EventSlideOver.vue b/frontend/src/components/EventSlideOver.vue deleted file mode 100644 index a962e12..0000000 --- a/frontend/src/components/EventSlideOver.vue +++ /dev/null @@ -1,677 +0,0 @@ - - -