Skip to content

Commit

Permalink
Release 8.0.0 (#109)
Browse files Browse the repository at this point in the history
## What's Changed

### Bugfixes

* Fix LineUp data type icons in comparison by @thinkh in
#98

### Chore

* Remove outdated styles for link with Font Awesome 4 icon by @thinkh in
#100
* Migration to visyn_core by @oltionchampari in
#107
* React 18 Migration by @dvmoritzschoefl in
#108

## New Contributors
* @dvmoritzschoefl made their first contribution in
#108

**Full Changelog**:
v7.0.1...v8.0.0
  • Loading branch information
dvvanessastoiber authored Jul 28, 2023
2 parents e5ab111 + d566f1f commit b6a4fc6
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: build

on: [push, workflow_dispatch]

permissions:
contents: write
id-token: write

jobs:
build:
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@main
Expand Down
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tourdino",
"description": "Calculate and visualize similarity measures.",
"homepage": "https://phovea.caleydo.org",
"version": "7.0.1",
"version": "8.0.0",
"author": {
"name": "The Caleydo Team",
"email": "contact@caleydo.org",
Expand Down Expand Up @@ -65,15 +65,21 @@
"d3.parsets": "git+ssh://git@github.com/jasondavies/d3-parsets#v1.2.4",
"jstat": "^1.9.4",
"lodash": "~4.17.20",
"tdp_core": "^16.1.0",
"tdp_core": "^20.1.0",
"vega": "~5.20.0",
"vega-embed": "6.19.1",
"vega-functions": "5.12.0",
"vega-lite": "5.1.1",
"vega-parser": "6.1.3",
"visyn_scripts": "^1.0.1",
"visyn_scripts": "^4.1.0",
"xxhashjs": "^0.2.2"
},
"resolutions": {
"@types/react": "~18.2.0",
"@types/react-dom": "~18.2.0",
"react": "~18.2.0",
"react-dom": "~18.2.0"
},
"visyn": {
"entries": {
"app": "./index.js"
Expand Down
3 changes: 2 additions & 1 deletion src/phovea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* Copyright (c) The Caleydo Team. All rights reserved.
* Licensed under the new BSD license, available at http://caleydo.org/license
**************************************************************************** */
import { IRegistry } from 'tdp_core';

import { IRegistry } from 'visyn_core/plugin';
import { EP_TDP_CORE_LINEUP_PANEL_TAB, IPanelTabExtensionDesc } from 'tdp_core';

export default function (registry: IRegistry) {
Expand Down
2 changes: 1 addition & 1 deletion src/phovea_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the new BSD license, available at http://caleydo.org/license
**************************************************************************** */

import { PluginRegistry } from 'tdp_core';
import { PluginRegistry } from 'visyn_core/plugin';
import reg from './phovea';

/**
Expand Down
3 changes: 2 additions & 1 deletion src/tasks/ATouringTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import * as $ from 'jquery';
import * as d3v3 from 'd3v3';
import 'select2';
import { LocalDataProvider, IColumnDesc, CategoricalColumn, ICategoricalColumnDesc, Column } from 'lineupjs';
import { IServerColumn, UniqueIdManager } from 'tdp_core';
import { IServerColumn } from 'visyn_core/base';
import { UniqueIdManager } from 'tdp_core';
import { IMeasureResult, ISimilarityMeasure, ISetParameters } from '../base/interfaces';
import { SCOPE } from '../base/constants';
import { RankingAdapter } from './RankingAdapter';
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/ColumnComparisonTask.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as XXH from 'xxhashjs';
import { cloneDeep } from 'lodash';
import { IColumnDesc } from 'lineupjs';
import { IServerColumn } from 'tdp_core';
import { IServerColumn } from 'visyn_core/base';
import colCmpHtml from '../templates/ColumnComparison.html'; // webpack imports html to variable
import colCmpIcon from '../assets/colCmp.png';

Expand Down
3 changes: 2 additions & 1 deletion src/tasks/RankingAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { LocalDataProvider, IColumnDesc, ICategory, Column, Ranking, IDataRow, IOrderedGroup } from 'lineupjs';
import { IServerColumn, IAccessorFunc } from 'tdp_core';
import { IAccessorFunc } from 'tdp_core';
import { IServerColumn } from 'visyn_core/base';

import { BaseUtils } from '../base/BaseUtils';

Expand Down
2 changes: 1 addition & 1 deletion src/tasks/RowComparisonTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as $ from 'jquery';
import * as d3v3 from 'd3v3';
import * as XXH from 'xxhashjs';
import { IColumnDesc, ICategoricalColumnDesc, ICategory } from 'lineupjs';
import { IServerColumn } from 'tdp_core';
import { IServerColumn } from 'visyn_core/base';
import rowCmpHtml from '../templates/RowComparison.html'; // webpack imports html to variable
import rowCmpIcon from '../assets/rowCmp.png';

Expand Down
6 changes: 4 additions & 2 deletions src/tasks/TaskUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as d3v3 from 'd3v3';
import { IColumnDesc } from 'lineupjs';
import { IServerColumn, UniqueIdManager } from 'tdp_core';
import { IServerColumn } from 'visyn_core/base';
import { UniqueIdManager } from 'tdp_core';
import { RankingAdapter } from './RankingAdapter';

export class TaskUtils {
Expand Down Expand Up @@ -28,7 +29,8 @@ export class TaskUtils {
});
return cp.map((n: any) => TaskUtils.deepCopy<any>(n)) as any;
}
if (typeof target === 'object' && target !== {}) {
// not an empty object
if (typeof target === 'object' && Object.keys(target).length > 0) {
const cp = { ...(target as { [key: string]: any }) } as { [key: string]: any };
Object.keys(cp).forEach((k) => {
cp[k] = TaskUtils.deepCopy<any>(cp[k]);
Expand Down

0 comments on commit b6a4fc6

Please sign in to comment.