Skip to content

Commit 8d7735e

Browse files
authored
Merge branch 'master' into dev
2 parents 3b2ef65 + 3a0f178 commit 8d7735e

File tree

2 files changed

+89
-12
lines changed

2 files changed

+89
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Version 2.0 adds functionality that has been previously requested for the origin
1313
- Added new inactive button states.
1414
- Minimal HTML setup, meaning the plugin creates the timeline dynamically according to the total amount of event content.
1515
- Event dates can now be displayed in various ways: dateTime, date, time, dayMonth, monthYear, year.
16-
- Added new autoplay feature with pause/play buttons and adjustable speed.
16+
- Added new autoplay feature with a progress bar, pause/play buttons and adjustable speed.
1717
- Added on hover pause/play functionality for autoplay.
18-
- Added a progress bar for autoplay.
1918
- Added new go-to timeline link with customisable scroll functionality.
2019
- Added mouse-wheel support for scrolling the event content.
2120
- Added TouchSwipe functionality for touch devices.
21+
- Added Keyboard arrow key support.
2222
- Added new refresh, destroy, addEvent, removeEvent methods.
2323
- Added a new option to disable the loading of the required files.
2424
- Added new options for the button icons.
@@ -28,6 +28,8 @@ Version 2.0 adds functionality that has been previously requested for the origin
2828

2929
For full documentation please check out the [Horizontal Timeline 2.0 website](http://horizontal-timeline.ycodetech.co.uk/)
3030

31+
Visit the [Changelog](https://github.com/yCodeTech/horizontal-timeline-2.0/blob/master/changelog.md) for details of fixes, changes and additions.
32+
3133
### Setup
3234

3335
```html
@@ -113,13 +115,3 @@ $('#example').horizontalTimeline({
113115
```
114116

115117
[Check out the docs](http://horizontal-timeline.ycodetech.co.uk/).
116-
117-
118-
##### To do:
119-
120-
- Add support for custom slide animations/transitions using Animate.css
121-
- Implement a namespaced object data attribute to accomodate the data-date and possibly the custom animations.
122-
- Add method to dynamically change existing dates and reposition them to reflect their new date order.
123-
- ~~Add support for Right-to-Left.~~ (In the form of `dateOrder: reverse`.)
124-
- ~~Rename the disableButton to reflect the docs name of Inactive Button States.~~
125-
- Rework Autoplay to allow multiple autoplaying timelines per page.

changelog.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
- ## 2.0.5 Prerelease 2 [[v2.0.5-alpha.2]]() - Upcoming
6+
### Added
7+
- A proper getMonthName function to make it easier to the event creation.
8+
- Some CSS to style the text as the default in the event content.
9+
- dateOrder option to reverse the order of the date display.
10+
11+
### Changed
12+
- Renamed buttonDisable to buttonStates to reflect the docs naming.
13+
- Some CSS rules that affected the scrollbars.
14+
15+
### Fixed
16+
- The useFontAwesomeIcons option where it wouldn't do anything due to missing code.
17+
- A bug that inconsistently and inaccurately calculates the width of the timeline on init, so the scrolling of the timeline was off slightly. (This was due to the function being called slightly before all elements had to chance to be created). Fixed with a 300s delay.
18+
- A bug that when the buttons are disiabled, the timeline appears to not to have a width and disappeared.
19+
- A persistant bug that shows the horizontal (x) scrollbar when translating the event content, added a line in the CSS.
20+
- A bug that broke multiple timelines by using the nav buttons that stored the wrong timeline instance when TouchSwipe was used.
21+
22+
### Removed
23+
- Removed some unnecessary commented out code in the Refresh method.
24+
25+
- ## 2.0.5 Prerelease 1 [[v2.0.5-alpha.1]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.5-alpha.1) - 24/07/2019
26+
### Added
27+
- 2 new boolean options to disable the navigation buttons (as requested via email): useNavBtns and useScrollBtns.
28+
- An option to customise the date display (as requested via email) using a data-attribute.
29+
30+
### Changed
31+
- Alot of the CSS to use the Flexbox layout.
32+
33+
### Fixed
34+
- A bug where if the date was split into two lines, half of the top was cut off by the parent bounding box, the height was changed accordingly.
35+
36+
- ## [[v2.0.4.1]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.4.1) - 06/06/2019
37+
### Fixed
38+
- A bug for the _addFile callback where it would fire way too early meaning that the plugins wouldn't work.
39+
40+
41+
- ## [[v2.0.4]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.4) - 06/06/2019
42+
### Added
43+
- An option to disable the loading of the required plugin files.
44+
- Several new button icon options, making it possible to change the icons of the buttons via classes.
45+
- An option to disable the use of Font Awesome for the icons.
46+
47+
### Changed
48+
- How the _addFile function checks for existing files in the document.
49+
50+
### Fixed
51+
- Typos.
52+
- An issue with the _addFile function callback, where if there wasn't a callback defined for a CSS file, it would send out an error.
53+
- A bug with fixed positioned and flexbox enabled elements where they were changing positions when the events content translated.
54+
55+
- ## [[v2.0.3]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.3) - 12/04/2019
56+
### Fixed
57+
- Browser inconsistencies due to the lack of support for various functions in the _addFile function.
58+
59+
- ## [[v2.0.2]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.2) - 05/03/2019
60+
### Fixed
61+
- Bugs that were caused by typos.
62+
63+
- ## [[v2.0.1]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0.1) - 07/02/2019
64+
### Fixed
65+
- A case-sensitive problem for checking existing required js/css in the _addFile function.
66+
67+
- ## Initial Release [[v2.0]](https://github.com/yCodeTech/horizontal-timeline-2.0/tree/v2.0) - 01/02/2019
68+
### Added
69+
- Support for multiple timeline instances as a jQuery plugin.
70+
- Minimal first date interval.
71+
- A new pair of navigation buttons: the real prev/next.
72+
- Inactive button states.
73+
- Minimal HTML setup, meaning the plugin creates the timeline dynamically according to the total amount of event content.
74+
- 6 new ways to display the event dates: dateTime, date, time, dayMonth, monthYear, year.
75+
- Autoplay feature with a progress bar, pause/play buttons and adjustable speed.
76+
- On hover pause/play functionality for autoplay.
77+
- Go-to timeline link with customisable scroll functionality.
78+
- Mouse-wheel support for scrolling the event content.
79+
- TouchSwipe functionality for touch devices.
80+
- Keyboard arrow key support.
81+
- 4 methods: refresh, destroy, addEvent, removeEvent.
82+
83+
### Changed
84+
- The event date display intervals to be regular and uniform repacing the scattered, distanced style.
85+
- The prev/next button names to scroll-left/scroll-right to reflect their functionality.

0 commit comments

Comments
 (0)