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

@ -52,7 +52,6 @@ export class DragDropManager {
*/
public setSnapInterval(minutes: number): void {
this.snapIntervalMinutes = minutes;
console.log(`DragDropManager: Snap interval set to ${minutes} minutes (${this.snapDistancePx}px)`);
}
private init(): void {
@ -126,10 +125,6 @@ export class DragDropManager {
column: this.currentColumn
});
console.log('DragDropManager: Drag started', {
eventId: this.draggedEventId,
column: this.currentColumn
});
}
}
@ -156,10 +151,6 @@ export class DragDropManager {
mouseOffset: this.mouseOffset
});
console.log(`DragDropManager: Drag moved ${this.snapIntervalMinutes} minutes`, {
snappedY,
column
});
}
// Check for auto-scroll
@ -168,7 +159,6 @@ export class DragDropManager {
// Check for column change
const newColumn = this.detectColumn(event.clientX, event.clientY);
if (newColumn && newColumn !== this.currentColumn) {
console.log(`DragDropManager: Column changed from ${this.currentColumn} to ${newColumn}`);
this.currentColumn = newColumn;
this.eventBus.emit('drag:column-change', {
@ -203,11 +193,6 @@ export class DragDropManager {
finalY
});
console.log('DragDropManager: Drag ended', {
eventId: this.draggedEventId,
finalColumn,
finalY
});
// Clean up
this.draggedEventId = null;
@ -263,7 +248,6 @@ export class DragDropManager {
if (!this.scrollContainer) {
this.scrollContainer = document.querySelector('swp-scrollable-content') as HTMLElement;
if (!this.scrollContainer) {
console.warn('DragDropManager: Could not find swp-scrollable-content for auto-scroll');
return;
}
}