Skip to content

Releases: valincius/BlazorScheduler

v4.1.0 - Breaking changes

24 Jan 14:37
63e5b50
Compare
Choose a tag to compare

Changes

  • Config object removed
    • Config values are now parameters on the Scheduler component
    • Rename config value DisableDragging to EnableDragging
    • New config value EnableRescheduling
  • Add support for dragging to move/reschedule an appointment
    • OnReschedule callback added to Appointment
    • See Interactions demo for example

v4.0.0 - .NET 6

12 Nov 14:29
4cffb31
Compare
Choose a tag to compare
Update workflow to net6

v3.1.0

21 Oct 16:38
3484bae
Compare
Choose a tag to compare
  • Some performance improvements
  • Remove Scheduler.Invalidate()
  • Use ObservableCollection for internally so we can update the view correctly
  • Use proper naming conventions
  • Fixes a bug that was occurring when using this component in Blazor Server

v3.0.0

27 Sep 20:13
5b3d5fd
Compare
Choose a tag to compare

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
  • 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 replaces Scheduler.OnAppointmentClick
    • ChildContent is rendered on the appointment instead of text, allowing for more customizability
    • Color is now a string rather than System.Drawing.Color
  • Callbacks have all had MouseEventArgs removed from their arguments
  • Moves ThemeColor & StartDayOfWeek to Config
  • 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 to Scheduler
    • 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)
  • 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
  • Fixed weekday text in default header template for small devices
  • Added ability to customize the header row (Today button, changing month)
  • Added ability to customize the Month and Day names, and the "+ n others" text
  • Added New (better) demos
    • Base demo
    • Configuration demo
    • Interactions demo
    • Header template
    • Day template

v2.1.2

20 Sep 18:11
99c4697
Compare
Choose a tag to compare
  • Add Config parameter

    • AlwaysShowYear - toggle whether the year is always visible or only when we're viewing a different year than the current one.
    • MaxVisibleAppointmentsPerDay - change the number of appointments that are visible.
    • DisableDragging - disable dragging.
  • Made the date number clickable.

    • OnDayClick will be called when the date number is clicked.

v2.0.0

23 Jul 19:52
5a99a3d
Compare
Choose a tag to compare
  • Created BlazorScheduler.Core project
    • This project will contain any classes/interfaces that may be required outside of the main UI project.
  • Moved IAppointment from BlazorScheduler to BlazorScheduler.Core
  • You will need to add using BlazorScheduler.Core to where you are creating your implementation of IAppointment