Skip to content

Commit 202c909

Browse files
committed
No changes of ladybug-frontend
1 parent 0af2767 commit 202c909

8 files changed

Lines changed: 0 additions & 17 deletions

File tree

ladybug-frontend/src/app/report/checkpoint-metadata-table/checkpoint-metadata-table.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function getHierarchicalCheckpoint(): HierarchicalCheckpoint {
3939
estimatedMemoryUsage: 5,
4040
correlationId: '1',
4141
variables: {},
42-
rerunnable: true,
4342
xml: 'dummy xml',
4443
checkpointsFromView: null,
4544
startTime: 0,

ladybug-frontend/src/app/report/checkpoint-value/checkpoint-value.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ function getPartialCheckpoint(message: string | null): HierarchicalCheckpoint {
230230
estimatedMemoryUsage: 5,
231231
correlationId: '1',
232232
variables: {},
233-
rerunnable: true,
234233
xml: 'dummy xml',
235234
checkpointsFromView: null,
236235
startTime: 0,

ladybug-frontend/src/app/report/checkpoint-value/checkpoint-value.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ export class CheckpointValueComponent implements OnInit, OnDestroy {
306306
this.nodeValueState.emit({
307307
isReadOnly,
308308
isEdited,
309-
rerunnable: this.originalCheckpoint?.report.rerunnable,
310309
storageId: this.originalCheckpoint?.report.storageId,
311310
storageName: this.originalCheckpoint?.report.storageName,
312311
checkpointsFromView: this.originalCheckpoint?.report.checkpointsFromView,

ladybug-frontend/src/app/report/report-metadata-table/report-metadata-table.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ function getAPartialReport(): HierarchicalReport {
3838
estimatedMemoryUsage: 5,
3939
correlationId: '1',
4040
variables: {},
41-
rerunnable: true,
4241
xml: 'dummy xml',
4342
checkpointsFromView: null,
4443
startTime: 0,

ladybug-frontend/src/app/report/report-value/report-value.component.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ function getAHierarchicalReport(): HierarchicalReport {
456456
estimatedMemoryUsage: 5,
457457
correlationId: '1',
458458
variables: {},
459-
rerunnable: true,
460459
xml: 'dummy xml',
461460
checkpointsFromView: null,
462461
startTime: 0,
@@ -480,7 +479,6 @@ function getEmptyHierarchicalReport(): HierarchicalReport {
480479
estimatedMemoryUsage: 5,
481480
correlationId: '1',
482481
variables: {},
483-
rerunnable: true,
484482
xml: 'dummy xml',
485483
checkpointsFromView: null,
486484
startTime: 0,

ladybug-frontend/src/app/report/report-value/report-value.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ export class ReportValueComponent implements OnInit, OnDestroy {
148148
const state: NodeValueState = {
149149
isReadOnly,
150150
isEdited,
151-
rerunnable: this.report?.rerunnable,
152151
storageId: this.report?.storageId,
153152
storageName: this.report?.storageName,
154153
checkpointsFromView: this.report?.checkpointsFromView,

ladybug-frontend/src/app/shared/classes/report-shared-strategy.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const INDENT_TWO_SPACES = ' ';
2121
export interface NodeValueState {
2222
isEdited: boolean;
2323
isReadOnly: boolean;
24-
rerunnable?: boolean;
2524
storageId?: number;
2625
storageName?: string;
2726
checkpointsFromView?: string | null;
@@ -183,10 +182,6 @@ export class ReportSharedStrategy {
183182
}
184183

185184
private copyReport(): void {
186-
if (!this.nodeValueState?.rerunnable) {
187-
this.toastService.showWarning('This report cannot be copied to test tab');
188-
return;
189-
}
190185
if (this.nodeValueState?.storageId === undefined) {
191186
throw new Error('Cannot copy report because ReportComponent does not have the storageId');
192187
}
@@ -208,10 +203,6 @@ export class ReportSharedStrategy {
208203
}
209204

210205
private rerunReport(): void {
211-
if (!this.nodeValueState?.rerunnable) {
212-
this.toastService.showWarning('This report cannot be rerun');
213-
return;
214-
}
215206
if (this.nodeValueState?.storageId === undefined) {
216207
throw new Error('Cannot rerun report because ReportComponent does not have the storageId');
217208
}

ladybug-frontend/src/app/shared/interfaces/report.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export interface Report extends BaseReport {
2222
stubStrategy: string | null;
2323
transformation: string;
2424
variables: string;
25-
rerunnable: boolean;
2625
storageName: string;
2726
xml: string; // Custom for the xml representation of the report
2827
id: string; // Custom

0 commit comments

Comments
 (0)