This commit is contained in:
Janus Knudsen 2025-08-02 23:59:52 +02:00
parent f29613e55f
commit 28ed131b9e
6 changed files with 151 additions and 90 deletions

View file

@ -31,10 +31,22 @@ export class EventManager {
}
private loadMockData(): void {
// Mock events baseret på POC data med korrekt CalendarEvent struktur
// Mock events for current week (July 27 - August 2, 2025)
this.events = [
// Sunday July 27, 2025
{
id: '1',
title: 'Weekend Planning',
start: '2025-07-27T10:00:00',
end: '2025-07-27T11:00:00',
type: 'work',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 60 }
},
// Monday July 28, 2025
{
id: '2',
title: 'Team Standup',
start: '2025-07-28T09:00:00',
end: '2025-07-28T09:30:00',
@ -44,8 +56,8 @@ export class EventManager {
metadata: { duration: 30 }
},
{
id: '2',
title: 'Client Meeting',
id: '3',
title: 'Project Kickoff',
start: '2025-07-28T14:00:00',
end: '2025-07-28T15:30:00',
type: 'meeting',
@ -53,16 +65,7 @@ export class EventManager {
syncStatus: 'synced',
metadata: { duration: 90 }
},
{
id: '3',
title: 'Lunch',
start: '2025-07-28T12:00:00',
end: '2025-07-28T13:00:00',
type: 'meal',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 60 }
},
// Tuesday July 29, 2025
{
id: '4',
title: 'Deep Work Session',
@ -75,17 +78,7 @@ export class EventManager {
},
{
id: '5',
title: 'Team Standup',
start: '2025-07-29T09:00:00',
end: '2025-07-29T09:30:00',
type: 'meeting',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 30 }
},
{
id: '6',
title: 'Lunch',
title: 'Lunch Meeting',
start: '2025-07-29T12:30:00',
end: '2025-07-29T13:30:00',
type: 'meal',
@ -93,9 +86,10 @@ export class EventManager {
syncStatus: 'synced',
metadata: { duration: 60 }
},
// Wednesday July 30, 2025
{
id: '7',
title: 'Project Review',
id: '6',
title: 'Client Review',
start: '2025-07-30T15:00:00',
end: '2025-07-30T16:00:00',
type: 'meeting',
@ -103,71 +97,54 @@ export class EventManager {
syncStatus: 'synced',
metadata: { duration: 60 }
},
// Thursday July 31, 2025
{
id: '7',
title: 'Sprint Planning',
start: '2025-07-31T09:00:00',
end: '2025-07-31T10:30:00',
type: 'meeting',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 90 }
},
{
id: '8',
title: 'Lunch',
start: '2025-07-30T12:00:00',
end: '2025-07-30T13:00:00',
type: 'meal',
title: 'Code Review',
start: '2025-07-31T14:00:00',
end: '2025-07-31T15:00:00',
type: 'work',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 60 }
},
// Friday August 1, 2025
{
id: '9',
title: 'Sprint Planning',
start: '2025-07-31T10:00:00',
end: '2025-07-31T12:00:00',
title: 'Team Standup',
start: '2025-08-01T09:00:00',
end: '2025-08-01T09:30:00',
type: 'meeting',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 120 }
},
{
id: '10',
title: 'Coffee Break',
start: '2025-07-31T15:00:00',
end: '2025-07-31T15:30:00',
type: 'meal',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 30 }
},
{
id: '11',
title: 'Documentation',
start: '2025-08-01T13:00:00',
end: '2025-08-01T16:00:00',
type: 'work',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 180 }
},
{
id: '12',
title: 'Early Morning Workout',
start: '2025-07-29T06:00:00',
end: '2025-07-29T07:00:00',
type: 'work',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 60 }
},
{
id: '13',
title: 'Late Evening Call',
start: '2025-07-30T21:00:00',
end: '2025-07-30T22:00:00',
id: '10',
title: 'Client Meeting',
start: '2025-08-01T14:00:00',
end: '2025-08-01T15:30:00',
type: 'meeting',
allDay: false,
syncStatus: 'synced',
metadata: { duration: 60 }
metadata: { duration: 90 }
},
// Saturday August 2, 2025
{
id: '14',
title: 'Midnight Release',
start: '2025-07-31T23:00:00',
end: '2025-08-01T01:00:00',
id: '11',
title: 'Weekend Project',
start: '2025-08-02T10:00:00',
end: '2025-08-02T12:00:00',
type: 'work',
allDay: false,
syncStatus: 'synced',