Skip to content

Commit 9d5686a

Browse files
authored
Fixes highlighting issue (#121)
* 27206 Fix highlighting issue [Gantt Chart highlights data points incorrectly (ICM 76810792)] * 27207 Cover changes by UTs [Gantt Chart highlights data points incorrectly (ICM 76810792)]
1 parent 1a89eaf commit 9d5686a

12 files changed

+12234
-330
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ typings
66
.api
77
*.log
88
/coverage
9-
package-lock.json

.travis.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ sudo: required
44
dist: trusty
55
language: node_js
66
node_js:
7-
- "7"
8-
before_install:
9-
- sudo apt-get install -y chromium-browser
10-
- export CHROME_BIN=chromium-browser
11-
- export DISPLAY=:99.0
12-
- sh -e /etc/init.d/xvfb start
7+
- "10"
138
install:
149
- npm install
1510
script:

CHANGELOG.md

+34-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1+
## 1.12.1
2+
* Fixes highlighting issue
3+
14
## 1.12.0
25
* Added localization for all supported languages
36

47
## 1.11.1
58
* Fixed issue with not showing values in some cases for day duration unit
69
* Fixed issue with task name left alignment
10+
711
## 1.11.0
812
* Fixed issue with wrong tooltips
913
* Fixed issue with strange category labels
1014
* Fixed issue with unsynchronized legend and task color
15+
1116
## 1.10.1
1217
* Added 'End date' field to tooltip
1318
* Fixed issue with date in extra information field
1419
* Fixed crush when one field in Task and Extra Information
20+
1521
## 1.10.0
1622
* UPD: powerbi-visuals-tools has been updated to 1.11.0 to support Bookmarks
1723
* UPD: API has been updated to 1.11.0 to support Bookmarks
@@ -22,65 +28,89 @@
2228
* Fixed issue with tooltip duration
2329
* Fixed issue with invisible task line when duration is 1
2430
* Renamed "Extra imformation" field bucket to "Tooltips"
31+
2532
## 1.9.3
2633
* Fixed issue with tooltip duration
2734
* Fixed issue with line length with float value and 'second' duration
35+
2836
## 1.9.2
2937
* Fixed issue with wrong selection of children tasks from legend
38+
3039
## 1.9.1
3140
* Fixed issue with wrong tooltip data displaying without 'parent' data
3241
* Fixed issue with wrong duration in the tooltip
42+
3343
## 1.9.0
3444
* Added ability to use sub tasks
45+
3546
## 1.8.6
3647
* Added option to data labels which cut them up to the width of the task
48+
3749
## 1.8.5
3850
* Fixed issue with wrong displaying resources labels
51+
3952
## 1.8.4
4053
* Fixed behavior when completion values display in tooltip though the
4154
%Completion doesn't have any field
55+
4256
## 1.8.3
4357
* Reverted 1.8.2 fix caused selection issue.
4458
* Fixed viewport clearing if no data in dataView
4559
* Added ordering feature
60+
4661
## 1.8.2
4762
* Fixed issue when task type value doesn't matter without duration
63+
4864
## 1.8.1
4965
* Fixed issue with not integer duration in some browsers
66+
5067
## 1.8.0
5168
* Fixed wrong behavior when chart didn't render without duration data.
5269
* Update API to v1.7
70+
5371
## 1.7.5
5472
* Fixed estimated time incorrect when we use weekend setting
73+
5574
## 1.7.4
5675
* Fixed X-axis date formatting overlapped for "Hour" date type
76+
5777
## 1.7.3
5878
* Fixed unexpected error with scroll in some cases
79+
5980
## 1.7.2
60-
* Fixed wrong width calculation of completion line when daysOff setting
61-
is switched on
81+
* Fixed wrong width calculation of completion line when daysOff setting is switched on
82+
6283
## 1.7.1
63-
* Fixed wrong date formatting of x-axis. Date formatting didn't use
64-
PowerBi language setting
84+
* Fixed wrong date formatting of x-axis. Date formatting didn't use PowerBi language setting
85+
6586
## 1.7.0
6687
* Added an ability to ignore weekends
88+
6789
## 1.6.0
6890
* Added ability automatically scroll chart to today date
91+
6992
## 1.5.1
7093
* Fixed tooltip label and date format of milestone line
94+
7195
## 1.5.0
7296
* Added ability to use custom date format for tooltip dates
7397
* Added ability to use extra information in the tooltip
98+
7499
## 1.4.0
75100
* Added new date types for x-axis(Quarter, Hours, Minutes, Seconds)
101+
76102
## 1.3.0
77103
* Added colour settings for: Today Bar Color, Axis Color, Axis Text Color
78104
* Added ability to set colour of Tasks if there is no legend specified.
105+
79106
## 1.2.0
80107
* Added ability to set minimum of task duration
108+
81109
## 1.1.0
82110
* Added ability to use hours, minutes and seconds in a 'duration'
111+
83112
## 1.0.2
84113
* Fixed tooltip date format not respected
114+
85115
## 1.0.1
86116
* Fixed start date calculation

karma.conf.js

+13-23
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,16 @@
2626

2727
'use strict';
2828

29-
const recursivePathToTests = 'test/**/*.ts'
30-
, srcRecursivePath = '.tmp/drop/visual.js'
31-
, srcCssRecursivePath = '.tmp/drop/visual.css'
32-
, srcOriginalRecursivePath = 'src/**/*.ts'
33-
, coverageFolder = 'coverage';
29+
const recursivePathToTests = 'test/**/*.ts';
30+
const srcRecursivePath = '.tmp/drop/visual.js';
31+
const srcCssRecursivePath = '.tmp/drop/visual.css';
32+
const srcOriginalRecursivePath = 'src/**/*.ts';
33+
const coverageFolder = 'coverage';
3434

3535
module.exports = (config) => {
36-
const browsers = [];
37-
38-
if (process.env.TRAVIS) {
39-
browsers.push('ChromeTravisCI');
40-
} else {
41-
browsers.push('Chrome');
42-
}
4336

4437
config.set({
45-
browsers,
46-
customLaunchers: {
47-
ChromeTravisCI: {
48-
base: 'Chrome',
49-
flags: ['--no-sandbox']
50-
}
51-
},
38+
browsers: ['ChromeHeadless'],
5239
colors: true,
5340
frameworks: ['jasmine'],
5441
reporters: [
@@ -89,9 +76,12 @@ module.exports = (config) => {
8976
},
9077
coverageReporter: {
9178
dir: coverageFolder,
92-
reporters: [
93-
{ type: 'html' },
94-
{ type: 'lcov' }
79+
reporters: [{
80+
type: 'html'
81+
},
82+
{
83+
type: 'lcov'
84+
}
9585
]
9686
},
9787
remapIstanbulReporter: {
@@ -102,4 +92,4 @@ module.exports = (config) => {
10292
}
10393
}
10494
});
105-
};
95+
};

0 commit comments

Comments
 (0)