Skip to content

Commit

Permalink
hack: hide node connection time components
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Greiner <[email protected]>
  • Loading branch information
louisgreiner committed Jan 24, 2025
1 parent 37949a6 commit 5a13514
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
height="28px"
/>
<text x="8" y="55" class="node_text">{{ perlenketteNode.shortName }}</text>
<text x="88" y="55" text-anchor="end" class="node_connection_time">
<text x="88" y="55" text-anchor="end" class="node_connection_time" *ngIf="false">
{{ perlenketteNode.connectionTime }}
</text>

Expand Down Expand Up @@ -336,6 +336,7 @@
[attr.y]="55 + heightConnectionSurplus"
text-anchor="end"
class="node_connection_time"
*ngIf="false"
>
{{ perlenketteNode.connectionTime }}
</text>
Expand Down
6 changes: 3 additions & 3 deletions src/app/view/editor-main-view/data-views/nodes.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class NodesView {
this.makeAnalyticsTextLeftArea(groupEnter);
this.makeAnalyticsTextRightArea(groupEnter);
this.makeLabelText(groupEnter);
this.makeLabelConnectionText(groupEnter);
// this.makeLabelConnectionText(groupEnter);
}

makeNodeLODLevel3(groupEnter: any) {
Expand All @@ -196,7 +196,7 @@ export class NodesView {
this.makeAnalyticsTextLeftArea(groupEnter);
this.makeAnalyticsTextRightArea(groupEnter);
this.makeLabelText(groupEnter);
this.makeLabelConnectionText(groupEnter);
// this.makeLabelConnectionText(groupEnter);
}

makeNodeLODLevel2(groupEnter: any) {
Expand All @@ -207,7 +207,7 @@ export class NodesView {
this.makeNodeDockable(groupEnter);
this.makeAnalyticsArea(groupEnter);
this.makeLabelText(groupEnter);
this.makeLabelConnectionText(groupEnter);
// this.makeLabelConnectionText(groupEnter);
}

makeNodeLODLevel1(groupEnter: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h2 class="SummaryTitle">
<sbb-form-field [label]="'app.view.editor-side-view.editor-node-detail-view.connection-time' | translate"
class="sbb-form-field-long"
[class.readonly]="!versionControlService.getVariantIsWritable()"
*ngIf="false"
>
<input
sbbInput
Expand Down

0 comments on commit 5a13514

Please sign in to comment.