Enhance calendar view with resource-aware rendering

Adds support for filtering events and rendering across multiple views with resource-specific context

Improves event and date rendering to handle resource-based filtering
Introduces day view and extends existing calendar infrastructure to support more flexible view configurations
This commit is contained in:
Janus C. H. Knudsen 2025-12-09 22:31:28 +01:00
parent 6fc9be9534
commit 7f6279a6f3
17 changed files with 570 additions and 38 deletions

View file

@ -43,9 +43,8 @@ export class CalendarOrchestrator {
const pipeline = buildPipeline(activeRenderers);
pipeline.run(context);
// Events
const dates = filter['date'] || [];
await this.eventRenderer.render(container, dates);
// Render events med hele filter (date + resource)
await this.eventRenderer.render(container, filter);
}
private selectRenderers(viewConfig: ViewConfig): Renderer[] {