Commit graph

19 commits

Author SHA1 Message Date
Sergio Crisostomo
65255c9637 fix date formatting when strings are supplied to DatePicker 2017-10-23 15:53:12 +02:00
Sergio Crisostomo
3ed12b4e43 Correct month calculation and add specs for date-picker labels 2017-10-23 11:13:06 +02:00
Aresn
cbe5ccfc8a Merge pull request #2114 from SergioCrisostomo/improve-csv
Improve export to CSV functionality
2017-10-19 22:47:33 -05:00
Sergio Crisostomo
5d1c24c7f4 correct behaviour when initialising date-picker with a empty string 2017-10-17 15:13:42 +02:00
Sergio Crisostomo
437b8059d3 Added Table to CSV example and tests 2017-10-17 10:14:10 +02:00
Sergio Crisostomo
23e20abf6c DRY message/index.js and add unit tests 2017-10-01 00:09:44 +02:00
Sergio Crisostomo
9ffdd6daea Propagate type changes to panel 2017-09-14 08:25:38 +02:00
Sergio Crisostomo
a8707afa20 Add tests for 1807 2017-09-08 22:42:18 +02:00
Sergio Crisostomo
9c32a05699 Optimize append and remove options 2017-09-03 08:49:45 +02:00
Sergio Crisostomo
a9e0f79d89 Use textContent to not escape html entities in Select options 2017-09-01 09:11:09 +02:00
Aresn
68e3642119 Merge pull request #1712 from SergioCrisostomo/add-more-datepicker-tests
Refactor cell click handler and add more date picker and date range picker tests
2017-09-01 11:20:13 +08:00
Sergio Crisostomo
db1b716f29 Add more DatePicker tests 2017-08-29 09:45:07 +02:00
Sergio Crisostomo
3b9de2499e Add simple unit tests for Select component 2017-08-27 17:09:36 +02:00
Aresn
a0d3b159fc Merge pull request #1670 from SergioCrisostomo/use-Chrome-Headless
Use Chrome Headless browser instead of PhantomJS
2017-08-24 15:55:42 +08:00
Sergio Crisostomo
c91c30ccbb Date utils improvements and specs
Date utility functions `prevMonth` and `nextMonth` change the source
date when using `src.set[Date|Month|FullYear]()`. This change creates a
copy of the date at entrance of function so we have a pure function.

Made some code refactor and added specs for these functions.
2017-08-24 08:21:50 +02:00
Sergio Crisostomo
d32a53b472 Use Chrome Headless browser instead of PhantomJS 2017-08-23 09:56:55 +02:00
Sergio Crisostomo
fd05bc44e0 add basic DatePicker test 2017-08-13 10:17:13 +02:00
Sergio Crisostomo
fe5108cd66 Add Time-Picker unit tests 2017-08-13 09:13:08 +02:00
huixisheng
9b6ff1ce28 add test and update webpack config
[new] add test config
[new] add breadcrumb test
[change] update package.json
[new] util.js copied from  element
[unresolved] see test/unit/index.js @todo
2017-03-04 00:09:02 +08:00