Skip to content

Commit

Permalink
High contrast mode (#29)
Browse files Browse the repository at this point in the history
* 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]
  • Loading branch information
ignatvilesov committed Jul 19, 2018
1 parent 13d49a5 commit 5eacfc8
Show file tree
Hide file tree
Showing 19 changed files with 11,547 additions and 1,621 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ sudo: required
dist: trusty
language: node_js
node_js:
- "8"
addons:
chrome: stable
before_install:
- export CHROME_BIN=google-chrome-stable
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- "10"
install:
- npm install
script:
Expand Down
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
"fileMatch": [
"/pbiviz.json"
],
"url": "./.api/v1.7.0/schema.pbiviz.json"
"url": "./.api/v1.13.0/schema.pbiviz.json"
},
{
"fileMatch": [
"/capabilities.json"
],
"url": "./.api/v1.7.0/schema.capabilities.json"
"url": "./.api/v1.13.0/schema.capabilities.json"
},
{
"fileMatch": [
"/dependencies.json"
],
"url": "./.api/v1.7.0/schema.dependencies.json"
"url": "./.api/v1.13.0/schema.dependencies.json"
}
]
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.5.0
* High contrast mode
* API 1.13.0
* Migrating to DataViewObjectsParser
* Code refactoring
* Images change its opacity on user's selection

## 1.4.0
* Added localization for all supported languages

Expand Down
28 changes: 8 additions & 20 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,17 @@

'use strict';

const recursivePathToTests = 'test/**/*.ts'
, srcRecursivePath = '.tmp/drop/visual.js'
, srcCssRecursivePath = '.tmp/drop/visual.css'
, srcOriginalRecursivePath = 'src/**/*.ts'
, coverageFolder = 'coverage';
const recursivePathToTests = 'test/**/*.ts';
const srcRecursivePath = '.tmp/drop/visual.js';
const srcCssRecursivePath = '.tmp/drop/visual.css';
const srcOriginalRecursivePath = 'src/**/*.ts';
const coverageFolder = 'coverage';

module.exports = (config) => {
const browsers = [];

if (process.env.TRAVIS) {
browsers.push('ChromeTravisCI');
} else {
browsers.push('Chrome');
}
process.env.CHROME_BIN = require('puppeteer').executablePath();

module.exports = (config) => {
config.set({
browsers,
customLaunchers: {
ChromeTravisCI: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
browsers: ['ChromeHeadless'],
colors: true,
frameworks: ['jasmine'],
reporters: [
Expand Down

0 comments on commit 5eacfc8

Please sign in to comment.