Refactors event rendering and drag-and-drop logic

Simplifies event drag handling by removing redundant clone management
Optimizes single column event rendering and cleanup process
Removes unnecessary logging and console output
Improves event update and re-rendering strategies

Enhances performance and reduces complexity in event manipulation
This commit is contained in:
Janus C. H. Knudsen 2025-11-06 21:11:22 +01:00
parent fba85094d7
commit 3b6f0407fb
5 changed files with 89 additions and 98 deletions

View file

@ -157,7 +157,11 @@ async function initializeCalendar(): Promise<void> {
await resizeHandleManager.initialize?.();
// Resolve SyncManager (starts automatically in constructor)
const syncManager = app.resolveType<SyncManager>();
// Resolve SyncManager (starts automatically in constructor)
// Resolve SyncManager (starts automatically in constructor)
// Resolve SyncManager (starts automatically in constructor)
// Resolve SyncManager (starts automatically in constructor)
//const syncManager = app.resolveType<SyncManager>();
// Handle deep linking after managers are initialized
await handleDeepLinking(eventManager, urlManager);
@ -169,14 +173,14 @@ async function initializeCalendar(): Promise<void> {
app: typeof app;
calendarManager: typeof calendarManager;
eventManager: typeof eventManager;
syncManager: typeof syncManager;
//syncManager: typeof syncManager;
};
}).calendarDebug = {
eventBus,
app,
calendarManager,
eventManager,
syncManager,
//syncManager,
};
} catch (error) {