Removes excessive logging statements

Cleans up the codebase by removing unnecessary console log statements.

These logs were primarily used for debugging and are no longer needed in the production code.
This reduces noise in the console and improves overall performance.
This commit is contained in:
Janus Knudsen 2025-08-31 22:39:09 +02:00
parent 383eab7524
commit fafad16926
24 changed files with 4 additions and 275 deletions

View file

@ -24,16 +24,11 @@ export class MonthViewStrategy implements ViewStrategy {
}
renderGrid(context: ViewContext): void {
console.group(`📅 MONTH VIEW: Rendering grid for ${context.currentDate.toDateString()}`);
// Clear existing content
context.container.innerHTML = '';
// Create month grid (completely different from week!)
this.createMonthGrid(context);
console.log('Month grid rendered with 7x6 layout');
console.groupEnd();
}
private createMonthGrid(context: ViewContext): void {
@ -120,7 +115,6 @@ export class MonthViewStrategy implements ViewStrategy {
private renderMonthEvents(container: HTMLElement, events: any[]): void {
// TODO: Implement month event rendering
// Events will be small blocks in day cells
console.log(`MonthViewStrategy: Would render ${events.length} events`);
}
getNextPeriod(currentDate: Date): Date {
@ -159,6 +153,5 @@ export class MonthViewStrategy implements ViewStrategy {
}
destroy(): void {
console.log('MonthViewStrategy: Cleaning up');
}
}

View file

@ -30,8 +30,6 @@ export class WeekViewStrategy implements ViewStrategy {
}
renderGrid(context: ViewContext): void {
console.group(`🗓️ WEEK VIEW: Rendering grid for ${context.currentDate.toDateString()}`);
// Update grid styles
this.styleManager.updateGridStyles(context.resourceData);
@ -41,9 +39,6 @@ export class WeekViewStrategy implements ViewStrategy {
context.currentDate,
context.resourceData
);
console.log(`Week grid rendered with ${this.getLayoutConfig().columnCount} columns`);
console.groupEnd();
}
getNextPeriod(currentDate: Date): Date {
@ -78,7 +73,5 @@ export class WeekViewStrategy implements ViewStrategy {
destroy(): void {
// Clean up any week-specific resources
// For now, just log
console.log('WeekViewStrategy: Cleaning up');
}
}