Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #109

Closed
wants to merge 9 commits into from
Closed

Dev #109

Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: build

on:
push:
branches: [ master ]
branches: [ main, dev, certification ]
pull_request:
branches: [ master ]
branches: [ main, dev, certification ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -22,21 +20,17 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm ci

- run: npm audit
continue-on-error: true

- run: npm run lint

- run: npm outdated
continue-on-error: true
- run: npm ci
- run: npm run eslint --if-present
- run: npm run lint --if-present
- run: npm run package


- run: |
touch .env
echo BING_KEY=${{ secrets.BING_KEY }} >> .env

- run: npm run test
env:
CI: true
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
## 3.3.3.0
* Fixed deselection in Slicer wasn't apply to Globe map
* Update powerbi-visuals-api to 5.9.0
* Refactored cacheManager, LocalStorageCache, MemoryCache

## 3.3.2.0
* Fixed console error "undefined CustomVisualObjects"

## 3.3.1.0
* Fixed bug that occurs when resizing the visual
* Fixed console error in formatting mode

## 3.3.0.0
* Use new IVisualLocalStorageV2Service
* Update powerbi-visuals-api to 5.8.0
* Add onObject support

## 3.2.2.0
* Fix console error when using Heat without Height

## 3.2.1.0
* Updated all dependencies
* Changed max zoom level
* Changed scaling of heatmap and bars height and width
* Added sRGB color space for earth textures
* Changed conditions for dataview mapping

## 3.2.0
* Updated all dependencies
* Got rid of vulnerabilities
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# GlobeMap
[![Coverage Status](https://coveralls.io/repos/github/Microsoft/powerbi-visuals-globemap/badge.svg?branch=master)](https://coveralls.io/github/Microsoft/powerbi-visuals-globemap?branch=master)

[![Build Status](https://github.com/microsoft/powerbi-visuals-globemap/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/microsoft/powerbi-visuals-globemap/actions/workflows/build.yml)
> A 3D visual using WebGL for plotting locations, with category values displayed as bar heights and heat maps. Shift+Click on bar to change center point. Slicing data points will animate to average location.

![GlobeMap screenshot](assets/screenshot.png)
Expand Down
54 changes: 4 additions & 50 deletions capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,24 +123,6 @@
"dataViewMappings": [
{
"conditions": [
{
"Location": {
"min": 1,
"max": 1
},
"X": {
"max": 1
},
"Y": {
"max": 1
},
"Height": {
"max": 1
},
"Heat": {
"max": 1
}
},
{
"Location": {
"min": 1,
Expand Down Expand Up @@ -181,16 +163,6 @@
"for": {
"in": "Heat"
}
},
{
"for": {
"in": "X"
}
},
{
"for": {
"in": "Y"
}
}
],
"dataReductionAlgorithm": {
Expand Down Expand Up @@ -252,12 +224,8 @@
],
"objects": {
"dataPoint": {
"displayName": "Data colors",
"displayNameKey": "Visual_DataPoint",
"properties": {
"defaultColor": {
"displayName": "Default color",
"displayNameKey": "Visual_DefaultColor",
"type": {
"fill": {
"solid": {
Expand All @@ -266,30 +234,14 @@
}
}
},
"showAllDataPoints": {
"displayName": "Show all",
"displayNameKey": "Visual_DataPoint_Show_All",
"type": {
"bool": true
}
},
"fill": {
"displayName": "Fill",
"displayNameKey": "Visual_Fill",
"type": {
"fill": {
"fill":{
"solid": {
"color": true
}
}
}
},
"fillRule": {
"displayName": "Color saturation",
"displayNameKey": "Visual_Gradient",
"type": {
"fill": {}
}
}
}
}
Expand All @@ -298,5 +250,7 @@
"custom": {}
},
"supportsKeyboardFocus": true,
"supportsMultiVisualSelection": true
"supportsMultiVisualSelection": true,
"supportsOnObjectFormatting": true,
"enablePointerEventsFormatMode": true
}
2 changes: 1 addition & 1 deletion karma.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const srcOriginalRecursivePath = "src/**/*.ts";
const srcRecursivePath = ".tmp/drop/**/*.js";
const coverageFolder = "coverage";

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

module.exports = (config) => {
config.set({
Expand Down
Loading
Loading