Skip to content

Commit

Permalink
Certification (#117)
Browse files Browse the repository at this point in the history
* Globemap3.2.1v (#89)

* Update outdated packages

* Load high quality tiles

* Fixed scaling of the heatmap and of the bars width and height

* Add sRGB colorspace for textures

* Fix lint errors

* Increment version

* Removed lodash dependencies

* Removed no-plugin

* Fixed colorPickers for datapoints

* Added playwright chromium

* Remove unused formatting settings

* Updated dependencies

* Fixed console uncaught error

* Created seriesdatapoints without height

* Fixed conditions for data mapping

* Updated packages

* Fixed npm audit vulnerability

* Changed name of fill property

* Fixed tests

* Returned fill setting to capabilities

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* Increase zoom level (#95)

Co-authored-by: Iuliia Kulagina <[email protected]>

* Fix console error when using Heat without Height (#96)

* Fix console error when using Heat without Height

* Increment version

* Fix vulnerability

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* Add new local storage and onObject v3.3.0.0 (#97)

* Use new local storage API

* Update build.yml

* Add short and long descriptions

* Add onObject support

* Increment visual version

* Update dependencies

* Remove shading from tiles

* Fix build badge in readme

* Fix outlines

* Fix reset outline

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* v3.3.1.0 Fixed resizing bug and console error in formatting mode (#98)

* Fix resizing bug and console error in formatting mode

* Increment visual version

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* Fix console error (#101)

Co-authored-by: Iuliia Kulagina <[email protected]>

* Added new tests for onObject interaction (#102)

* Fix extend tiles tests

* Add tests for onObject control buttons and wheel event

* Add tests for onObject bar selection

* Add tests for onObject hover

* Add test for onObject context menu subselection

* Add coordination mock for onObject tests

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* Fixed deselection in Slicer wasn't apply to Globe map  (#104)

* Fix cache processing

* Increment visual version

* Remove redundant promises in MemoryCache

* Wrap createLocalStorageCache in native promise

* Remove coordsInLocalStorage prop

* Replaced promise chaining  with await

* Fix geocoder

* Add tests for memoryCache, localStorageCache and geocoder

* Mock fetch request

* Rename syncLocalStorageStatus method

* Remove debugger

* Fix audit, update dependencies

---------

Co-authored-by: Iuliia Kulagina <[email protected]>

* New translations (#108)

---------

Co-authored-by: Iuliia Kulagina <[email protected]>
Co-authored-by: Iuliia Kulagina <[email protected]>
Co-authored-by: pbicvloc <[email protected]>
  • Loading branch information
4 people authored Sep 23, 2024
1 parent 454c6c9 commit 513eed2
Show file tree
Hide file tree
Showing 63 changed files with 4,660 additions and 2,951 deletions.
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, dev ]
branches: [ main, dev, certification ]
pull_request:
branches: [ master, dev ]
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

0 comments on commit 513eed2

Please sign in to comment.