Implements custom scroll and event logging

Adds custom scroll management for the calendar week view, replacing native scrollbars with a custom handle.

Introduces categorized event logging with console grouping and styling, enhancing debug output. It also allows configuring logging for specific event categories.
This commit is contained in:
Janus Knudsen 2025-07-29 00:52:01 +02:00
parent 001443ce11
commit 9f6d4333cb
7 changed files with 606 additions and 63 deletions

View file

@ -49,16 +49,10 @@ export class EventRenderer {
}
private renderEvents(events: CalendarEvent[]): void {
console.log(`EventRenderer: Rendering ${events.length} events`);
// Clear existing events first
this.clearEvents();
// For now, just log events - proper rendering will be implemented later
events.forEach(event => {
console.log(`EventRenderer: Event "${event.title}" from ${event.start} to ${event.end}`);
});
// For now, just emit event rendered - proper rendering will be implemented later
this.eventBus.emit(EventTypes.EVENT_RENDERED, {
count: events.length
});