Skip to content

Commit 5eacfc8

Browse files
authored
High contrast mode (#29)
* 27212 Implement DataViewObjectParser for Enhanced Scatter [Update Enhanced Scatter to support high contrast mode] * 27213 Update Enhanced Scatter to use Settings instead of private variables [Update Enhanced Scatter to support high contrast mode] * 27214 Update axis settings parser to use Settings [Update Enhanced Scatter to support high contrast mode] * 27210 Update Enhanced Scatter to support high contrast mode * 27221 Fix the broken UTs [Update Enhanced Scatter to support high contrast mode] * 27211 Cover changes by UTs [Update Enhanced Scatter to support high contrast mode]
1 parent 13d49a5 commit 5eacfc8

19 files changed

Lines changed: 11547 additions & 1621 deletions

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ sudo: required
44
dist: trusty
55
language: node_js
66
node_js:
7-
- "8"
8-
addons:
9-
chrome: stable
10-
before_install:
11-
- export CHROME_BIN=google-chrome-stable
12-
- export DISPLAY=:99.0
13-
- sh -e /etc/init.d/xvfb start
7+
- "10"
148
install:
159
- npm install
1610
script:

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
"fileMatch": [
2020
"/pbiviz.json"
2121
],
22-
"url": "./.api/v1.7.0/schema.pbiviz.json"
22+
"url": "./.api/v1.13.0/schema.pbiviz.json"
2323
},
2424
{
2525
"fileMatch": [
2626
"/capabilities.json"
2727
],
28-
"url": "./.api/v1.7.0/schema.capabilities.json"
28+
"url": "./.api/v1.13.0/schema.capabilities.json"
2929
},
3030
{
3131
"fileMatch": [
3232
"/dependencies.json"
3333
],
34-
"url": "./.api/v1.7.0/schema.dependencies.json"
34+
"url": "./.api/v1.13.0/schema.dependencies.json"
3535
}
3636
]
3737
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.5.0
2+
* High contrast mode
3+
* API 1.13.0
4+
* Migrating to DataViewObjectsParser
5+
* Code refactoring
6+
* Images change its opacity on user's selection
7+
18
## 1.4.0
29
* Added localization for all supported languages
310

karma.conf.js

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,17 @@
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

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

37+
module.exports = (config) => {
4438
config.set({
45-
browsers,
46-
customLaunchers: {
47-
ChromeTravisCI: {
48-
base: 'Chrome',
49-
flags: ['--no-sandbox']
50-
}
51-
},
39+
browsers: ['ChromeHeadless'],
5240
colors: true,
5341
frameworks: ['jasmine'],
5442
reporters: [

0 commit comments

Comments
 (0)