This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release v1.0.0
- Loading branch information
Showing
9 changed files
with
279 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
"name": "tdp_matomo", | ||
"description": "Matomo tracking for TDP applications", | ||
"homepage": "https://datavisyn.io", | ||
"version": "1.0.0-SNAPSHOT", | ||
"version": "1.0.0", | ||
"author": { | ||
"name": "Datavisyn GmbH", | ||
"name": "datavisyn GmbH", | ||
"email": "[email protected]", | ||
"url": "https://datavisyn.io" | ||
}, | ||
|
@@ -71,43 +71,43 @@ | |
"node": ">= 6" | ||
}, | ||
"devDependencies": { | ||
"@types/jasmine": "2.5.41", | ||
"awesome-typescript-loader": "3.0.3", | ||
"cache-loader": "1.2.0", | ||
"css-loader": "0.26.1", | ||
"extract-text-webpack-plugin": "2.0.0-rc.3", | ||
"@types/jasmine": "2.5.47", | ||
"awesome-typescript-loader": "3.1.2", | ||
"css-loader": "0.28.0", | ||
"extract-loader": "0.1.0", | ||
"ifdef-loader": "2.0.0", | ||
"file-loader": "0.10.0", | ||
"fork-ts-checker-webpack-plugin": "0.2.9", | ||
"html-loader": "0.4.4", | ||
"imports-loader": "0.7.0", | ||
"extract-text-webpack-plugin": "2.1.0", | ||
"file-loader": "0.11.1", | ||
"html-loader": "0.4.5", | ||
"imports-loader": "0.7.1", | ||
"jasmine": "2.5.3", | ||
"json-loader": "0.5.4", | ||
"karma": "1.4.0", | ||
"karma": "1.5.0", | ||
"karma-chrome-launcher": "2.0.0", | ||
"karma-firefox-launcher": "1.0.0", | ||
"karma-firefox-launcher": "1.0.1", | ||
"karma-jasmine": "1.1.0", | ||
"karma-junit-reporter": "2.0.0", | ||
"karma-sourcemap-loader": "0.3.7", | ||
"karma-webpack": "2.0.2", | ||
"karma-webpack": "2.0.3", | ||
"mkdirp": "0.5.1", | ||
"node-sass": "4.5.0", | ||
"node-sass": "4.7.2", | ||
"null-loader": "0.1.1", | ||
"raw-loader": "0.5.1", | ||
"sass-loader": "5.0.0", | ||
"style-loader": "0.13.1", | ||
"sass-loader": "6.0.7", | ||
"style-loader": "0.16.1", | ||
"tslib": "1.9.0", | ||
"tslint": "5.9.1", | ||
"typedoc": "0.11.1", | ||
"typescript": "2.7.2", | ||
"url-loader": "0.5.8", | ||
"webpack": "2.3.3", | ||
"webpack-dev-server": "2.4.2", | ||
"cache-loader": "1.2.0", | ||
"ifdef-loader": "2.0.0", | ||
"fork-ts-checker-webpack-plugin": "0.4.1", | ||
"thread-loader": "1.1.2", | ||
"ts-loader": "3.1.1", | ||
"tslib": "1.5.0", | ||
"tslint": "4.4.2", | ||
"typedoc": "0.7.2", | ||
"typescript": "2.2.0", | ||
"url-loader": "0.5.7", | ||
"webpack": "2.2.1", | ||
"webpack-dev-server": "2.4.2" | ||
"ts-loader": "4.0.1" | ||
}, | ||
"dependencies": { | ||
"tdp_core": "github:datavisyn/tdp_core#develop" | ||
"tdp_core": "github:datavisyn/tdp_core#semver:^5.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import {IMatomoEvent} from './matomo'; | ||
|
||
/** | ||
* Map of trackable actions | ||
* key = phovea extension id | ||
*/ | ||
export const trackableActions = new Map<string, IMatomoEvent>(); | ||
|
||
// custom event | ||
trackableActions.set('runChain', {category:'provenance', action: 'runChain'}); | ||
|
||
// from tdp_core\src\internal\cmds.ts | ||
trackableActions.set('tdpInitSession', {category:'session', action: 'init'}); | ||
trackableActions.set('tdpSetParameter', {category:'view', action: 'setParameter'}); | ||
|
||
// from tdp_core\src\lineup\internal\scorecmds.ts | ||
trackableActions.set('tdpAddScore', {category:'score', action: 'add'}); | ||
trackableActions.set('tdpRemoveScore', {category:'score', action: 'remove'}); | ||
|
||
// from tdp_core\src\lineup\internal\cmds.ts | ||
trackableActions.set('lineupSetRankingSortCriteria', {category:'lineup', action: 'setRankingSortCriteria'}); | ||
trackableActions.set('lineupSetSortCriteria', {category:'lineup', action: 'setRankingSortCriteria'}); | ||
trackableActions.set('lineupSetGroupCriteria', {category:'lineup', action: 'setGroupCriteria'}); | ||
trackableActions.set('lineupAddRanking', {category:'lineup', action: 'addRanking'}); | ||
trackableActions.set('lineupSetColumn', {category:'lineup', action: 'setColumn'}); | ||
trackableActions.set('lineupAddColumn', {category:'lineup', action: 'addColumn'}); | ||
trackableActions.set('lineupMoveColumn', {category:'lineup', action: 'moveColumn'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
|
||
import {mixin} from 'phovea_core/src'; | ||
|
||
export interface IHelloOptions { | ||
name?: string; | ||
} | ||
|
||
export function hello(options?: IHelloOptions) { | ||
//merge with default options | ||
options = mixin({ | ||
name: 'World' | ||
}, options); | ||
return `Hello ${options.name}`; | ||
} | ||
export * from './matomo'; |
Oops, something went wrong.