Release 3.0.0
valincius opened this issue · 0 comments
valincius commented
Changes
- Deprecates/Removes
BlazorScheduler.Core
- Removes the need for having your model implement
BlazorScheduler.Core.IAppointment
- Appointments are now components that may be changed dynamically without modifying the original reference
- Removes the need for having your model implement
- Typeparam removed from
Scheduler
(and all other components) - Removes
OnAppointmentClick
callback - Removes
OnDayClick
- Day number is no longer clickable by default
- Adds
Appointment
component- This component should be rendered under a
<Scheduler />
OnClick
callback replacesScheduler.OnAppointmentClick
ChildContent
is rendered on the appointment instead of text, allowing for more customizabilityColor
is now a string rather thanSystem.Drawing.Color
- This component should be rendered under a
- Callbacks have all had
MouseEventArgs
removed from their arguments - Moves
ThemeColor
&StartDayOfWeek
toConfig
ThemeColor
is now a string- The header can now be templated (see demo)
- The day component can now be templated (see demo)
- Fixed weekday text to be truncated on smaller devices
- Added configuration values for modifying the "Today" button and the text that shows for overflow appointments.
- Added new demos to show the features and customizations
- Day names are now localized
- Added
Invalidate
method toScheduler
- This can be called to rerender child components incase you make updates to a template
- Only necessary for day templates at the moment (see demo)
- This can be called to rerender child components incase you make updates to a template
- Added
OnRequestNewData
action- This is called on the first render & whenever the current date changes, so we can send a request and get the appointments for the current date range
Todo
- Fix weekday text for small devices
- Add ability to customize the header row (Today button, changing month)
- Add ability to customize the Month and Day names, and the "+ n others" text
- "+ n others"
- Month names
- Day names
- Fix broken styling
- Remove commented out code
- New (better) demos
- Base demo
- Configuration demo
- Interactions demo
- Header template
- Day template