Releases: williamtroup/Calendar.js
Releases · williamtroup/Calendar.js
Calendar.js v2.9.4 - Sharing support and fixes!
- Added a new event context menu item called "Share", which will allow events selected to be shared using any supported apps (shares a text file containing JSON).
- Fixed a fault that caused the Side Menu title bar buttons to remain visible when settings are disabled via the "setOptions()" public function.
- Renamed the setting "enableDayNameHeadersInMainDisplayText" to "enableDayNameHeadersText" and changed default text;
- Renamed the setting "showDayNamesInMainDisplay" to "showDayNamesHeaders".
- The renamed setting "showDayNamesHeaders" now applies to the header on the Full Month view, and the Full Week view.
- Added a darker scrollbar effect for the side menu (aligns more with the side menu colors).
- Fixed a fault that caused the Timeline view to scroll to the wrong position when an All Day event is visible.
Calendar.js v2.9.3 - New settings!
- Added a new setting "minutesBetweenSectionsInViews" (defaults to 30), which states the minutes that should be used between headers/rows in all views for time displays.
- Added a new setting "timelineViewDefaultAxis" (defaults to "group"), which states the default axis the Timeline view should use.
- Updated SHARE.sh to use Python 3 for running a simple HTTP Server.
Calendar.js v2.9.2 - Fixes and Code Improvements!
- Merged custom trigger internal functions into a single internal function with proper argument passing.
- Merged duplicate code for handling event custom triggers and general event assignments.
- Fixed a fault that caused the notification text for "eventAddedText" option to show "undefined" when adding a new event.
- Fixed a fault that prevented visible groups (set via the Side Menu) from working when the custom trigger "onEventsFetch" is set.
Calendar.js v2.9.1 - DatePicker and Accessibility improvements!
- OK, sorry about this ... fixed a major rendering issue in CUSTOM_TRIGGERS.md.
- Added new CSS root variable "--spacing-shadow-size", which will allow you to change the shadow sizes.
- The DatePicker mode will now show correctly when an input could force the DatePicker to appear off the window's height (will now appear above the input).
- Added a "View Full Day" button to the "Timeline" views title bar (which will show the Full Day view on the date selected, if not already open).
Calendar.js v2.9.0 - Timeline! Pin-Up! Custom Rendering!
Version 2.9.0:
New Features:
- Added a new Timeline view, which uses the "Group" event property (default, you can switch to "Location" or "Organizer Name") as the view axis for a single day.
- Added custom event, tooltip, and title bar rendering support for various areas (see "Custom Triggers" documentation).
- Added Full Month pin-up support! This shows an area above the Day Names header that will show custom images as the date changes (it also shows the current date by default).
General Improvements:
- Completely re-written view handling, which will ensure that the most recent view opened is the one being handled for the current action (search, export, etc).
Full Day View:
- Added a "View Timeline" button to the Full Day view title bar (hidden in mobile view).
Full Week View:
- The "Add Event" button will now default the add date to the start of the week being viewed.
Full Month View (default):
- The "Add Event" button now defaults to the current date if the todays month is in view (otherwise, it will default to the 1st of the viewing month/year).
Full Year View:
- The side menu button "Export Events" is now disabled in the full year view (proper year exporting is coming soon, instead of exporting everything).
- The "Add Event" button in the title bar will now default the add date to the beginning of the selected year.
Widget Mode:
- The "Add Event" button will now default the add date to the currently selected date.
Custom Trigger Events:
- Added a new custom trigger "onFullDayEventRender", which is triggered when an event in the Full Day view is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onFullWeekEventRender", which is triggered when an event in the Full Week view is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onFullMonthEventRender", which is triggered when an event in the Full Month view is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onAllEventsEventRender", which is triggered when an event in the All Events view is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onTimelineEventRender", which is triggered when an event in the Timeline view is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onWidgetEventRender", which is triggered when an event in the Widget mode is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onToolTipEventRender", which is triggered when a tooltip is rendered for an event (allowing custom rendering, or just a notification).
- Added a new custom trigger "onFullDayTitleRender", which is triggered when the Full Day views title is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onFullWeekTitleRender", which is triggered when the Full Week views title is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onTimelineTitleRender", which is triggered when the Timeline views title is rendered (allowing custom rendering, or just a notification).
- Added a new custom trigger "onFullMonthPinUpRender", which is triggered when the Full Month views pin-up is rendered (allowing custom rendering, or just a notification).
Settings:
- Added a new setting "isPinUpViewEnabled" (defaults to false), which states if the pin-up view is enabled in the Full Month view.
- Added a new setting "pinUpViewImageUrls" (defaults to []), which states the image URLs that should be used for the pin-up view in the Full Month view.
- Removed the redundant setting "showEmptyDaysInWeekViewText".
- Removed the redundant setting "showEmptyDaysInWeekView".
Code Improvements:
- Finished the variable re-structuring and renaming in the main constructor.
- Internal renames (the month display is now called Full Month).
Fixes:
- Fixed the Widget mode and Notification area using the wrong styles for fonts, colors, and spacing.
- Fixed a fault that allowed the current day to be viewed in the Full Day view when the day itself is not visible in the calendar (it now skips to the next visible day).
- Fixed a fault that caused the "Export Events" button in the Side Menu to remain visible (due to multiple views being open).
- Fixed a fault that caused dates in the other views to randomly change on auto-update when another view was recently opened.
- Fixed a fault that caused the search dialog to shift the currently active view being searched into a strange position.
- Fixed the CUSTOM_TRIGGERS.md documentation not rendering correctly.
- Fixed a CSS fault that caused the Search history drop-down to appear in slightly in the wrong place.
- Fixed the "Show empty days in the week view" setting still being available in the "Configuration" dialog.
- Fixed a CSS fault that cause the Full-Screen mode to display incorrectly when the Day Names header is disabled in the Full Month view.
- Fixed all the testing HTML files missing the viewport meta data.
Calendar.js v2.8.4 - Minor improvements and fixes!
- Fixed a fault that caused the pin button (for switching to current day, month, year, etc) to use the wrong height in some sceneries.
- Fixed a fault that prevented the year drop-down menus on other calendar instances from closing when another menu was opened.
- Updated the test HTML files to use the latest version of Bootstrap.
Calendar.js v2.8.3 - Export fixes!
- Fixed "Export Events" failing due to a script error occurring when trying to convert Alert Offset times.
Calendar.js v2.8.2 - Context menu fixes!
- Fixed a fault that prevented the context menus on other calendar instances from closing when another context menu is opened.
Calendar.js v2.8.1 - Minor improvements and fixes!
- In Widget mode, if the date is the current date, the widget will jump to the next day automatically when the day changes.
- Events in the Full Day/Week views can no longer be resized over the height of the day.
- Fixed a fault that caused events that overlap over several days to show on the days in the slightly wrong position.
- Removed the warnings around the RegEx used for validating URLs.
Calendar.js v2.8.0 - Widget mode and repeat improvements!
New Features:
- Repeating events can now be edited as an entire series, or from a specific point forward (forward creates a new event, and stops the original event from that point).
- Added widget mode support, which will render a widget view solely for handling single days (event adding/editing enabled if turned on).
UI Improvements:
- Previous/Next buttons in all views are now visible by default in mobile mode.
- The view buttons on the main display's title bar are now separated with a divider line from the other buttons.
- Decreased the default border size from 1px to 0.5px (gives the calendar a more modern feel).
Settings:
- Added a new setting "isWidget" (defaults to false), which states if the calendar is a widget.
Full Year View:
- Moving Back/Forward through the years will force the scroll position to revert to the top (same as Full Day/Week views).
- Moving to the current full year auto-scroll the view to the current month (similar to how the Full Day/Week views work).
- Added the "Refresh" button to the toolbar (next to the "Current Year" button).
- When expanding a month, if the current month is already in view, no rebuild occurs.
Fixes:
- Fixed a major issue that prevented the events assigned to the buttons on the Message dialog from being reset. This caused old events assigned to be called again.
- Fixed a fault that caused the Full Year view to use the last scroll position when opened from the All Events view.
- Fixed the "Expand" icon on the main display being visible in mobile mode (should be hidden, as with the other views).
- Fixed the title bar text being slightly misaligned (vertically) on all views when in mobile mode.
- Fixed the title bar text in all views sometimes being too long, which caused the buttons to jump down, making the title bar look strange.
- Fixed the Full Year view randomly jumping its scroll top position when the refresh timer fires.
- Fixed the Full Week views inner content height being set manually instead of being set to 100% (did not scale properly when adjusting variables).
- Fixed a fault that prevented events (in all views) from showing the right default colors (for example, All Day event was always shown in the normal event color).
- Fixed the side menu right border now showing the rounded corners correctly.
- Fixed some grammar mistakes in the documentation.
- Fixed a script error that occurred when pressing escape to close an open view.
- Fixed a fault that prevented the z-index counter from resetting when a view is manually closed.