-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: refactor compare tab (#512)
* refactor: removed the jqx-widgets library and refactored the compare tab because of it * refactor: process pr comments * Test new CICD job
- Loading branch information
1 parent
6e1193e
commit 7642938
Showing
23 changed files
with
292 additions
and
475 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,9 +1,6 @@ | ||
import { NodeLinkStrategy } from '../shared/enums/compare-method'; | ||
|
||
export class CompareData { | ||
id!: string; | ||
originalReport: any; | ||
runResultReport: any; | ||
viewName: string = ''; | ||
nodeLinkStrategy: NodeLinkStrategy = NodeLinkStrategy.NONE; | ||
} |
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,18 +1,5 @@ | ||
/*#tree-container {*/ | ||
/* background: linear-gradient(#e9ecef, #e9ecef) no-repeat center/2px 100%;*/ | ||
/*}*/ | ||
|
||
.compare-header { | ||
display: flex; | ||
align-items: center; | ||
height: 50px; | ||
border-bottom: 1px solid #dee2e6; | ||
} | ||
|
||
.trees-container { | ||
display: flex; | ||
flex-direction: row; | ||
height: 46vh; | ||
} | ||
|
||
label { | ||
margin: 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 |
---|---|---|
@@ -1,20 +1,4 @@ | ||
<div class="row" id="tree-container"> | ||
<div class="compare-header col-12 p-2"> | ||
<label class="p-2"> | ||
Compare method: | ||
</label> | ||
<select class="form-control w-fit" (change)="changeNodeLinkStrategy($event)"> | ||
<option value="PATH" [selected]="nodeLinkStrategy === NodeLinkStrategy.PATH">Path</option> | ||
<option value="CHECKPOINT_NUMBER" [selected]="nodeLinkStrategy === NodeLinkStrategy.CHECKPOINT_NUMBER.toString()">Checkpoint number</option> | ||
<option value="NONE" [selected]="nodeLinkStrategy === NodeLinkStrategy.NONE.toString()">None</option> | ||
</select> | ||
</div> | ||
<div class="trees-container row col-12 p-2"> | ||
<div class="col-6 h-100"> | ||
<jqxTree #leftTreeReference [auto-create]="false" (onItemClick)="nodeSelected($event, true)"></jqxTree> | ||
</div> | ||
<div class="col-6 h-100"> | ||
<jqxTree #rightTreeReference [auto-create]="false" (onItemClick)="nodeSelected($event, false)"></jqxTree> | ||
</div> | ||
</div> | ||
<div class="trees-container row col-12 p-2"> | ||
<ng-simple-tree #leftTree class="w-50 h-fit" [options]="leftTreeOptions" (click)="syncTrees('left')"/> | ||
<ng-simple-tree #rightTree class="w-50 h-fit" [options]="rightTreeOptions" (click)="syncTrees('right')"/> | ||
</div> |
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
Oops, something went wrong.