Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
719b851
Added persistProperties method and conditional bin size property and …
aleksandrlevochkin Jul 19, 2022
c8c4e5d
Removed redundant code
aleksandrlevochkin Jul 19, 2022
2b68fd9
Added a few tests for GetBinSettings method
aleksandrlevochkin Jul 19, 2022
d30c090
Updated packages
aleksandrlevochkin Jul 19, 2022
cd6d4c7
Fixed issue with Frequency toggle
aleksandrlevochkin Jul 19, 2022
752e42b
Updated packages, made changes to visual test file
aleksandrlevochkin Jul 25, 2022
31f05df
Checking why .tmp/test folder was not created
aleksandrlevochkin Jul 25, 2022
a079a28
CI Fix
aleksandrlevochkin Jul 25, 2022
54678f4
Added pretest script
aleksandrlevochkin Jul 26, 2022
8895349
Removed redundant code
aleksandrlevochkin Jul 26, 2022
3f43b96
Updated resources file
aleksandrlevochkin Aug 2, 2022
c7274f8
Fixed typo in capabilities file
aleksandrlevochkin Aug 2, 2022
98b7843
Added skip for some ticks on resize
aleksandrlevochkin Aug 3, 2022
82e407d
Refactoring to fix lint error
aleksandrlevochkin Aug 3, 2022
d43bf68
Increased visual's version
aleksandrlevochkin Aug 4, 2022
b20d347
Fix: now datapoint labels count is changing more gradually on resize
aleksandrlevochkin Aug 8, 2022
1922eff
Moved from puppeteer to playwright and from tslint to eslint. Fixed l…
aleksandrlevochkin Aug 10, 2022
3503744
Broke down lodash and d3 into smaller packages
aleksandrlevochkin Aug 12, 2022
f000427
Increased Node version in pipeline because of Playwright requirements
aleksandrlevochkin Aug 12, 2022
9554eef
Added eslint missing package
aleksandrlevochkin Aug 12, 2022
29640a7
Added Chrome to pipeline
aleksandrlevochkin Aug 12, 2022
c31859c
Fix Karma and Playwright config issue
aleksandrlevochkin Aug 12, 2022
1e74571
Removing jquery WIP
aleksandrlevochkin Sep 7, 2022
dcedbe1
Removed jasmine-jquery dependency
aleksandrlevochkin Sep 7, 2022
7954a0a
Removed placeholders for Start and End properties for x-axis and y-ax…
aleksandrlevochkin Sep 13, 2022
1d1bd90
Attempt to fix bug
aleksandrlevochkin Sep 23, 2022
33d244f
Reverted latest changes and cleaned up code
aleksandrlevochkin Sep 27, 2022
6fefbb0
Changed default start and end values from 0 to null
aleksandrlevochkin Sep 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
dist
coverage
test
.eslintrc.js
karma.conf.ts
test.webpack.config.js
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
env: {
"browser": true,
"es6": true,
"es2017": true
},
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: ".",
},
plugins: [
"powerbi-visuals"
],
extends: [
"plugin:powerbi-visuals/recommended"
],
rules: {}
};
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sudo: required
dist: trusty
language: node_js
node_js:
- "10"
- "12"
install:
- npm install
script:
Expand Down
19 changes: 15 additions & 4 deletions capabilities.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"supportsHighlight": true,
"privileges": [],
"dataRoles": [
{
"name": "Values",
Expand Down Expand Up @@ -69,6 +70,20 @@
"numeric": true
}
},
"isBinSizeEnabled": {
"displayName": "Enable Bin Size",
"displayNameKey": "Visual_General_IsBinSizeEnabled",
"type": {
"bool": true
}
},
"binSize": {
"displayName": "Bin Size",
"displayNameKey": "Visual_General_BinSize",
"type": {
"numeric": true
}
},
"frequency": {
"displayName": "Frequency",
"displayNameKey": "Visual_Frequency",
Expand Down Expand Up @@ -180,7 +195,6 @@
"type": {
"numeric": true
},
"placeHolderText": "Start",
"suppressFormatPainterCopy": true
},
"end": {
Expand All @@ -189,7 +203,6 @@
"type": {
"numeric": true
},
"placeHolderText": "End",
"suppressFormatPainterCopy": true
}
}
Expand Down Expand Up @@ -268,7 +281,6 @@
"type": {
"numeric": true
},
"placeHolderText": "Start",
"suppressFormatPainterCopy": true
},
"end": {
Expand All @@ -277,7 +289,6 @@
"type": {
"numeric": true
},
"placeHolderText": "End",
"suppressFormatPainterCopy": true
},
"position": {
Expand Down
7 changes: 2 additions & 5 deletions karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,22 @@ const srcOriginalRecursivePath = "src/**/*.ts";
const testRecursivePath = "test/visualTest.ts";
const coverageFolder = "coverage";

process.env.CHROME_BIN = require("puppeteer").executablePath();
process.env.CHROME_BIN = require("playwright").chromium.executablePath();

module.exports = (config) => {
config.set({
browsers: ["ChromeHeadless"],
browserNoActivityTimeout: 100000,
colors: true,
frameworks: ["jasmine"],
frameworks: ["webpack", "jasmine"],
reporters: [
"progress",
"coverage",
"karma-remap-istanbul"
],
singleRun: true,
files: [
srcCssRecursivePath,
testRecursivePath,
"node_modules/jquery/dist/jquery.min.js",
"node_modules/jasmine-jquery/lib/jasmine-jquery.js",
{
pattern: "./capabilities.json",
watched: false,
Expand Down
Loading