Removes outdated documentation and code comments

Deletes a large set of architectural plans, code reviews, and implementation documents. This content is no longer relevant as the described features and refactorings are complete.

Streamlines the event renderer by removing legacy drag event listener setup and outdated comments, reflecting improved separation of concerns and rendering strategies.
This commit is contained in:
Janus C. H. Knudsen 2025-09-22 20:59:25 +02:00
parent 92463ef173
commit 996459f226
25 changed files with 4 additions and 4947 deletions

View file

@ -94,16 +94,6 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
}
/**
* Setup listeners for drag events from DragDropManager
* NOTE: Event listeners moved to EventRendererManager for better separation of concerns
*/
protected setupDragEventListeners(): void {
// All event listeners now handled by EventRendererManager
// This method kept for backward compatibility but does nothing
}
/**
* Cleanup method for proper resource management
*/
@ -177,10 +167,10 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
// Create SwpEventElement from existing DOM element and clone it
const originalSwpEvent = SwpEventElement.fromExistingElement(originalElement);
const clonedSwpEvent = originalSwpEvent.createClone();
// Get the cloned DOM element
this.draggedClone = clonedSwpEvent.getElement();
// Apply drag styling
this.applyDragStyling(this.draggedClone);
@ -551,16 +541,7 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
renderEvents(events: CalendarEvent[], container: HTMLElement): void {
// NOTE: Removed clearEvents() to support sliding animation
// With sliding animation, multiple grid containers exist simultaneously
// clearEvents() would remove events from all containers, breaking the animation
// Events are now rendered directly into the new container without clearing
// Only handle regular (non-all-day) events
// Find columns in the specific container for regular events
const columns = this.getColumns(container);
@ -569,7 +550,7 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
const eventsLayer = column.querySelector('swp-events-layer');
if (eventsLayer) {
// NY TILGANG: Kald vores nye overlap handling
this.handleEventOverlaps(columnEvents, eventsLayer as HTMLElement);
}
});