UI Elements Changelog
Looking to upgrade?
See our guide for upgrading from v0 to v1.
Subscribe to this page via RSS
1.20.12Stability and bug fixes for Availability Rules
tzidwhen editing the rule on a device in a time zone different to the one on the already-saved rule.
config.modeoptions. Valid modes are listed in the docs
mode.multi_selectslot labels were appearing in the incorrect order when selected in non-linear order.
update()method is called. Fixes a bug introduced in v1.20.3.
1.20.5Bug fixes and stability
1.20.3Better option parsing on update
1.20.0Grid expansion for Availability Rules
1.19.0Improved calendar selection for Availability Rules
1.18.1Fix Slot picker title when picking times in some timezones
1.18.0Expandable week grid for free_select mode
free_selectmode. Full details in the config mode section of the docs.
1.17.0free_select mode for Availability Viewer
free_selectconfig mode that turns the Element into a
query_periodsgenerator. Full details in the config mode section of the docs.
available_periods, in line with the updated API.
1.16.0Added support for more languages
1.15.0New Availability Rules notification
no_visible_slotsnotification has been added to the Availability Viewer. Full details for all notification callbacks for the Availability Rules can be found in the documentation.
- Extra detail has been added to error notifications.
1.14.0New Availability Rules notification
no_slots_foundnotification has been added to the Availability Viewer. Full details for all notification callbacks for the Availability Rules can be found in the documentation.
- Extra detail has been added to error notifications.
1.13.3Availability Viewer keyboard behaviour
1.13.2Enhancements for Availability Rules notifications
availability_rule_editedis now also fired whenever the selected calendars are changed in the UI.
1.13.1New Availability Rules notification type
availability_rule_editednotitification type to the Availability Rules UI Element. Full details for all notification callbacks for the Availability Rules can be found in the documentation.
1.12.1Availability Rules tzid support
tzidoptional for AvailabilityRules (was previously “required”).
1.12.0SlotPicker tzid support
tzidoption can now be passed to the SlotPicker, overriding the browser default.
1.10.0Customisable week start day for AvailabilityRules and AvailabilityViewer
config.week_start_dayinitialisation option that enables custom week-start-days. Full details for this option can be found in the docs.
1.9.4Handle profile-revoke errors
element_tokenerror and not updating the UI.
1.9.3Handle events with no name
summaryvalue (which would previously cause the Agenda View to crash).
1.9.2Availability Viewer optional config
config.end_timeare reverted to being optional initialisation options (reverses a change to enhanced validation in v1.9.0 that made them required).
1.9.1Availability Rules bugfix
1.9.0Improved error handling
config.logsparameter) allowing developers to choose the verbosity of the logs produced by the UI Elements.
1.8.1Date localization scoping
momentglobal settings (for
1.7.21Time zone aware mock data
1.7.19Availability Rules day names
type="button"attribute to all buttons within the elements’ markup, allowing UI Elements to be rendered inside html forms.
1.7.12Availability Viewer DST fixes
- Correct time-labels for DST switchover week.
- Sensible slot fallback for DST transition period (1am - 2am).
- Query-cropping correctly adjusts to display-period for DST-switchover week.
1.7.11Availability Viewer bugfix
- Fixes a bug where slot-selections a day either side of the visible period are still displayed after navigating between weeks.
1.7.10Availability Rules bugfixes
- Correctly display rules that end at midnight.
- Correctly calculates availability when rules don’t match provided duration. (e.g. rule starts at 09:15, but the element is displaying with a duration of 60 or 30.).
1.7.9Agenda View enhancements
- Fixes a bug where scrollable ‘events’ view was too tall on certain screen sizes (and therefore overflowing).
- Performance enhancements.
- Fixes a bug where Availability Viewer legend would be hidden for certain browsers.
- Improves general cross-browser consistency.
- Fixes overflow-bug in Availability Viewer when on small screens.
- Availability Rules columns correctly calculate width when browser is resized.
- Dependency version updates.
1.7.4Slot Picker response count
max_resultsvalue to allow more than 20 slots per response. New default limit is 200, matching the API.
1.7.0Availability Viewer unrestricted slot selection
slot_selectionoption that allows for unrestricted selection of slots - overriding normal availability-based behavior.
1.6.1Calendar Sync enhancement
avoid_linkingparameter is applied to the profile authorization URL automatically.
- Filtering deleted calendars from calendar lists.
- Correcting position calculation for overflow slot target.
1.5.0single_profile option for Calendar Sync (and bug fixes)
- Better handling for empty availability responses.
- Fix for UI issue when Availability Rules are assigned to a removed profile.
1.4.1User-editable Availability Viewer window
- Setting a 24hr (midnight-midnight) window is now possible
- Improved timezone handling
1.3.6Available via NPM
1.3.5Availability Rules calendar selector
Alllabel in the
included calendarsbox consistent with the behaviour of availability rules by removing
1.3.2Availability Viewer slot results
1.3.0Time zone option for Availability Viewer
tzid parameter that allows the Availability Viewer to be initialised with a specific time zone. If
tzid is declared, the time zone will be displayed in the footer of the Element.
Note: using this new
tzid option will cause the Availability Viewer to render in a timezone that may not match the timezone of the user’s computer. Be sure to highlight this to the user.
1.2.3Smarter overrun calculation handles cross-dateline days
Slots that ‘overrun’ the end of the visible period are found using a
moment.diff() between the end of the period and the end of the slot.
This method failed to account for days that crossed the dateline. It now does.
Slot heights were far too high for the
interval: 15; duration: 30 combo.
Now, an hour will always be
60px high, and the slots will be divided accordingly.
1.2.0callback for rules
- triggered on successful ‘rules saved’ response from API
1.1.2sniffing timezone for mock data
More specific docs links in errors/warnings when parsing options.
Storing original options ‘immutably’ so we can re-parse when
update()method is called.
1.1.0Time Zone Translation
time zone display in Availability Rules footer
translations moved into
time zone translation handler
1.0.0UI Elements v1.0.0
The release of UI Elements v1.0.0 marks an important transition from prototype to full-fledged product. We have been able to shape the Elements into a robust suite suitable for use in any application environment.
The changes from v0 to v1 are designed to enable a more flexible and customizable set of Elements, as well as providing a solid platform for future expansion. The new config option standardizes many of the more ad-hoc options from early versions, and all style-related options have been moved to the styles option. The callback format has also been amended to support multiple notification types from a single Element, paving the way for richer and deeper integrations.
Find out more in the Upgrade Guide, including the upgrade steps for those using older versions.