From ead8be619c0bc94e67d5150b1e0c454837dcb1e1 Mon Sep 17 00:00:00 2001 From: oltionchampari Date: Tue, 7 Dec 2021 15:00:45 +0100 Subject: [PATCH 1/2] Add warning message and limit selection in dependent views Caleydo/tdp_bi_bioinfodb#1316 --- dist/phovea.js | 8 ++++++++ dist/phovea.js.map | 2 +- dist/views/ACombinedDependentTable.d.ts | 1 + dist/views/ACombinedDependentTable.js | 8 +++++++- dist/views/ACombinedDependentTable.js.map | 2 +- dist/views/DependentGeneTable.d.ts | 1 + dist/views/DependentGeneTable.js | 8 +++++++- dist/views/DependentGeneTable.js.map | 2 +- dist/views/DependentSampleTable.d.ts | 1 + dist/views/DependentSampleTable.js | 8 +++++++- dist/views/DependentSampleTable.js.map | 2 +- dist/views/ViewUtils.d.ts | 2 ++ dist/views/ViewUtils.js | 8 +++++++- dist/views/ViewUtils.js.map | 2 +- src/phovea.ts | 8 ++++++++ src/views/ACombinedDependentTable.ts | 18 ++++++++++++------ src/views/DependentGeneTable.ts | 12 +++++++++--- src/views/DependentSampleTable.ts | 11 +++++++++-- src/views/ViewUtils.ts | 13 ++++++++++++- 19 files changed, 96 insertions(+), 21 deletions(-) diff --git a/dist/phovea.js b/dist/phovea.js index fc161760..96d9d7c8 100644 --- a/dist/phovea.js +++ b/dist/phovea.js @@ -71,6 +71,7 @@ export default function (registry) { factory: 'createExpressionDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/expression.jpg'); }, @@ -88,6 +89,7 @@ export default function (registry) { factory: 'createCopyNumberDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/copy_number.jpg'); }, @@ -105,6 +107,7 @@ export default function (registry) { factory: 'createMutationDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/mutation.jpg'); }, @@ -199,6 +202,7 @@ export default function (registry) { name: 'Combined View', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/combined_view.jpg'); }, @@ -301,6 +305,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/expression.jpg'); }, @@ -319,6 +324,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/copy_number.jpg'); }, @@ -337,6 +343,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/mutation.jpg'); }, @@ -354,6 +361,7 @@ export default function (registry) { name: 'Combined View', idtype: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/combined_view.jpg'); }, diff --git a/dist/phovea.js.map b/dist/phovea.js.map index 0a501936..bf017bfd 100644 --- a/dist/phovea.js.map +++ b/dist/phovea.js.map @@ -1 +1 @@ -{"version":3,"file":"phovea.js","sourceRoot":"","sources":["../src/phovea.ts"],"names":[],"mappings":"AAAA;;;;gFAIgF;AAEhF,OAAO,EAAC,mCAAmC,EAAC,MAAM,QAAQ,CAAC;AAC3D,OAAO,EAAC,qBAAqB,EAAiB,cAAc,EAAC,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AAGvD,qEAAqE;AACrE,MAAM,CAAC,OAAO,WAAW,QAAQ;IAC/B,6GAA6G;IAC7G,yBAAyB;IAEzB,yBAAyB;IACzB,QAAQ,CAAC,IAAI,CAAC,mCAAmC,EAAE,2BAA2B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAwC;QACxJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,kBAAkB;QAC5B,WAAW,EAAE,qBAAqB;QAClC,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,aAAa;QAC9B,WAAW,EAAE,kBAAkB;Q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CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAA,CAAC,EAAE;QACxI,OAAO,EAAE,YAAY;QACrB,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,sDAAsD;QACnE,OAAO;YACL,OAAO,MAAM,CAAC,kCAAkC,CAAC,CAAC,CAAC,4BAA4B;QACjF,CAAC;QACD,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,UAAU;QACjB,aAAa,EAAE,KAAK;KACrB,CAAC,CAAC;IACH,UAAU;IAEV,QAAQ,CAAC,IAAI,CAAC,qBAAqB,EAAE,qBAAqB,EAAE;QAC1D,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,CAAC;IACvF,CAAC,EAAiB;QAChB,EAAE,EAAE,KAAK;KACV,CAAC,CAAC;IACH,uBAAuB;AACzB,CAAC"} \ No newline at end of file diff --git a/dist/views/ACombinedDependentTable.d.ts b/dist/views/ACombinedDependentTable.d.ts index 51accdd7..f19f0f3e 100644 --- a/dist/views/ACombinedDependentTable.d.ts +++ b/dist/views/ACombinedDependentTable.d.ts @@ -8,6 +8,7 @@ export declare abstract class ACombinedDependentTable extends ARankingView { protected readonly dataType: IDataTypeConfig[]; protected dataSource: IDataSourceConfig; constructor(context: IViewContext, selection: ISelection, parent: HTMLElement, dataType: IDataTypeConfig[], options?: {}); + protected selectionChanged(): void; protected abstract get oppositeDataSource(): IDataSourceConfig; get itemIDType(): import("tdp_core").IDType; protected getParameterFormDescs(): import("tdp_core").IFormElementDesc[]; diff --git a/dist/views/ACombinedDependentTable.js b/dist/views/ACombinedDependentTable.js index 3f066397..3b865050 100644 --- a/dist/views/ACombinedDependentTable.js +++ b/dist/views/ACombinedDependentTable.js @@ -19,8 +19,13 @@ export class ACombinedDependentTable extends ARankingView { } })); this.dataType = dataType; + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); this.dataType = dataType; } + selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); + super.selectionChanged(); + } get itemIDType() { return IDTypeManager.getInstance().resolveIdType(this.oppositeDataSource.idType); } @@ -53,7 +58,8 @@ export class ACombinedDependentTable extends ARankingView { return this.loadSelectionColumnData(ids[0], [desc])[0]; // send single desc and pick immediately }); }, - getSelectedSubTypes: () => this.subTypes.map((d) => d.id) + getSelectedSubTypes: () => this.subTypes.map((d) => d.id), + selectionLimit: this.context.desc.selectionLimit }); } parameterChanged(name) { diff --git a/dist/views/ACombinedDependentTable.js.map b/dist/views/ACombinedDependentTable.js.map index fa41f5fc..21892f57 100644 --- a/dist/views/ACombinedDependentTable.js.map +++ b/dist/views/ACombinedDependentTable.js.map @@ -1 +1 @@ -{"version":3,"file":"ACombinedDependentTable.js","sourceRoot":"","sources":["../../src/views/ACombinedDependentTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,YAAY,EAAC,MAAM,UAAU,CAAC;AAChE,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAGL,UAAU,EACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,aAAa,EAAyB,MAAM,UAAU,CAAC;AAE/D,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AAGnD,MAAM,OAAgB,uBAAwB,SAAQ,YAAY;IAIhE,YAAY,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAqB,QAA2B,EAAE,OAAO,GAAG,EAAE;QACzI,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,MA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,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;QACjE,MAAM,KAAK,GAAY;YACrB,IAAI;YACJ,OAAO,EAAE,YAAY,CAAC,kBAAkB,EAAE;SAC3C,CAAC;QACF,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;QAEzE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,EAAC,QAAQ,EAAE,WAAW,EAAC,EAAE,EAAE;YAC5C,OAAO,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC;gBACzI,KAAK,EAAE,QAAQ,CAAC,SAAS;gBACzB,SAAS,EAAE,WAAW,CAAC,EAAE;aAC1B,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"ACombinedDependentTable.js","sourceRoot":"","sources":["../../src/views/ACombinedDependentTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,YAAY,EAAkD,MAAM,UAAU,CAAC;AACjH,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAGL,UAAU,EACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,aAAa,EAAyB,MAAM,UAAU,CAAC;AAE/D,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa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,EAAE;aAC1B,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/dist/views/DependentGeneTable.d.ts b/dist/views/DependentGeneTable.d.ts index 89cf133c..099af42d 100644 --- a/dist/views/DependentGeneTable.d.ts +++ b/dist/views/DependentGeneTable.d.ts @@ -10,6 +10,7 @@ export declare class DependentGeneTable extends ARankingView { private readonly dataSource; constructor(context: IViewContext, selection: ISelection, parent: HTMLElement, dataType: IDataTypeConfig, options?: Partial); protected getParameterFormDescs(): import("tdp_core").IFormElementDesc[]; + protected selectionChanged(): void; protected parameterChanged(name: string): void; protected loadColumnDesc(): Promise>; protected createSelectionAdapter(): import("tdp_core").ISelectionAdapter; diff --git a/dist/views/DependentGeneTable.js b/dist/views/DependentGeneTable.js index cc0f793f..5266f06b 100644 --- a/dist/views/DependentGeneTable.js +++ b/dist/views/DependentGeneTable.js @@ -26,6 +26,7 @@ export class DependentGeneTable extends ARankingView { } }, Object.assign(options, { enableSidePanel: 'collapsed' }))); this.dataType = dataType; + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); this.dataSource = chooseDataSource(context.desc); } getParameterFormDescs() { @@ -44,6 +45,10 @@ export class DependentGeneTable extends ARankingView { FORM_GENE_FILTER ]); } + selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); + super.selectionChanged(); + } parameterChanged(name) { return this.rebuild(); } @@ -59,7 +64,8 @@ export class DependentGeneTable extends ARankingView { loadData: async (_id, id) => { const ids = await ResolveUtils.resolveIds(this.selection.idtype, [_id], this.dataSource.idType); return this.loadSelectionColumnData(ids[0]); - } + }, + selectionLimit: this.context.desc.selectionLimit }); } getColumnDescs(columns) { diff --git a/dist/views/DependentGeneTable.js.map b/dist/views/DependentGeneTable.js.map index 596738bc..afc6f3c3 100644 --- a/dist/views/DependentGeneTable.js.map +++ b/dist/views/DependentGeneTable.js.map @@ -1 +1 @@ -{"version":3,"file":"DependentGeneTable.js","sourceRoot":"","sources":["../../src/views/DependentGeneTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAE,YAAY,EAAuB,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,QAAQ,EAER,gBAAgB,EAEjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,EAA2B,YAAY,EAAC,MAAM,UAAU,CAAC;AAChE,OAAO,EAAC,aAAa,EAAgB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,OAAO,kBAAmB,SAAQ,YAAY;IAGlD,YAAY,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAmB,QAAyB,EAAE,UAAyC,EAAE;QACpK,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YAC9C,wBAAwB,EAAE,IAAI;YAC9B,QAAQ,EAAE,IAAI,CAAC,IAAI;YACnB,UAAU,EAAE,IAAI,CAAC,MAAM;YACvB,OAAO,EAAE;gBACP,GAAG,EAAE,OAAO,CAAC,mBAAmB;gBAChC,KAAK,EAAE,YAAY,CAAC,kBAAkB,EAAE;aACzC;YACD,0BAA0B,EAAE,IAAI;YAChC,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,aAAa;aACxB;SACF,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,eAAe,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,CAAC,CAAC,CAAC;QACjE,OAAO,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,IAAI,CAAC,UAAU,CAAC,IAAI,eAAe,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAClJ,CAAC;IAED,MAAM,CAAC,kCAAkC,CAAC,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAE,OAAQ;QACnH,OAAO,IAAI,kBAAkB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED,MAAM,CAAC,kCAAkC,CAAC,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAE,OAAQ;QACnH,OAAO,IAAI,kBAAkB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED,MAAM,CAAC,gCAAgC,CAAC,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAE,OAAQ;QACjH,OAAO,IAAI,kBAAkB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"} \ No newline at end of file diff --git a/dist/views/DependentSampleTable.d.ts b/dist/views/DependentSampleTable.d.ts index 2ea0bc03..bddedc12 100644 --- a/dist/views/DependentSampleTable.d.ts +++ b/dist/views/DependentSampleTable.d.ts @@ -15,6 +15,7 @@ export declare class DependentSampleTable extends ARankingView { protected parameterChanged(name: string): void; protected loadColumnDesc(): Promise>; protected createSelectionAdapter(): import("tdp_core").ISelectionAdapter; + protected selectionChanged(): void; protected getColumnDescs(columns: IServerColumn[]): import("tdp_core").IAdditionalColumnDesc[]; protected loadRows(): Promise; private loadSelectionColumnData; diff --git a/dist/views/DependentSampleTable.js b/dist/views/DependentSampleTable.js index 58305e02..d9ab78d0 100644 --- a/dist/views/DependentSampleTable.js +++ b/dist/views/DependentSampleTable.js @@ -25,6 +25,7 @@ export class DependentSampleTable extends ARankingView { } }, Object.assign(options, { enableSidePanel: 'collapsed' }))); this.dataType = dataType; + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); } getParameterFormDescs() { return super.getParameterFormDescs().concat([ @@ -62,9 +63,14 @@ export class DependentSampleTable extends ARankingView { createSelectionAdapter() { return AdapterUtils.single({ createDesc: (_id, id) => ViewUtils.loadFirstName(id).then((label) => ViewUtils.subTypeDesc(this.dataSubType, _id, label)), - loadData: (_id, id) => this.loadSelectionColumnData(id) + loadData: (_id, id) => this.loadSelectionColumnData(id), + selectionLimit: this.context.desc.selectionLimit }); } + selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); + super.selectionChanged(); + } getColumnDescs(columns) { return this.dataSource.columns((c) => columns.find((d) => d.column === c)); } diff --git a/dist/views/DependentSampleTable.js.map b/dist/views/DependentSampleTable.js.map index e575892b..f1e11997 100644 --- a/dist/views/DependentSampleTable.js.map +++ b/dist/views/DependentSampleTable.js.map @@ -1 +1 @@ -{"version":3,"file":"DependentSampleTable.js","sourceRoot":"","sources":["../../src/views/DependentSampleTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAE,YAAY,EAAuB,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EAGT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAgB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO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IAAI,oBAAoB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED,MAAM,CAAC,kCAAkC,CAAC,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAE,OAAQ;QACnH,OAAO,IAAI,oBAAoB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAEF"} \ No newline at end of file +{"version":3,"file":"DependentSampleTable.js","sourceRoot":"","sources":["../../src/views/DependentSampleTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAE,YAAY,EAAuB,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EAGT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAgB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,OAAO,oBAAqB,SAAQ,YAAY;IAEpD,YAAY,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAmB,QAAyB,EAAE,UAAyC,EAAE;QACpK,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YAC9C,wBAAwB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU;YAC/C,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU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,CAAC,CAAC;IACnF,CAAC;IAED,MAAM,CAAC,kCAAkC,CAAC,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAE,OAAQ;QACnH,OAAO,IAAI,oBAAoB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAEF"} \ No newline at end of file diff --git a/dist/views/ViewUtils.d.ts b/dist/views/ViewUtils.d.ts index f96e1057..e304f551 100644 --- a/dist/views/ViewUtils.d.ts +++ b/dist/views/ViewUtils.d.ts @@ -1,6 +1,7 @@ /** * Created by sam on 16.02.2017. */ +import { ISelection, IViewPluginDesc } from 'tdp_core'; import { IScoreRow } from 'tdp_core'; import { IDataSubtypeConfig } from '../common/config'; export declare class ViewUtils { @@ -12,4 +13,5 @@ export declare class ViewUtils { }[]>; static postProcessScore(subType: IDataSubtypeConfig): (rows: IScoreRow[]) => any[]; static subTypeDesc(dataSubType: IDataSubtypeConfig, id: number, label: string, col?: string): import("tdp_core").IAdditionalColumnDesc; + static showMaximumSelectionWarning(selection: ISelection, desc: IViewPluginDesc): void; } diff --git a/dist/views/ViewUtils.js b/dist/views/ViewUtils.js index 70a45245..30503388 100644 --- a/dist/views/ViewUtils.js +++ b/dist/views/ViewUtils.js @@ -2,7 +2,7 @@ * Created by sam on 16.02.2017. */ import { SpeciesUtils } from 'tdp_gene'; -import { RestBaseUtils } from 'tdp_core'; +import { NotificationHandler, RestBaseUtils } from 'tdp_core'; import { FieldUtils } from 'tdp_gene'; import { ColumnDescUtils } from 'tdp_core'; export class ViewUtils { @@ -43,5 +43,11 @@ export class ViewUtils { } return ColumnDescUtils.numberCol(col, dataSubType.domain[0], dataSubType.domain[1], { label }); } + static showMaximumSelectionWarning(selection, desc) { + const { name, selectionLimit } = desc; + if (selectionLimit && selection.range.size().reduce((a, b) => a + b, 0) > selectionLimit) { + NotificationHandler.pushNotification('warning', `${name}: Supported incoming selections limit reached. Showing data for the first ${selectionLimit} items.`, NotificationHandler.DEFAULT_SUCCESS_AUTO_HIDE); + } + } } //# sourceMappingURL=ViewUtils.js.map \ No newline at end of file diff --git a/dist/views/ViewUtils.js.map b/dist/views/ViewUtils.js.map index ee5a4c2c..7ea44a5e 100644 --- a/dist/views/ViewUtils.js.map +++ b/dist/views/ViewUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"ViewUtils.js","sourceRoot":"","sources":["../../src/views/ViewUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAGvC,OAAO,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACpC,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAGzC,MAAM,OAAO,SAAS;IAEpB,MAAM,CAAC,aAAa,CAAC,IAAY;QAC/B,OAAO,aAAa,CAAC,UAAU,CAAM,UAAU,EAAE,gBAAgB,EAAE;YACjE,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;YACzB,OAAO,EAAE,YAAY,CAAC,kBAAkB,EAAE;SAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,KAAe;QACjC,OAAO,aAAa,CAAC,UAAU,CAAC,UAAU,EAAE,gBAAgB,EAAE;YAC5D,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI;YACxC,OAAO,EAAE,YAAY,CAAC,kBAAkB,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,gBAAgB,CAA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GAAG,cAAc,EAAE;YACxF,mBAAmB,CAAC,gBAAgB,CAAC,SAAS,EAC5C,MAAM,IAAI,oFAAoF,cAAc,aAAa,EACzH,mBAAmB,CAAC,yBAAyB,CAAC,CAAA;SACjD;IAGH,CAAC;CACF"} \ No newline at end of file diff --git a/src/phovea.ts b/src/phovea.ts index 6ead2d4b..1fb936d7 100644 --- a/src/phovea.ts +++ b/src/phovea.ts @@ -79,6 +79,7 @@ export default function (registry) { factory: 'createExpressionDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/expression.jpg'); }, @@ -97,6 +98,7 @@ export default function (registry) { factory: 'createCopyNumberDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/copy_number.jpg'); }, @@ -115,6 +117,7 @@ export default function (registry) { factory: 'createMutationDependentSampleTable', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/mutation.jpg'); }, @@ -216,6 +219,7 @@ export default function (registry) { name: 'Combined View', idtype: 'Ensembl', selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/combined_view.jpg'); }, @@ -327,6 +331,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/expression.jpg'); }, @@ -346,6 +351,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/copy_number.jpg'); }, @@ -365,6 +371,7 @@ export default function (registry) { idtype: idType, sampleType: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/mutation.jpg'); }, @@ -383,6 +390,7 @@ export default function (registry) { name: 'Combined View', idtype: idType, selection: 'some', + selectionLimit: 20, preview() { return import('./assets/previews/combined_view.jpg'); }, diff --git a/src/views/ACombinedDependentTable.ts b/src/views/ACombinedDependentTable.ts index e8fee502..c417b271 100644 --- a/src/views/ACombinedDependentTable.ts +++ b/src/views/ACombinedDependentTable.ts @@ -1,4 +1,4 @@ -import {IViewContext, ISelection, ResolveUtils} from 'tdp_core'; +import {IViewContext, ISelection, ResolveUtils, NotificationHandler, IViewDesc, IViewPluginDesc} from 'tdp_core'; import {SpeciesUtils} from 'tdp_gene'; import { IDataTypeConfig, @@ -20,7 +20,7 @@ export abstract class ACombinedDependentTable extends ARankingView { protected dataSource: IDataSourceConfig; constructor(context: IViewContext, selection: ISelection, parent: HTMLElement, protected readonly dataType: IDataTypeConfig[], options = {}) { - super(context, selection, parent, Object.assign(options,{ + super(context, selection, parent, Object.assign(options, { additionalScoreParameter: () => this.oppositeDataSource, itemName: () => this.oppositeDataSource.name, enableSidePanel: <'collapsed'>'collapsed', @@ -29,10 +29,15 @@ export abstract class ACombinedDependentTable extends ARankingView { btnClass: 'btn-primary' } })); - + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) this.dataType = dataType; } + protected selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) + super.selectionChanged() + } + protected abstract get oppositeDataSource(): IDataSourceConfig; get itemIDType() { @@ -55,7 +60,7 @@ export abstract class ACombinedDependentTable extends ARankingView { } private get subTypes() { - const value: { id: string, text: string }[] = this.getParameter(ParameterFormIds.DATA_HIERARCHICAL_SUBTYPE); + const value: {id: string, text: string}[] = this.getParameter(ParameterFormIds.DATA_HIERARCHICAL_SUBTYPE); return value.map(({id, text}) => { const {dataType, dataSubType} = splitTypes(id); return {label: text, id, dataType, dataSubType}; @@ -74,7 +79,8 @@ export abstract class ACombinedDependentTable extends ARankingView { return this.loadSelectionColumnData(ids[0], [desc])[0]; // send single desc and pick immediately }); }, - getSelectedSubTypes: () => this.subTypes.map((d) => d.id) + getSelectedSubTypes: () => this.subTypes.map((d) => d.id), + selectionLimit: this.context.desc.selectionLimit }); } @@ -98,7 +104,7 @@ export abstract class ACombinedDependentTable extends ARankingView { return RestBaseUtils.getTDPFilteredRows(this.dataSource.db, this.oppositeDataSource.tableName, {}, filter); } - protected getSelectionColumnLabel(name: string): Promise|string { + protected getSelectionColumnLabel(name: string): Promise | string { return name; } diff --git a/src/views/DependentGeneTable.ts b/src/views/DependentGeneTable.ts index f192665c..18e25103 100644 --- a/src/views/DependentGeneTable.ts +++ b/src/views/DependentGeneTable.ts @@ -37,8 +37,8 @@ export class DependentGeneTable extends ARankingView { panelAddColumnBtnOptions: { btnClass: 'btn-primary' } - }, Object.assign(options, { enableSidePanel: 'collapsed' }))); - + }, Object.assign(options, {enableSidePanel: 'collapsed'}))); + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) this.dataSource = chooseDataSource(context.desc); } @@ -59,6 +59,11 @@ export class DependentGeneTable extends ARankingView { ]); } + protected selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) + super.selectionChanged() + } + protected parameterChanged(name: string) { return this.rebuild(); } @@ -76,7 +81,8 @@ export class DependentGeneTable extends ARankingView { loadData: async (_id: number, id: string) => { const ids = await ResolveUtils.resolveIds(this.selection.idtype, [_id], this.dataSource.idType); return this.loadSelectionColumnData(ids[0]); - } + }, + selectionLimit: this.context.desc.selectionLimit }); } diff --git a/src/views/DependentSampleTable.ts b/src/views/DependentSampleTable.ts index 4f91c251..979e5428 100644 --- a/src/views/DependentSampleTable.ts +++ b/src/views/DependentSampleTable.ts @@ -34,7 +34,8 @@ export class DependentSampleTable extends ARankingView { panelAddColumnBtnOptions: { btnClass: 'btn-primary' } - }, Object.assign(options, { enableSidePanel: 'collapsed' }))); + }, Object.assign(options, {enableSidePanel: 'collapsed'}))); + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) } protected getParameterFormDescs() { @@ -79,10 +80,16 @@ export class DependentSampleTable extends ARankingView { protected createSelectionAdapter() { return AdapterUtils.single({ createDesc: (_id: number, id: string) => ViewUtils.loadFirstName(id).then((label) => ViewUtils.subTypeDesc(this.dataSubType, _id, label)), - loadData: (_id: number, id: string) => this.loadSelectionColumnData(id) + loadData: (_id: number, id: string) => this.loadSelectionColumnData(id), + selectionLimit: this.context.desc.selectionLimit }); } + protected selectionChanged() { + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) + super.selectionChanged() + } + protected getColumnDescs(columns: IServerColumn[]) { return this.dataSource.columns((c) => columns.find((d) => d.column === c)); } diff --git a/src/views/ViewUtils.ts b/src/views/ViewUtils.ts index 22c94139..190fe909 100644 --- a/src/views/ViewUtils.ts +++ b/src/views/ViewUtils.ts @@ -3,7 +3,7 @@ */ import {SpeciesUtils} from 'tdp_gene'; -import {RestBaseUtils} from 'tdp_core'; +import {ISelection, IViewPluginDesc, NotificationHandler, RestBaseUtils} from 'tdp_core'; import {IScoreRow} from 'tdp_core'; import {IDataSubtypeConfig} from '../common/config'; import {FieldUtils} from 'tdp_gene'; @@ -51,4 +51,15 @@ export class ViewUtils { } return ColumnDescUtils.numberCol(col, dataSubType.domain[0], dataSubType.domain[1], {label}); } + + static showMaximumSelectionWarning(selection: ISelection, desc: IViewPluginDesc) { + const {name, selectionLimit} = desc; + if (selectionLimit && selection.range.size().reduce((a, b) => a + b, 0) > selectionLimit) { + NotificationHandler.pushNotification('warning', + `${name}: Supported incoming selections limit reached. Showing data for the first ${selectionLimit} items.`, + NotificationHandler.DEFAULT_SUCCESS_AUTO_HIDE) + } + + + } } From 3c5cd6d0b7aeb7d6b4827b316d7e62c2f38b4cfe Mon Sep 17 00:00:00 2001 From: oltionchampari Date: Tue, 7 Dec 2021 15:17:03 +0100 Subject: [PATCH 2/2] Linter --- dist/views/ACombinedDependentTable.js.map | 2 +- dist/views/DependentSampleTable.js.map | 2 +- dist/views/ViewUtils.js.map | 2 +- src/views/ACombinedDependentTable.ts | 6 +++--- src/views/DependentSampleTable.ts | 6 +++--- src/views/ViewUtils.ts | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/views/ACombinedDependentTable.js.map b/dist/views/ACombinedDependentTable.js.map index 21892f57..df246f35 100644 --- a/dist/views/ACombinedDependentTable.js.map +++ b/dist/views/ACombinedDependentT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MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;QAEzE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,EAAC,QAAQ,EAAE,WAAW,EAAC,EAAE,EAAE;YAC5C,OAAO,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC;gBACzI,KAAK,EAAE,QAAQ,CAAC,SAAS;gBACzB,SAAS,EAAE,WAAW,CAAC,EAAE;aAC1B,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"ACombinedDependentTable.js","sourceRoot":"","sources":["../../src/views/ACombinedDependentTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,YAAY,EAAkD,MAAM,UAAU,CAAC;AACjH,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAGL,UAAU,EACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,aAAa,EAAyB,MAAM,UAAU,CAAC;AAE/D,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AAGnD,MAAM,OAAgB,uBAAwB,SAAQ,YAAY;IAI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No newline at end of file diff --git a/dist/views/DependentSampleTable.js.map b/dist/views/DependentSampleTable.js.map index f1e11997..dd9462e4 100644 --- a/dist/views/DependentSampleTable.js.map +++ b/dist/views/DependentSampleTable.js.map @@ -1 +1 @@ -{"version":3,"file":"DependentSampleTable.js","sourceRoot":"","sources":["../../src/views/DependentSampleTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAE,YAAY,EAAuB,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EAGT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAgB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,OAAO,oBAAqB,SAAQ,YAAY;IAEpD,YAAY,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAmB,QAAyB,EAAE,UAAyC,EAAE;QACpK,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YAC9C,wBAAwB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU;YAC/C,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI;YACpC,0BAA0B,EAAE,IAAI;YAChC,OAAO,EAAE;gBACP,GAAG,EAAE,OAAO,CAAC,mBAAmB;gBAChC,KAAK,EAAE,YAAY,CAAC,kBAAkB,EAAE;aACzC;YACD,wBAAwB,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AAM,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CAEF"} \ No newline at end of file +{"version":3,"file":"DependentSampleTable.js","sourceRoot":"","sources":["../../src/views/DependentSampleTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAE,YAAY,EAAuB,MAAM,UAAU,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EAGT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAC,aAAa,EAAgB,MAAM,UAAU,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAErC,MAAM,OAAO,oBAAqB,SAAQ,YAAY;IAEpD,YAAY,OAAqB,EAAE,SAAqB,EAAE,MAAmB,EAAmB,QAAyB,EAAE,UAAyC,EAAE;QACpK,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YAC9C,wBAAwB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU;YAC/C,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI;YACpC,0BAA0B,EAAE,IAAI;YAChC,OAAO,EAAE;gBACP,GAAG,EAAE,OAAO,CAAC,mBAAmB;gBAChC,KAAK,EAAE,YAAY,CAAC,kBAAkB,EAAE;aACzC;YACD,wBAAwB,EAAE;gBACxB,QAAQ,EAAE,aAAa;aACxB;SACF,EAAE,MAAM,CAAC,MAAM,CAAC,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ff --git a/dist/views/ViewUtils.js.map b/dist/views/ViewUtils.js.map index 7ea44a5e..319857c0 100644 --- a/dist/views/ViewUtils.js.map +++ b/dist/views/ViewUtils.js.map @@ -1 +1 @@ -{"version":3,"file":"ViewUtils.js","sourceRoot":"","sources":["../../src/views/ViewUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAA8B,mBAAmB,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAGzF,OAAO,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACpC,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAGzC,MAAM,OAAO,SAAS;IAEpB,MAAM,CAAC,aAAa,CAAC,IAAY;QAC/B,OAAO,aAAa,CAAC,UAAU,CAAM,UAAU,EAAE,gBAAgB,EAAE;YACjE,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;YACzB,OAAO,EAAE,YAAY,CAAC,kBAAkB,EAAE;SAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,KAAe;QACjC,OAAO,aAAa,CAAC,UAAU,CAAC,UAAU,EAAE,gBAAgB,EAAE;YAC5D,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI;YACxC,OAAO,EAAE,YAAY,CAAC,kBAAkB,EAAE;SAC3C,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,OAA2B;QACjD,OAAO,CAAC,IAAsB,EAAE,EAAE;YAChC,IAAI,OAAO,CAAC,i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WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAC,KAAK,EAAC,CAAC,CAAC;IAC/F,CAAC;IAED,MAAM,CAAC,2BAA2B,CAAC,SAAqB,EAAE,IAAqB;QAC7E,MAAM,EAAC,IAAI,EAAE,cAAc,EAAC,GAAG,IAAI,CAAC;QACpC,IAAI,cAAc,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,cAAc,EAAE;YACxF,mBAAmB,CAAC,gBAAgB,CAAC,SAAS,EAC5C,MAAM,IAAI,oFAAoF,cAAc,aAAa,EACzH,mBAAmB,CAAC,yBAAyB,CAAC,CAAC;SAClD;IAGH,CAAC;CACF"} \ No newline at end of file diff --git a/src/views/ACombinedDependentTable.ts b/src/views/ACombinedDependentTable.ts index c417b271..96dc8add 100644 --- a/src/views/ACombinedDependentTable.ts +++ b/src/views/ACombinedDependentTable.ts @@ -29,13 +29,13 @@ export abstract class ACombinedDependentTable extends ARankingView { btnClass: 'btn-primary' } })); - ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); this.dataType = dataType; } protected selectionChanged() { - ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) - super.selectionChanged() + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); + super.selectionChanged(); } protected abstract get oppositeDataSource(): IDataSourceConfig; diff --git a/src/views/DependentSampleTable.ts b/src/views/DependentSampleTable.ts index 979e5428..b54b63c3 100644 --- a/src/views/DependentSampleTable.ts +++ b/src/views/DependentSampleTable.ts @@ -35,7 +35,7 @@ export class DependentSampleTable extends ARankingView { btnClass: 'btn-primary' } }, Object.assign(options, {enableSidePanel: 'collapsed'}))); - ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); } protected getParameterFormDescs() { @@ -86,8 +86,8 @@ export class DependentSampleTable extends ARankingView { } protected selectionChanged() { - ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc) - super.selectionChanged() + ViewUtils.showMaximumSelectionWarning(this.selection, this.context.desc); + super.selectionChanged(); } protected getColumnDescs(columns: IServerColumn[]) { diff --git a/src/views/ViewUtils.ts b/src/views/ViewUtils.ts index 190fe909..8c9f7cf6 100644 --- a/src/views/ViewUtils.ts +++ b/src/views/ViewUtils.ts @@ -57,7 +57,7 @@ export class ViewUtils { if (selectionLimit && selection.range.size().reduce((a, b) => a + b, 0) > selectionLimit) { NotificationHandler.pushNotification('warning', `${name}: Supported incoming selections limit reached. Showing data for the first ${selectionLimit} items.`, - NotificationHandler.DEFAULT_SUCCESS_AUTO_HIDE) + NotificationHandler.DEFAULT_SUCCESS_AUTO_HIDE); }