Hi again!
I have come to face an problem, that I am not able to solve by myself.
After trying to make the scheduler act like it should in our little project, I seem to have added .... something that slows the initial load of the scheduler A LOT.
'The page' loads quickly enough (I got the default Loading... text), but then there comes what I think is 'Scheduler loading' - and this loading takes more than 30 seconds.
After the load has been done, the scheduler is responsive and fast again.
The data load happens really fast (I am checking with console.logs etc + the amount of data is quite small (2 groups, ~10 resources, total of 50 appointments)
The data is loaded with forkJoin (4 async calls), piped with .pipe(takeUntil(this.onDestroy))
The schedule elements (with event bindings:)
<ejs-schedule #scheduleObj cssClass='timeline-resource-grouping' [selectedDate]="selectedDate" [group]="group"
[eventSettings]="eventSettings" [firstDayOfWeek]='1' (actionComplete)="onAction($event)" (popupOpen)="onPopupOpen($event)"
(resizeStop)="onResizeStop($event)" (dragStop)="onDragStop($event)" (eventRendered)="eventRendered($event)"
(actionBegin)="onActionBegin($event)" (navigating)="onNavigate($event)">
Views: Agenda, TimelineDay & TimelineWeek, no extra services (only the TimelineViewsService)
Do you have any tips suggestions what to check? I have already investigated the package sizes and analyzed the stats of the whole app - nothing alarming there
As I am quite newbie with Angular, please feel free to check that I have also done all the 'obvious' steps :D
I do realize this is really broad question, but after days of investigating - and not having any answers - I am getting a bit lost
TL;DR; Are there any specific things that make the Scheduler init really slowly? How do You suggest I should tackle them?