Closed rreganjr closed 2 years ago
In visual-scheduler check that the timescale is defined before using it and thrown an error if not. In addAgendaItem service instead of logging on errors, throw errors. In demo event-scheduler makeTestData() log the errors for now
Chichi-ng Version
not listed
Angular Version
13.1
Description
None of the test agenda items appear. In the console for every
addAgendaItem()
it reportsItem out of bounds.
TheboundsInterval
start/end aren't defined in the scheduler-service before themakeTestData()
is called inngOnInit()
in the event-scheduler component of the demo.Expected Behavior
Agenda items with valid start/end relative to the defined start/end date in the event-scheduler component should be successfully added to the scheduler service.
If the bounds aren't configured yet an error should be reported/thrown.
there should be a way to configure the bounds so agenda items can be added before the event-scheduler component
ngAfterViewInit()
phase.Actual Behavior
the scheduler service doesn't know the bounds before the
ngAfterViewInit()
phase and logs the added agenda items as out of bounds.