You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2025/11/28 15:19:56 UTC

(streampipes) branch 3996-editor updated: refactor: Migrate editor to control flow syntax

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch 3996-editor
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/3996-editor by this push:
     new afa033bf10 refactor: Migrate editor to control flow syntax
afa033bf10 is described below

commit afa033bf10ec6345190ec0e51f555480a9d93853
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Nov 28 16:19:47 2025 +0100

    refactor: Migrate editor to control flow syntax
---
 .../custom-output-strategy.component.html          | 130 ++++----
 .../output-strategy/output-strategy.component.html |  96 +++---
 .../property-selection.component.html              |  85 ++---
 .../user-defined-output.component.html             | 136 ++++----
 .../pipeline-assembly-drawing-area.component.html  |  47 +--
 ...-assembly-options-pipeline-cache.component.html |  80 +++--
 .../pipeline-assembly-options.component.html       |  44 +--
 .../pipeline-assembly.component.html               |  63 ++--
 .../pipeline-element-icon-stand-row.component.html |  70 ++--
 .../pipeline-element-icon-stand.component.html     | 339 ++++++++++---------
 .../pipeline-element-options.component.html        | 143 ++++----
 .../pipeline-element-preview.component.html        |  79 ++---
 .../pipeline-element-statistics.component.html     |  75 ++---
 .../dropped-pipeline-element.component.html        | 199 ++++++------
 .../components/pipeline/pipeline.component.html    | 108 ++++---
 .../compatible-elements.component.html             | 101 +++---
 .../dialog/customize/customize.component.html      | 359 +++++++++++----------
 .../matching-error/matching-error.component.html   |  84 ++---
 .../missing-elements-for-tutorial.component.html   |  49 +--
 .../pipeline-element-discovery.component.html      |  97 +++---
 .../save-pipeline-settings.component.html          | 177 +++++-----
 .../save-pipeline/save-pipeline.component.html     | 169 +++++-----
 ui/src/app/editor/editor.component.html            | 122 +++----
 23 files changed, 1484 insertions(+), 1368 deletions(-)

diff --git a/ui/src/app/editor/components/output-strategy/custom-output/custom-output-strategy.component.html b/ui/src/app/editor/components/output-strategy/custom-output/custom-output-strategy.component.html
index c87e3ee42c..761a1dad8b 100644
--- a/ui/src/app/editor/components/output-strategy/custom-output/custom-output-strategy.component.html
+++ b/ui/src/app/editor/components/output-strategy/custom-output/custom-output-strategy.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 <div fxFlex="100" fxLayout="column">
     <div fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="mb-10">
         <h5 style="margin-right: 10px">
@@ -39,58 +39,62 @@
             {{ 'Select none' | translate }}
         </button>
     </div>
-    <div *ngFor="let property of collectedPropertiesFirstStream; let i = index">
-        <sp-property-selection
-            (validateForm)="checkFormValidity()"
-            [outputStrategy]="outputStrategy"
-            [eventProperty]="property"
-            [layer]="0"
-            [restrictedEditMode]="restrictedEditMode"
-        ></sp-property-selection>
-    </div>
-    <div
-        fxLayout="column"
-        fxFlex="100"
-        class="mt-10"
-        *ngIf="collectedPropertiesSecondStream.length > 0"
-    >
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start center">
-            <h5 style="margin-right: 10px">
-                {{ selectedElement.inputStreams[1].name }}
-            </h5>
-            <button
-                mat-button
-                mat-flat-button
-                color="accent"
-                class="small-button"
-                (click)="selectAll(collectedPropertiesSecondStream)"
-                style="margin-right: 10px; margin-left: 10px"
-                [disabled]="restrictedEditMode"
-            >
-                Select all
-            </button>
-            <button
-                mat-button
-                mat-flat-button
-                class="mat-basic small-button"
-                (click)="deselectAll(collectedPropertiesSecondStream)"
-                [disabled]="restrictedEditMode"
-            >
-                Select none
-            </button>
-        </div>
-        <div
-            *ngFor="
-                let property of collectedPropertiesSecondStream;
-                let i = index
-            "
-        >
+    @for (
+        property of collectedPropertiesFirstStream;
+        track property;
+        let i = $index
+    ) {
+        <div>
             <sp-property-selection
+                (validateForm)="checkFormValidity()"
                 [outputStrategy]="outputStrategy"
                 [eventProperty]="property"
                 [layer]="0"
                 [restrictedEditMode]="restrictedEditMode"
             ></sp-property-selection>
         </div>
-    </div>
+    }
+    @if (collectedPropertiesSecondStream.length > 0) {
+        <div fxLayout="column" fxFlex="100" class="mt-10">
+            <div fxFlex="100" fxLayout="row" fxLayoutAlign="start center">
+                <h5 style="margin-right: 10px">
+                    {{ selectedElement.inputStreams[1].name }}
+                </h5>
+                <button
+                    mat-button
+                    mat-flat-button
+                    color="accent"
+                    class="small-button"
+                    (click)="selectAll(collectedPropertiesSecondStream)"
+                    style="margin-right: 10px; margin-left: 10px"
+                    [disabled]="restrictedEditMode"
+                >
+                    Select all
+                </button>
+                <button
+                    mat-button
+                    mat-flat-button
+                    class="mat-basic small-button"
+                    (click)="deselectAll(collectedPropertiesSecondStream)"
+                    [disabled]="restrictedEditMode"
+                >
+                    Select none
+                </button>
+            </div>
+            @for (
+                property of collectedPropertiesSecondStream;
+                track property;
+                let i = $index
+            ) {
+                <div>
+                    <sp-property-selection
+                        [outputStrategy]="outputStrategy"
+                        [eventProperty]="property"
+                        [layer]="0"
+                        [restrictedEditMode]="restrictedEditMode"
+                    ></sp-property-selection>
+                </div>
+            }
+        </div>
+    }
 </div>
diff --git a/ui/src/app/editor/components/output-strategy/output-strategy.component.html b/ui/src/app/editor/components/output-strategy/output-strategy.component.html
index 515d9da71a..1f0d3037d3 100644
--- a/ui/src/app/editor/components/output-strategy/output-strategy.component.html
+++ b/ui/src/app/editor/components/output-strategy/output-strategy.component.html
@@ -1,57 +1,57 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
-<div fxFlex="100" fxLayout="column" *ngIf="customizableOutputStrategy">
-    <div fxFlex="100" fxLayout="column" class="static-property-panel">
-        <div fxFlex="100" fxLayout="column">
-            <b>{{ 'Select output fields' | translate }}</b>
-        </div>
-        <div fxFlex="100">
-            <div
-                class="customize-item-content"
-                *ngIf="
+@if (customizableOutputStrategy) {
+    <div fxFlex="100" fxLayout="column">
+        <div fxFlex="100" fxLayout="column" class="static-property-panel">
+            <div fxFlex="100" fxLayout="column">
+                <b>{{ 'Select output fields' | translate }}</b>
+            </div>
+            <div fxFlex="100">
+                @if (
                     outputStrategy['@class'] ===
                     'org.apache.streampipes.model.output.CustomOutputStrategy'
-                "
-            >
-                <sp-custom-output-strategy
-                    [outputStrategy]="outputStrategy"
-                    [selectedElement]="selectedElement"
-                    [parentForm]="parentForm"
-                    [restrictedEditMode]="restrictedEditMode"
-                >
-                </sp-custom-output-strategy>
-            </div>
-            <div
-                class="customize-item-content"
-                *ngIf="
+                ) {
+                    <div class="customize-item-content">
+                        <sp-custom-output-strategy
+                            [outputStrategy]="outputStrategy"
+                            [selectedElement]="selectedElement"
+                            [parentForm]="parentForm"
+                            [restrictedEditMode]="restrictedEditMode"
+                        >
+                        </sp-custom-output-strategy>
+                    </div>
+                }
+                @if (
                     outputStrategy['@class'] ===
                     'org.apache.streampipes.model.output.UserDefinedOutputStrategy'
-                "
-            >
-                <sp-user-defined-output-strategy
-                    [outputStrategy]="outputStrategy"
-                    [selectedElement]="selectedElement"
-                    [parentForm]="parentForm"
-                    [restrictedEditMode]="restrictedEditMode"
-                >
-                </sp-user-defined-output-strategy>
+                ) {
+                    <div class="customize-item-content">
+                        <sp-user-defined-output-strategy
+                            [outputStrategy]="outputStrategy"
+                            [selectedElement]="selectedElement"
+                            [parentForm]="parentForm"
+                            [restrictedEditMode]="restrictedEditMode"
+                        >
+                        </sp-user-defined-output-strategy>
+                    </div>
+                }
             </div>
         </div>
     </div>
-</div>
+}
diff --git a/ui/src/app/editor/components/output-strategy/property-selection/property-selection.component.html b/ui/src/app/editor/components/output-strategy/property-selection/property-selection.component.html
index 6ceb0ddec3..81696a77a2 100644
--- a/ui/src/app/editor/components/output-strategy/property-selection/property-selection.component.html
+++ b/ui/src/app/editor/components/output-strategy/property-selection/property-selection.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="property-selection" style="margin-left:{{ layer * 5 }}%">
     <div fxLayout="row">
@@ -27,28 +27,39 @@
         >
         </mat-checkbox>
         <div>
-            <div *ngIf="eventProperty.label">
-                <b>{{ eventProperty.label }}</b
-                ><br />
-                <mat-hint class="description"
-                    >{{ eventProperty.description }}, field name:
-                    {{ eventProperty.runtimeName }}</mat-hint
-                >
-                <br />
-            </div>
-            <div *ngIf="!eventProperty.label">
-                <b>{{ eventProperty.runtimeName }}</b
-                ><br />
-            </div>
+            @if (eventProperty.label) {
+                <div>
+                    <b>{{ eventProperty.label }}</b
+                    ><br />
+                    <mat-hint class="description"
+                        >{{ eventProperty.description }}, field name:
+                        {{ eventProperty.runtimeName }}</mat-hint
+                    >
+                    <br />
+                </div>
+            }
+            @if (!eventProperty.label) {
+                <div>
+                    <b>{{ eventProperty.runtimeName }}</b
+                    ><br />
+                </div>
+            }
         </div>
     </div>
 </div>
-<div *ngIf="isNestedProperty">
-    <div *ngFor="let nestedProperty of eventProperty.eventProperties">
-        <sp-property-selection
-            [outputStrategy]="outputStrategy"
-            [eventProperty]="nestedProperty"
-            [layer]="layer + 1"
-        ></sp-property-selection>
+@if (isNestedProperty) {
+    <div>
+        @for (
+            nestedProperty of eventProperty.eventProperties;
+            track nestedProperty
+        ) {
+            <div>
+                <sp-property-selection
+                    [outputStrategy]="outputStrategy"
+                    [eventProperty]="nestedProperty"
+                    [layer]="layer + 1"
+                ></sp-property-selection>
+            </div>
+        }
     </div>
-</div>
+}
diff --git a/ui/src/app/editor/components/output-strategy/user-defined-output/user-defined-output.component.html b/ui/src/app/editor/components/output-strategy/user-defined-output/user-defined-output.component.html
index 5b459a3def..baa4732b8b 100644
--- a/ui/src/app/editor/components/output-strategy/user-defined-output/user-defined-output.component.html
+++ b/ui/src/app/editor/components/output-strategy/user-defined-output/user-defined-output.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div fxFlex="100" fxLayout="column">
     <div
@@ -37,63 +37,59 @@
         </button>
     </div>
 
-    <div
-        fxFlex="100"
-        fxLayout="row"
-        fxLayoutGap="10px"
-        *ngFor="let ep of outputStrategy.eventProperties; let i = index"
-    >
-        <div fxLayout="column" fxFlex="30">
-            <mat-form-field fxFlex color="accent">
-                <mat-label>{{ 'Runtime name' | translate }}</mat-label>
-                <input
-                    [(ngModel)]="ep.runtimeName"
-                    data-cy="runtime-name"
-                    fxFlex
-                    matInput
-                />
-            </mat-form-field>
-        </div>
-        <div fxLayout="column" fxFlex="30">
-            <mat-form-field class="example-full-width" color="accent">
-                <mat-label>{{ 'Runtime type' | translate }}</mat-label>
-                <mat-select
-                    [(ngModel)]="ep.runtimeType"
-                    [disabled]="restrictedEditMode"
-                    data-cy="runtime-type"
-                >
-                    <mat-option
-                        *ngFor="let primitive of primitiveClasses"
-                        [value]="primitive.id"
+    @for (ep of outputStrategy.eventProperties; track ep; let i = $index) {
+        <div fxFlex="100" fxLayout="row" fxLayoutGap="10px">
+            <div fxLayout="column" fxFlex="30">
+                <mat-form-field fxFlex color="accent">
+                    <mat-label>{{ 'Runtime name' | translate }}</mat-label>
+                    <input
+                        [(ngModel)]="ep.runtimeName"
+                        data-cy="runtime-name"
+                        fxFlex
+                        matInput
+                    />
+                </mat-form-field>
+            </div>
+            <div fxLayout="column" fxFlex="30">
+                <mat-form-field class="example-full-width" color="accent">
+                    <mat-label>{{ 'Runtime type' | translate }}</mat-label>
+                    <mat-select
+                        [(ngModel)]="ep.runtimeType"
+                        [disabled]="restrictedEditMode"
+                        data-cy="runtime-type"
                     >
-                        {{ primitive.label }}
-                    </mat-option>
-                </mat-select>
-            </mat-form-field>
-        </div>
-        <div fxLayout="column" fxFlex="30">
-            <mat-form-field fxFlex color="accent">
-                <mat-label>{{ 'Semantic type' | translate }}</mat-label>
-                <input
-                    [(ngModel)]="ep.semanticType"
+                        @for (primitive of primitiveClasses; track primitive) {
+                            <mat-option [value]="primitive.id">
+                                {{ primitive.label }}
+                            </mat-option>
+                        }
+                    </mat-select>
+                </mat-form-field>
+            </div>
+            <div fxLayout="column" fxFlex="30">
+                <mat-form-field fxFlex color="accent">
+                    <mat-label>{{ 'Semantic type' | translate }}</mat-label>
+                    <input
+                        [(ngModel)]="ep.semanticType"
+                        [disabled]="restrictedEditMode"
+                        data-cy="semantic-type"
+                        fxFlex
+                        matInput
+                    />
+                </mat-form-field>
+            </div>
+            <div fxLayout="column" fxFlex="10">
+                <button
+                    mat-icon-button
+                    class="icon-button"
+                    (click)="removeProperty(ep)"
                     [disabled]="restrictedEditMode"
-                    data-cy="semantic-type"
-                    fxFlex
-                    matInput
-                />
-            </mat-form-field>
-        </div>
-        <div fxLayout="column" fxFlex="10">
-            <button
-                mat-icon-button
-                class="icon-button"
-                (click)="removeProperty(ep)"
-                [disabled]="restrictedEditMode"
-            >
-                <mat-icon class="icon">remove</mat-icon>
-            </button>
+                >
+                    <mat-icon class="icon">remove</mat-icon>
+                </button>
+            </div>
         </div>
-    </div>
+    }
     <div>
         <button
             mat-button
diff --git a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-drawing-area/pipeline-assembly-drawing-area.component.html b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-drawing-area/pipeline-assembly-drawing-area.component.html
index 98819f88e0..aa6a4ec0b9 100644
--- a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-drawing-area/pipeline-assembly-drawing-area.component.html
+++ b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-drawing-area/pipeline-assembly-drawing-area.component.html
@@ -1,29 +1,30 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="pipeline-validation-hint">
-    <sp-error-hint
-        *ngIf="!readonly"
-        [displayMessages]="!isPipelineAssemblyEmpty()"
-        [errorMessages]="pipelineValidationService.errorMessages"
-        [validationString]="'Pipeline'"
-    >
-    </sp-error-hint>
+    @if (!readonly) {
+        <sp-error-hint
+            [displayMessages]="!isPipelineAssemblyEmpty()"
+            [errorMessages]="pipelineValidationService.errorMessages"
+            [validationString]="'Pipeline'"
+        >
+        </sp-error-hint>
+    }
 </div>
 
 <sp-pipeline-assembly-drawing-area-pan-zoom
diff --git a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options-pipeline-cache/pipeline-assembly-options-pipeline-cache.component.html b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options-pipeline-cache/pipeline-assembly-options-pipeline-cache.component.html
index f5f1ce844a..b59c2c1f00 100644
--- a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options-pipeline-cache/pipeline-assembly-options-pipeline-cache.component.html
+++ b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options-pipeline-cache/pipeline-assembly-options-pipeline-cache.component.html
@@ -1,50 +1,48 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div
     fxLayout="column"
     fxLayoutAlign="start center"
     class="pipeline-cache-block"
 >
-    <div
-        fxFlex="100"
-        fxLayoutAlign="start center"
-        fxLayout="row"
-        *ngIf="pipelineCached || pipelineCacheRunning"
-    >
-        <div fxLayout="row" fxLayoutAlign="start center">
-            <mat-spinner
-                [mode]="'indeterminate'"
-                color="accent"
-                [diameter]="15"
-                *ngIf="pipelineCacheRunning"
-            ></mat-spinner>
-            @if (pipelineCacheRunning) {
-                <span class="modification-status"
-                    >'&nbsp;{{
-                        'Saving pipeline modifications' | translate
-                    }}</span
-                >
-            } @else {
-                <span class="modification-status">{{
-                    'All pipeline modifications saved.' | translate
-                }}</span>
-            }
+    @if (pipelineCached || pipelineCacheRunning) {
+        <div fxFlex="100" fxLayoutAlign="start center" fxLayout="row">
+            <div fxLayout="row" fxLayoutAlign="start center">
+                @if (pipelineCacheRunning) {
+                    <mat-spinner
+                        [mode]="'indeterminate'"
+                        color="accent"
+                        [diameter]="15"
+                    ></mat-spinner>
+                }
+                @if (pipelineCacheRunning) {
+                    <span class="modification-status"
+                        >'&nbsp;{{
+                            'Saving pipeline modifications' | translate
+                        }}</span
+                    >
+                } @else {
+                    <span class="modification-status">{{
+                        'All pipeline modifications saved.' | translate
+                    }}</span>
+                }
+            </div>
         </div>
-    </div>
+    }
 </div>
diff --git a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options.component.html b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options.component.html
index a01033a136..c850c90856 100644
--- a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options.component.html
+++ b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly-options/pipeline-assembly-options.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div fxFlex="100" fxLayout="row" fxLayoutAlign="start center">
     <button
@@ -42,12 +42,12 @@
     >
         <div fxLayoutAlign="start center" fxLayout="row">
             <i class="material-icons">visibility</i>
-            <span *ngIf="!previewModeActive"
-                >&nbsp;{{ 'Enable live preview' | translate }}</span
-            >
-            <span *ngIf="previewModeActive"
-                >&nbsp;{{ 'Disable live preview' | translate }}</span
-            >
+            @if (!previewModeActive) {
+                <span>&nbsp;{{ 'Enable live preview' | translate }}</span>
+            }
+            @if (previewModeActive) {
+                <span>&nbsp;{{ 'Disable live preview' | translate }}</span>
+            }
         </div>
     </button>
     <span class="assembly-options-divider"></span>
diff --git a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.html b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.html
index b6aa44120b..01125bc105 100644
--- a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.html
+++ b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div fxFlex="100" fxLayout="column">
     <div class="pipeline-assembly-options page-container-nav">
@@ -34,19 +34,22 @@
         </sp-pipeline-assembly-options>
     </div>
     <div id="outerAssemblyArea" class="outerAssembly assembly-border">
-        <sp-pipeline-assembly-drawing-area
-            *ngIf="rawPipelineModel"
-            #drawingAreaComponent
-            fxFlex="100"
-            style="position: relative"
-            (triggerPipelineCacheUpdateEmitter)="triggerCacheUpdate()"
-            [readonly]="readonly"
-            [allElements]="allElements"
-            [rawPipelineModel]="rawPipelineModel"
-            [pipelineCanvasMetadata]="pipelineCanvasMetadata"
-            [pipelineCanvasMetadataAvailable]="pipelineCanvasMetadataAvailable"
-            [jsplumbBridge]="jsplumbBridge"
-        >
-        </sp-pipeline-assembly-drawing-area>
+        @if (rawPipelineModel) {
+            <sp-pipeline-assembly-drawing-area
+                #drawingAreaComponent
+                fxFlex="100"
+                style="position: relative"
+                (triggerPipelineCacheUpdateEmitter)="triggerCacheUpdate()"
+                [readonly]="readonly"
+                [allElements]="allElements"
+                [rawPipelineModel]="rawPipelineModel"
+                [pipelineCanvasMetadata]="pipelineCanvasMetadata"
+                [pipelineCanvasMetadataAvailable]="
+                    pipelineCanvasMetadataAvailable
+                "
+                [jsplumbBridge]="jsplumbBridge"
+            >
+            </sp-pipeline-assembly-drawing-area>
+        }
     </div>
 </div>
diff --git a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand-row/pipeline-element-icon-stand-row.component.html b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand-row/pipeline-element-icon-stand-row.component.html
index ce9230de6d..41e97612d9 100644
--- a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand-row/pipeline-element-icon-stand-row.component.html
+++ b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand-row/pipeline-element-icon-stand-row.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 <div
     fxLayout="row"
     class="draggable-pipeline-element"
@@ -52,24 +52,24 @@
         >
             {{ element.name }}
         </div>
-        <div
-            class="element-description"
-            *ngIf="currentMouseOver"
-            fxLayoutAlign="start start"
-        >
-            <small>{{ element.description }}</small>
-        </div>
-    </div>
-    <div fxLayoutAlign="end start" *ngIf="currentMouseOver">
-        <button
-            style="height: 20px"
-            mat-flat-button
-            color="accent"
-            class="help-button-stand"
-            data-cy="help-button-icon-stand"
-            (click)="openHelpDialog(element)"
-        >
-            ?
-        </button>
+        @if (currentMouseOver) {
+            <div class="element-description" fxLayoutAlign="start start">
+                <small>{{ element.description }}</small>
+            </div>
+        }
     </div>
+    @if (currentMouseOver) {
+        <div fxLayoutAlign="end start">
+            <button
+                style="height: 20px"
+                mat-flat-button
+                color="accent"
+                class="help-button-stand"
+                data-cy="help-button-icon-stand"
+                (click)="openHelpDialog(element)"
+            >
+                ?
+            </button>
+        </div>
+    }
 </div>
diff --git a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
index 8ac914d86f..acb97129ff 100644
--- a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
+++ b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 <div
     fxFlex="100"
     fxLayout="column"
@@ -44,158 +44,189 @@
                             [(ngModel)]="elementFilter"
                         />
                         <mat-icon matPrefix color="accent">search</mat-icon>
-                        <button
-                            *ngIf="elementFilter"
-                            matSuffix
-                            mat-icon-button
-                            aria-label="Find element"
-                            (click)="clearInput()"
-                        >
-                            <mat-icon>close</mat-icon>
-                        </button>
+                        @if (elementFilter) {
+                            <button
+                                matSuffix
+                                mat-icon-button
+                                aria-label="Find element"
+                                (click)="clearInput()"
+                            >
+                                <mat-icon>close</mat-icon>
+                            </button>
+                        }
                     </mat-form-field>
                 </div>
                 <span fxFlex></span>
             </div>
         </div>
     </div>
-    <div id="editor-icon-stand" class="icon-stand" *ngIf="allElements">
-        <div fxFlex="100" fxLayout="column">
-            <div
-                *ngFor="let availableType; let i = index; of: availableTypes"
-                fxLayout="column"
-                class="panel-outer"
-            >
-                <div
-                    class="panel-header"
-                    id="panel-{{ availableType.filters[0] }}"
-                    fxLayout="row"
-                    fxLayoutAlign="start center"
-                    [ngStyle]="{ background: 'var(--color-bg-2)' }"
-                >
-                    <div class="panel-title" fxLayoutAlign="start center">
-                        {{ availableType.title }}
-                    </div>
-                    <span fxFlex></span>
-                    <button
-                        mat-icon-button
-                        [matTooltip]="'Create new source' | translate"
-                        (click)="navigateToConnect()"
-                        *ngIf="availableType.title === availableTypes[0].title"
-                    >
-                        <mat-icon>add</mat-icon>
-                    </button>
-                    <button
-                        mat-icon-button
-                        (click)="toggleOpen(availableType)"
-                        *ngIf="!availableType.open"
-                    >
-                        <mat-icon>expand_more</mat-icon>
-                    </button>
-                    <button
-                        mat-icon-button
-                        (click)="toggleOpen(availableType)"
-                        *ngIf="availableType.open"
-                    >
-                        <mat-icon>expand_less</mat-icon>
-                    </button>
-                </div>
-                <div
-                    fxFlex="100"
-                    fxLayout="column"
-                    *ngIf="availableType.open"
-                    class="panel-content"
-                >
-                    <div
-                        fxLayout="row"
-                        fxLayoutAlign="end center"
-                        class="panel-options"
-                    >
-                        <small
-                            >{{ 'Sort' | translate }}:&nbsp;<a
-                                (click)="changeSorting(availableType, 'group')"
-                                class="sort-option"
-                                [ngClass]="
-                                    availableType.sort === 'group'
-                                        ? 'sort-selected'
-                                        : 'sort-unselected'
-                                "
-                                >{{ 'Group' | translate }}</a
-                            >&nbsp;|&nbsp;
-                            <a
-                                (click)="changeSorting(availableType, 'name')"
-                                class="sort-option"
-                                [ngClass]="
-                                    availableType.sort === 'name'
-                                        ? 'sort-selected'
-                                        : 'sort-unselected'
-                                "
-                                >{{ 'Name' | translate }}</a
-                            ></small
-                        >
-                    </div>
-                    <div
-                        fxFlex="100"
-                        fxLayout="column"
-                        *ngIf="availableType.sort === 'name'"
-                    >
+    @if (allElements) {
+        <div id="editor-icon-stand" class="icon-stand">
+            <div fxFlex="100" fxLayout="column">
+                @for (
+                    availableType of availableTypes;
+                    track $index;
+                    let i = $index
+                ) {
+                    <div fxLayout="column" class="panel-outer">
                         <div
-                            fxLayout="column"
-                            fxFlex="100"
-                            *ngFor="
-                                let element of allElements
-                                    | pipelineElementType: availableType.filters
-                                    | pipelineElementName: elementFilter
-                            "
-                            class="pe-row"
+                            class="panel-header"
+                            id="panel-{{ availableType.filters[0] }}"
+                            fxLayout="row"
+                            fxLayoutAlign="start center"
+                            [ngStyle]="{ background: 'var(--color-bg-2)' }"
                         >
-                            <sp-pe-icon-stand-row
-                                [element]="element"
-                                fxFlex="100"
-                            ></sp-pe-icon-stand-row>
-                        </div>
-                    </div>
-                    <div
-                        fxFlex="100"
-                        fxLayout="column"
-                        *ngIf="
-                            availableType.sort === 'group' && categoriesReady
-                        "
-                    >
-                        <div
-                            *ngFor="
-                                let category of allCategories.get(
-                                    availableType.filters[0]
-                                )
-                            "
-                            fxLayout="column"
-                        >
-                            <div class="group-outer">
-                                <span class="group-title">{{
-                                    category.label
-                                }}</span>
+                            <div
+                                class="panel-title"
+                                fxLayoutAlign="start center"
+                            >
+                                {{ availableType.title }}
                             </div>
+                            <span fxFlex></span>
+                            @if (
+                                availableType.title === availableTypes[0].title
+                            ) {
+                                <button
+                                    mat-icon-button
+                                    [matTooltip]="
+                                        'Create new source' | translate
+                                    "
+                                    (click)="navigateToConnect()"
+                                >
+                                    <mat-icon>add</mat-icon>
+                                </button>
+                            }
+                            @if (!availableType.open) {
+                                <button
+                                    mat-icon-button
+                                    (click)="toggleOpen(availableType)"
+                                >
+                                    <mat-icon>expand_more</mat-icon>
+                                </button>
+                            }
+                            @if (availableType.open) {
+                                <button
+                                    mat-icon-button
+                                    (click)="toggleOpen(availableType)"
+                                >
+                                    <mat-icon>expand_less</mat-icon>
+                                </button>
+                            }
+                        </div>
+                        @if (availableType.open) {
                             <div
-                                fxLayout="column"
                                 fxFlex="100"
-                                *ngFor="
-                                    let element of allElements
-                                        | pipelineElementType
-                                            : availableType.filters
-                                        | pipelineElementName: elementFilter
-                                        | pipelineElementGroup: category
-                                "
-                                class="pe-row"
+                                fxLayout="column"
+                                class="panel-content"
                             >
-                                <sp-pe-icon-stand-row
-                                    [element]="element"
-                                    fxFlex="100"
-                                ></sp-pe-icon-stand-row>
+                                <div
+                                    fxLayout="row"
+                                    fxLayoutAlign="end center"
+                                    class="panel-options"
+                                >
+                                    <small
+                                        >{{ 'Sort' | translate }}:&nbsp;<a
+                                            (click)="
+                                                changeSorting(
+                                                    availableType,
+                                                    'group'
+                                                )
+                                            "
+                                            class="sort-option"
+                                            [ngClass]="
+                                                availableType.sort === 'group'
+                                                    ? 'sort-selected'
+                                                    : 'sort-unselected'
+                                            "
+                                            >{{ 'Group' | translate }}</a
+                                        >&nbsp;|&nbsp;
+                                        <a
+                                            (click)="
+                                                changeSorting(
+                                                    availableType,
+                                                    'name'
+                                                )
+                                            "
+                                            class="sort-option"
+                                            [ngClass]="
+                                                availableType.sort === 'name'
+                                                    ? 'sort-selected'
+                                                    : 'sort-unselected'
+                                            "
+                                            >{{ 'Name' | translate }}</a
+                                        ></small
+                                    >
+                                </div>
+                                @if (availableType.sort === 'name') {
+                                    <div fxFlex="100" fxLayout="column">
+                                        @for (
+                                            element of allElements
+                                                | pipelineElementType
+                                                    : availableType.filters
+                                                | pipelineElementName
+                                                    : elementFilter;
+                                            track element
+                                        ) {
+                                            <div
+                                                fxLayout="column"
+                                                fxFlex="100"
+                                                class="pe-row"
+                                            >
+                                                <sp-pe-icon-stand-row
+                                                    [element]="element"
+                                                    fxFlex="100"
+                                                ></sp-pe-icon-stand-row>
+                                            </div>
+                                        }
+                                    </div>
+                                }
+                                @if (
+                                    availableType.sort === 'group' &&
+                                    categoriesReady
+                                ) {
+                                    <div fxFlex="100" fxLayout="column">
+                                        @for (
+                                            category of allCategories.get(
+                                                availableType.filters[0]
+                                            );
+                                            track category
+                                        ) {
+                                            <div fxLayout="column">
+                                                <div class="group-outer">
+                                                    <span class="group-title">{{
+                                                        category.label
+                                                    }}</span>
+                                                </div>
+                                                @for (
+                                                    element of allElements
+                                                        | pipelineElementType
+                                                            : availableType.filters
+                                                        | pipelineElementName
+                                                            : elementFilter
+                                                        | pipelineElementGroup
+                                                            : category;
+                                                    track element
+                                                ) {
+                                                    <div
+                                                        fxLayout="column"
+                                                        fxFlex="100"
+                                                        class="pe-row"
+                                                    >
+                                                        <sp-pe-icon-stand-row
+                                                            [element]="element"
+                                                            fxFlex="100"
+                                                        ></sp-pe-icon-stand-row>
+                                                    </div>
+                                                }
+                                            </div>
+                                        }
+                                    </div>
+                                }
                             </div>
-                        </div>
+                        }
                     </div>
-                </div>
+                }
             </div>
         </div>
-    </div>
+    }
 </div>
diff --git a/ui/src/app/editor/components/pipeline-element-options/pipeline-element-options.component.html b/ui/src/app/editor/components/pipeline-element-options/pipeline-element-options.component.html
index e01d71c7ba..4b1a6d3d31 100644
--- a/ui/src/app/editor/components/pipeline-element-options/pipeline-element-options.component.html
+++ b/ui/src/app/editor/components/pipeline-element-options/pipeline-element-options.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 <div>
     <div>
         <div
@@ -25,37 +25,39 @@
             "
             class="sp-fade-options"
         >
-            <span
-                class="options-button customize-button"
-                *ngIf="pipelineElement.type !== 'stream'"
-                style="z-index: 10"
-            >
-                <button
-                    class="options-icon-button"
-                    mat-icon-button
-                    [matTooltip]="'Configure Element' | translate"
-                    [matTooltipPosition]="'above'"
-                    (click)="customizeElement(pipelineElement)"
-                    data-cy="settings-pipeline-element-button"
+            @if (pipelineElement.type !== 'stream') {
+                <span
+                    class="options-button customize-button"
+                    style="z-index: 10"
                 >
-                    <i class="material-icons options-icon-size">settings</i>
-                </button>
-            </span>
-            <span
-                class="options-button customize-button"
-                *ngIf="pipelineElement.type === 'stream' && isWildcardTopic()"
-                style="z-index: 10"
-            >
-                <button
-                    class="options-icon-button"
-                    mat-icon-button
-                    [matTooltip]="'Configure Element' | translate"
-                    [matTooltipPosition]="'above'"
-                    (click)="openCustomizeStreamDialog()"
+                    <button
+                        class="options-icon-button"
+                        mat-icon-button
+                        [matTooltip]="'Configure Element' | translate"
+                        [matTooltipPosition]="'above'"
+                        (click)="customizeElement(pipelineElement)"
+                        data-cy="settings-pipeline-element-button"
+                    >
+                        <i class="material-icons options-icon-size">settings</i>
+                    </button>
+                </span>
+            }
+            @if (pipelineElement.type === 'stream' && isWildcardTopic()) {
+                <span
+                    class="options-button customize-button"
+                    style="z-index: 10"
                 >
-                    <i class="material-icons options-icon-size">settings</i>
-                </button>
-            </span>
+                    <button
+                        class="options-icon-button"
+                        mat-icon-button
+                        [matTooltip]="'Configure Element' | translate"
+                        [matTooltipPosition]="'above'"
+                        (click)="openCustomizeStreamDialog()"
+                    >
+                        <i class="material-icons options-icon-size">settings</i>
+                    </button>
+                </span>
+            }
             <span class="options-button delete-button" style="z-index: 10">
                 <button
                     class="options-icon-button"
@@ -67,31 +69,34 @@
                     <i class="material-icons options-icon-size">clear</i>
                 </button>
             </span>
-            <span
-                class="options-button possible-button"
-                *ngIf="pipelineElement.type !== 'action'"
-                style="z-index: 10"
-            >
-                <button
-                    class="options-icon-button"
-                    mat-icon-button
-                    [matTooltip]="'Compatible Elements' | translate"
-                    [matTooltipPosition]="'below'"
-                    [disabled]="
-                        !possibleElements || possibleElements.length === 0
-                    "
-                    (click)="openPossibleElementsDialog()"
-                    [attr.data-cy]="
-                        'sp-possible-elements-' +
-                        pipelineElement.payload.name
-                            .toLowerCase()
-                            .replaceAll(' ', '_')
-                    "
-                    _
+            @if (pipelineElement.type !== 'action') {
+                <span
+                    class="options-button possible-button"
+                    style="z-index: 10"
                 >
-                    <i class="material-icons options-icon-size">account_tree</i>
-                </button>
-            </span>
+                    <button
+                        class="options-icon-button"
+                        mat-icon-button
+                        [matTooltip]="'Compatible Elements' | translate"
+                        [matTooltipPosition]="'below'"
+                        [disabled]="
+                            !possibleElements || possibleElements.length === 0
+                        "
+                        (click)="openPossibleElementsDialog()"
+                        [attr.data-cy]="
+                            'sp-possible-elements-' +
+                            pipelineElement.payload.name
+                                .toLowerCase()
+                                .replaceAll(' ', '_')
+                        "
+                        _
+                    >
+                        <i class="material-icons options-icon-size"
+                            >account_tree</i
+                        >
+                    </button>
+                </span>
+            }
             <span class="options-button help-button" style="z-index: 10">
                 <button
                     class="options-icon-button"
diff --git a/ui/src/app/editor/components/pipeline-element-preview/pipeline-element-preview.component.html b/ui/src/app/editor/components/pipeline-element-preview/pipeline-element-preview.component.html
index edb0adc689..eb0deeb848 100644
--- a/ui/src/app/editor/components/pipeline-element-preview/pipeline-element-preview.component.html
+++ b/ui/src/app/editor/components/pipeline-element-preview/pipeline-element-preview.component.html
@@ -1,44 +1,45 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="data-preview">
-    <div
-        *ngIf="!runtimeData"
-        fxFlex="100"
-        fxLayout="column"
-        fxLayoutAlign="center center"
-    >
-        <mat-spinner [diameter]="20" color="accent"></mat-spinner>
-        <span class="preview-table mt-10"
-            >{{ 'Waiting for live data' | translate }}...</span
-        >
-    </div>
-    <table class="row-border hover preview-table" *ngIf="runtimeData">
-        <tbody id="preview-data-rows-id">
-            <tr
-                *ngFor="let item of runtimeData | keyvalue: keyValueCompareFn"
-                class="preview-row"
+    @if (!runtimeData) {
+        <div fxFlex="100" fxLayout="column" fxLayoutAlign="center center">
+            <mat-spinner [diameter]="20" color="accent"></mat-spinner>
+            <span class="preview-table mt-10"
+                >{{ 'Waiting for live data' | translate }}...</span
             >
-                <td>
-                    <b>{{ item.key }}</b>
-                </td>
-                <td>{{ item.value }}</td>
-            </tr>
-        </tbody>
-    </table>
+        </div>
+    }
+    @if (runtimeData) {
+        <table class="row-border hover preview-table">
+            <tbody id="preview-data-rows-id">
+                @for (
+                    item of runtimeData | keyvalue: keyValueCompareFn;
+                    track item
+                ) {
+                    <tr class="preview-row">
+                        <td>
+                            <b>{{ item.key }}</b>
+                        </td>
+                        <td>{{ item.value }}</td>
+                    </tr>
+                }
+            </tbody>
+        </table>
+    }
 </div>
diff --git a/ui/src/app/editor/components/pipeline-element-statistics/pipeline-element-statistics.component.html b/ui/src/app/editor/components/pipeline-element-statistics/pipeline-element-statistics.component.html
index 4009b5e32e..685d143f59 100644
--- a/ui/src/app/editor/components/pipeline-element-statistics/pipeline-element-statistics.component.html
+++ b/ui/src/app/editor/components/pipeline-element-statistics/pipeline-element-statistics.component.html
@@ -1,41 +1,42 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
-<div class="statistics" *ngIf="metricsInfo">
-    <div fxLayout="row" fxLayoutGap="5px">
-        <div fxLayout="column" fxLayoutAlign="start center">
-            <sp-pipeline-element-statistics-badge
-                *ngFor="let info of metricsInfo.messagesIn | keyvalue"
-                key="in"
-                [value]="info.value.counter"
-            >
-            </sp-pipeline-element-statistics-badge>
-        </div>
-        <div
-            fxLayout="column"
-            *ngIf="type !== PipelineElementType.DataSink"
-            fxLayoutAlign="end center"
-        >
-            <sp-pipeline-element-statistics-badge
-                key="out"
-                [value]="metricsInfo.messagesOut.counter"
-            >
-            </sp-pipeline-element-statistics-badge>
+@if (metricsInfo) {
+    <div class="statistics">
+        <div fxLayout="row" fxLayoutGap="5px">
+            <div fxLayout="column" fxLayoutAlign="start center">
+                @for (info of metricsInfo.messagesIn | keyvalue; track info) {
+                    <sp-pipeline-element-statistics-badge
+                        key="in"
+                        [value]="info.value.counter"
+                    >
+                    </sp-pipeline-element-statistics-badge>
+                }
+            </div>
+            @if (type !== PipelineElementType.DataSink) {
+                <div fxLayout="column" fxLayoutAlign="end center">
+                    <sp-pipeline-element-statistics-badge
+                        key="out"
+                        [value]="metricsInfo.messagesOut.counter"
+                    >
+                    </sp-pipeline-element-statistics-badge>
+                </div>
+            }
         </div>
     </div>
-</div>
+}
diff --git a/ui/src/app/editor/components/pipeline/dropped-pipeline-element/dropped-pipeline-element.component.html b/ui/src/app/editor/components/pipeline/dropped-pipeline-element/dropped-pipeline-element.component.html
index b5fe3391bc..6956d7f3fe 100644
--- a/ui/src/app/editor/components/pipeline/dropped-pipeline-element/dropped-pipeline-element.component.html
+++ b/ui/src/app/editor/components/pipeline/dropped-pipeline-element/dropped-pipeline-element.component.html
@@ -1,63 +1,65 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 <div style="z-index: 5" [ngClass]="elementCssClasses">
-    <div
-        class="pipeline-element-progress-container sp-fade"
-        *ngIf="pipelineElementConfig.settings.loadingStatus"
-    >
-        <mat-spinner
-            [mode]="'indeterminate'"
-            class="pipeline-element-progress"
-            [diameter]="40"
-            color="accent"
-        ></mat-spinner>
-    </div>
-    <div
-        class="pipeline-element-loading-container sp-fade-opacity"
-        *ngIf="pipelineElementConfig.settings.loadingStatus"
-    ></div>
-    <div
-        class="pipeline-element-configuration-status {{
-            pipelineElementConfig.type === 'stream'
-                ? 'pi-stream'
-                : 'pi-processor'
-        }}"
-        *ngIf="!readonly"
-    >
-        <i
-            class="material-icons pipeline-element-configuration-invalid-icon"
-            *ngIf="pipelineElementConfig.settings.completed === 3"
-        >
-            warning
-        </i>
-        <i
-            class="material-icons pipeline-element-configuration-modified-icon"
-            *ngIf="pipelineElementConfig.settings.completed === 2"
+    @if (pipelineElementConfig.settings.loadingStatus) {
+        <div class="pipeline-element-progress-container sp-fade">
+            <mat-spinner
+                [mode]="'indeterminate'"
+                class="pipeline-element-progress"
+                [diameter]="40"
+                color="accent"
+            ></mat-spinner>
+        </div>
+    }
+    @if (pipelineElementConfig.settings.loadingStatus) {
+        <div class="pipeline-element-loading-container sp-fade-opacity"></div>
+    }
+    @if (!readonly) {
+        <div
+            class="pipeline-element-configuration-status {{
+                pipelineElementConfig.type === 'stream'
+                    ? 'pi-stream'
+                    : 'pi-processor'
+            }}"
         >
-            warning
-        </i>
-        <i
-            class="material-icons pipeline-element-configuration-ok-icon"
-            *ngIf="pipelineElementConfig.settings.completed === 1"
-        >
-            check_circle
-        </i>
-    </div>
+            @if (pipelineElementConfig.settings.completed === 3) {
+                <i
+                    class="material-icons pipeline-element-configuration-invalid-icon"
+                >
+                    warning
+                </i>
+            }
+            @if (pipelineElementConfig.settings.completed === 2) {
+                <i
+                    class="material-icons pipeline-element-configuration-modified-icon"
+                >
+                    warning
+                </i>
+            }
+            @if (pipelineElementConfig.settings.completed === 1) {
+                <i
+                    class="material-icons pipeline-element-configuration-ok-icon"
+                >
+                    check_circle
+                </i>
+            }
+        </div>
+    }
     <sp-pipeline-element
         [pipelineElement]="pipelineElementConfig.payload"
     ></sp-pipeline-element>
@@ -69,42 +71,47 @@
 >
     {{ pipelineElementConfig.payload.name }}
 </div>
-<sp-pipeline-element-statistics
-    *ngIf="metricsInfo"
-    [pipelineElement]="pipelineElementConfig.payload"
-    [metricsInfo]="metricsInfo[pipelineElementConfig.payload.elementId]"
->
-</sp-pipeline-element-statistics>
-<sp-pipeline-element-options
-    *ngIf="!readonly"
-    (delete)="deleteEmitter.emit($event)"
-    (customize)="showCustomizeEmitter.emit($event)"
-    [currentMouseOverElement]="currentMouseOverElement"
-    [pipelineValid]="pipelineValid"
-    [allElements]="allElements"
-    [pipelineElement]="pipelineElementConfig"
-    [rawPipelineModel]="rawPipelineModel"
-    [pipelineElementId]="
-        pipelineElementConfig.type === 'stream' ||
-        pipelineElementConfig.type === 'set'
-            ? pipelineElementConfig.payload.elementId
-            : pipelineElementConfig.payload.belongsTo
-    "
-    [internalId]="pipelineElementConfig.payload.dom"
-    [attr.data-cy]="
-        'sp-pe-menu-' +
-        pipelineElementConfig.payload.name.toLowerCase().replaceAll(' ', '_')
-    "
->
-</sp-pipeline-element-options>
-<sp-pipeline-element-preview
-    *ngIf="
-        previewModeActive &&
-        pipelinePreview.elementIdMappings[
-            pipelineElementConfig.payload.elementId
-        ] !== undefined
-    "
-    [pipelinePreview]="pipelinePreview"
-    [elementId]="pipelineElementConfig.payload.elementId"
->
-</sp-pipeline-element-preview>
+@if (metricsInfo) {
+    <sp-pipeline-element-statistics
+        [pipelineElement]="pipelineElementConfig.payload"
+        [metricsInfo]="metricsInfo[pipelineElementConfig.payload.elementId]"
+    >
+    </sp-pipeline-element-statistics>
+}
+@if (!readonly) {
+    <sp-pipeline-element-options
+        (delete)="deleteEmitter.emit($event)"
+        (customize)="showCustomizeEmitter.emit($event)"
+        [currentMouseOverElement]="currentMouseOverElement"
+        [pipelineValid]="pipelineValid"
+        [allElements]="allElements"
+        [pipelineElement]="pipelineElementConfig"
+        [rawPipelineModel]="rawPipelineModel"
+        [pipelineElementId]="
+            pipelineElementConfig.type === 'stream' ||
+            pipelineElementConfig.type === 'set'
+                ? pipelineElementConfig.payload.elementId
+                : pipelineElementConfig.payload.belongsTo
+        "
+        [internalId]="pipelineElementConfig.payload.dom"
+        [attr.data-cy]="
+            'sp-pe-menu-' +
+            pipelineElementConfig.payload.name
+                .toLowerCase()
+                .replaceAll(' ', '_')
+        "
+    >
+    </sp-pipeline-element-options>
+}
+@if (
+    previewModeActive &&
+    pipelinePreview.elementIdMappings[
+        pipelineElementConfig.payload.elementId
+    ] !== undefined
+) {
+    <sp-pipeline-element-preview
+        [pipelinePreview]="pipelinePreview"
+        [elementId]="pipelineElementConfig.payload.elementId"
+    >
+    </sp-pipeline-element-preview>
+}
diff --git a/ui/src/app/editor/components/pipeline/pipeline.component.html b/ui/src/app/editor/components/pipeline/pipeline.component.html
index 63673beb9c..147733bcb8 100644
--- a/ui/src/app/editor/components/pipeline/pipeline.component.html
+++ b/ui/src/app/editor/components/pipeline/pipeline.component.html
@@ -1,56 +1,60 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
-<div
-    [attr.data-jtk-managed]="pipelineElementConfig.payload.dom"
-    id="{{ pipelineElementConfig.payload.dom }}"
-    class="sp-no-pan"
-    [ngStyle]="getCssStyle(pipelineElementConfig)"
-    (click)="updateOptionsClick(pipelineElementConfig.payload.dom)"
-    (mouseenter)="updateMouseover(pipelineElementConfig.payload.dom)"
-    (mouseleave)="updateMouseover('')"
-    *ngFor="
-        let pipelineElementConfig of rawPipelineModel | enabledPipelineElement
-    "
-    style="position: relative"
->
-    <sp-dropped-pipeline-element
-        [allElements]="allElements"
-        [currentMouseOverElement]="currentMouseOverElement"
-        [metricsInfo]="metricsInfo"
-        [pipelineElementConfig]="pipelineElementConfig"
-        [previewModeActive]="previewModeActive"
-        [pipelinePreview]="pipelinePreview"
-        [pipelineValid]="pipelineValid"
-        [rawPipelineModel]="rawPipelineModel"
-        [readonly]="readonly"
-        (showCustomizeEmitter)="showCustomizeDialog($event)"
-        (deleteEmitter)="handleDeleteOption($event)"
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
+@for (
+    pipelineElementConfig of rawPipelineModel | enabledPipelineElement;
+    track pipelineElementConfig
+) {
+    <div
+        [attr.data-jtk-managed]="pipelineElementConfig.payload.dom"
+        id="{{ pipelineElementConfig.payload.dom }}"
+        class="sp-no-pan"
+        [ngStyle]="getCssStyle(pipelineElementConfig)"
+        (click)="updateOptionsClick(pipelineElementConfig.payload.dom)"
+        (mouseenter)="updateMouseover(pipelineElementConfig.payload.dom)"
+        (mouseleave)="updateMouseover('')"
+        style="position: relative"
     >
-    </sp-dropped-pipeline-element>
-    <div class="topics-button customize-button" *ngIf="readonly">
-        <button
-            class="topics-icon-button"
-            mat-icon-button
-            [matTooltip]="'View Topics' | translate"
-            [matTooltipPosition]="'above'"
-            (click)="openTopicsDialog(pipelineElementConfig)"
+        <sp-dropped-pipeline-element
+            [allElements]="allElements"
+            [currentMouseOverElement]="currentMouseOverElement"
+            [metricsInfo]="metricsInfo"
+            [pipelineElementConfig]="pipelineElementConfig"
+            [previewModeActive]="previewModeActive"
+            [pipelinePreview]="pipelinePreview"
+            [pipelineValid]="pipelineValid"
+            [rawPipelineModel]="rawPipelineModel"
+            [readonly]="readonly"
+            (showCustomizeEmitter)="showCustomizeDialog($event)"
+            (deleteEmitter)="handleDeleteOption($event)"
         >
-            <i class="material-icons topics-icon-size">code</i>
-        </button>
+        </sp-dropped-pipeline-element>
+        @if (readonly) {
+            <div class="topics-button customize-button">
+                <button
+                    class="topics-icon-button"
+                    mat-icon-button
+                    [matTooltip]="'View Topics' | translate"
+                    [matTooltipPosition]="'above'"
+                    (click)="openTopicsDialog(pipelineElementConfig)"
+                >
+                    <i class="material-icons topics-icon-size">code</i>
+                </button>
+            </div>
+        }
     </div>
-</div>
+}
diff --git a/ui/src/app/editor/dialog/compatible-elements/compatible-elements.component.html b/ui/src/app/editor/dialog/compatible-elements/compatible-elements.component.html
index 601414709c..8172a1f609 100644
--- a/ui/src/app/editor/dialog/compatible-elements/compatible-elements.component.html
+++ b/ui/src/app/editor/dialog/compatible-elements/compatible-elements.component.html
@@ -1,61 +1,68 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content p-15">
         <div fxFlex="100" fxLayout="column">
-            <div
-                *ngFor="let possibleElement of possibleElements; index as i"
-                (click)="create(possibleElement)"
-            >
-                <div
-                    fxLayout="row"
-                    class="m-10"
-                    fxLayoutAlign="start center"
-                    [style]="styles[i]"
-                    (mouseenter)="changeStyle(i, true)"
-                    (mouseleave)="changeStyle(i, false)"
-                    [attr.data-cy]="
-                        'sp-compatible-elements-' +
-                        possibleElement.name.toLowerCase().replaceAll(' ', '_')
-                    "
-                >
+            @for (
+                possibleElement of possibleElements;
+                track possibleElement;
+                let i = $index
+            ) {
+                <div (click)="create(possibleElement)">
                     <div
-                        class="draggable-icon-preview {{
-                            isDataProcessor(possibleElement) ? 'sepa' : 'action'
-                        }}"
+                        fxLayout="row"
+                        class="m-10"
+                        fxLayoutAlign="start center"
+                        [style]="styles[i]"
+                        (mouseenter)="changeStyle(i, true)"
+                        (mouseleave)="changeStyle(i, false)"
+                        [attr.data-cy]="
+                            'sp-compatible-elements-' +
+                            possibleElement.name
+                                .toLowerCase()
+                                .replaceAll(' ', '_')
+                        "
                     >
-                        <sp-pipeline-element
-                            [pipelineElement]="possibleElement"
-                            [iconSize]="true"
-                        ></sp-pipeline-element>
-                    </div>
-                    <div fxLayout="column" fxLayoutAlign="center start">
-                        <div class="element-name">
-                            {{ possibleElement.name }}
+                        <div
+                            class="draggable-icon-preview {{
+                                isDataProcessor(possibleElement)
+                                    ? 'sepa'
+                                    : 'action'
+                            }}"
+                        >
+                            <sp-pipeline-element
+                                [pipelineElement]="possibleElement"
+                                [iconSize]="true"
+                            ></sp-pipeline-element>
                         </div>
-                        <div class="element-description">
-                            {{ possibleElement.description }}
+                        <div fxLayout="column" fxLayoutAlign="center start">
+                            <div class="element-name">
+                                {{ possibleElement.name }}
+                            </div>
+                            <div class="element-description">
+                                {{ possibleElement.description }}
+                            </div>
                         </div>
                     </div>
+                    <mat-divider></mat-divider>
                 </div>
-                <mat-divider></mat-divider>
-            </div>
+            }
         </div>
     </div>
     <mat-divider></mat-divider>
diff --git a/ui/src/app/editor/dialog/customize/customize.component.html b/ui/src/app/editor/dialog/customize/customize.component.html
index 8eef9babd3..809113d688 100644
--- a/ui/src/app/editor/dialog/customize/customize.component.html
+++ b/ui/src/app/editor/dialog/customize/customize.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content">
@@ -24,32 +24,34 @@
                 fxLayout="row"
                 class="sp-tab-bg"
             >
-                <div
-                    fxLayoutAlign="start center"
-                    class="form-field-small"
-                    *ngIf="availableTemplates && availableTemplates.length > 0"
-                >
-                    <mat-form-field
-                        class="form-field"
-                        color="accent"
-                        appearance="outline"
-                    >
-                        <mat-label>{{ 'Use template' | translate }}</mat-label>
-                        <mat-select
-                            (selectionChange)="loadTemplate($event)"
-                            [(value)]="selectedTemplate"
-                            data-cy="use-template"
+                @if (availableTemplates && availableTemplates.length > 0) {
+                    <div fxLayoutAlign="start center" class="form-field-small">
+                        <mat-form-field
+                            class="form-field"
+                            color="accent"
+                            appearance="outline"
                         >
-                            <mat-option>--</mat-option>
-                            <mat-option
-                                [value]="template"
-                                *ngFor="let template of availableTemplates"
+                            <mat-label>{{
+                                'Use template' | translate
+                            }}</mat-label>
+                            <mat-select
+                                (selectionChange)="loadTemplate($event)"
+                                [(value)]="selectedTemplate"
+                                data-cy="use-template"
                             >
-                                {{ template.templateName }}
-                            </mat-option>
-                        </mat-select>
-                    </mat-form-field>
-                </div>
+                                <mat-option>--</mat-option>
+                                @for (
+                                    template of availableTemplates;
+                                    track template
+                                ) {
+                                    <mat-option [value]="template">
+                                        {{ template.templateName }}
+                                    </mat-option>
+                                }
+                            </mat-select>
+                        </mat-form-field>
+                    </div>
+                }
                 <div fxFlex fxLayout="row" fxLayoutAlign="end center">
                     <mat-slide-toggle
                         [(ngModel)]="showDocumentation"
@@ -69,142 +71,165 @@
             </div>
             <div fxFlex="100" fxLayout="row">
                 <div fxFlex="{{ _showDocumentation ? 50 : 100 }}">
-                    <div fxLayout="column" *ngIf="!templateMode">
-                        <div
-                            fxFlex="100"
-                            fxLayout="column"
-                            class="customize-section p-15"
-                        >
-                            <sp-input-schema-panel
-                                [inputStreams]="
-                                    cachedPipelineElement.inputStreams
-                                "
+                    @if (!templateMode) {
+                        <div fxLayout="column">
+                            <div
+                                fxFlex="100"
+                                fxLayout="column"
+                                class="customize-section p-15"
                             >
-                            </sp-input-schema-panel>
-                            <form [formGroup]="parentForm" fxFlex="100">
-                                <sp-app-static-property
-                                    *ngFor="
-                                        let config of cachedPipelineElement.staticProperties
-                                    "
-                                    [staticProperty]="config"
-                                    [pipelineElement]="cachedPipelineElement"
-                                    [displayRecommended]="displayRecommended"
-                                    [staticProperties]="
-                                        cachedPipelineElement.staticProperties
-                                    "
-                                    [eventSchemas]="eventSchemas"
-                                    [parentForm]="parentForm"
-                                    [fieldName]="config.internalName"
-                                    [completedConfigurations]="
-                                        completedConfigurations
-                                    "
-                                    (completedConfigurationsEmitter)="
-                                        updateCompletedConfiguration($event)
+                                <sp-input-schema-panel
+                                    [inputStreams]="
+                                        cachedPipelineElement.inputStreams
                                     "
                                 >
-                                </sp-app-static-property>
-                                <div *ngIf="isDataProcessor">
-                                    <sp-output-strategy
-                                        *ngFor="
-                                            let outputStrategy of cachedPipelineElement.outputStrategies
-                                        "
-                                        [parentForm]="parentForm"
-                                        [outputStrategy]="outputStrategy"
-                                        [selectedElement]="
-                                            cachedPipelineElement
-                                        "
-                                    >
-                                    </sp-output-strategy>
-                                </div>
-                            </form>
+                                </sp-input-schema-panel>
+                                <form [formGroup]="parentForm" fxFlex="100">
+                                    @for (
+                                        config of cachedPipelineElement.staticProperties;
+                                        track config
+                                    ) {
+                                        <sp-app-static-property
+                                            [staticProperty]="config"
+                                            [pipelineElement]="
+                                                cachedPipelineElement
+                                            "
+                                            [displayRecommended]="
+                                                displayRecommended
+                                            "
+                                            [staticProperties]="
+                                                cachedPipelineElement.staticProperties
+                                            "
+                                            [eventSchemas]="eventSchemas"
+                                            [parentForm]="parentForm"
+                                            [fieldName]="config.internalName"
+                                            [completedConfigurations]="
+                                                completedConfigurations
+                                            "
+                                            (completedConfigurationsEmitter)="
+                                                updateCompletedConfiguration(
+                                                    $event
+                                                )
+                                            "
+                                        >
+                                        </sp-app-static-property>
+                                    }
+                                    @if (isDataProcessor) {
+                                        <div>
+                                            @for (
+                                                outputStrategy of cachedPipelineElement.outputStrategies;
+                                                track outputStrategy
+                                            ) {
+                                                <sp-output-strategy
+                                                    [parentForm]="parentForm"
+                                                    [outputStrategy]="
+                                                        outputStrategy
+                                                    "
+                                                    [selectedElement]="
+                                                        cachedPipelineElement
+                                                    "
+                                                >
+                                                </sp-output-strategy>
+                                            }
+                                        </div>
+                                    }
+                                </form>
+                            </div>
                         </div>
-                    </div>
-                    <div fxLayout="column" *ngIf="templateMode">
-                        <sp-pipeline-element-template-config
-                            [staticProperties]="
-                                cachedPipelineElement.staticProperties
-                            "
-                            [template]="template"
-                            [templateConfigs]="templateConfigs"
-                            [appId]="cachedPipelineElement.appId"
-                        >
-                        </sp-pipeline-element-template-config>
-                    </div>
-                </div>
-                <div
-                    fxFlex="50"
-                    *ngIf="showDocumentation"
-                    style="
-                        padding-left: 10px;
-                        border-left: 2px solid rgb(204, 204, 204);
-                    "
-                >
-                    <sp-pipeline-element-documentation
-                        [useStyling]="false"
-                        [appId]="pipelineElement.payload.appId"
-                    ></sp-pipeline-element-documentation>
+                    }
+                    @if (templateMode) {
+                        <div fxLayout="column">
+                            <sp-pipeline-element-template-config
+                                [staticProperties]="
+                                    cachedPipelineElement.staticProperties
+                                "
+                                [template]="template"
+                                [templateConfigs]="templateConfigs"
+                                [appId]="cachedPipelineElement.appId"
+                            >
+                            </sp-pipeline-element-template-config>
+                        </div>
+                    }
                 </div>
+                @if (showDocumentation) {
+                    <div
+                        fxFlex="50"
+                        style="
+                            padding-left: 10px;
+                            border-left: 2px solid rgb(204, 204, 204);
+                        "
+                    >
+                        <sp-pipeline-element-documentation
+                            [useStyling]="false"
+                            [appId]="pipelineElement.payload.appId"
+                        ></sp-pipeline-element-documentation>
+                    </div>
+                }
             </div>
         </div>
     </div>
     <mat-divider></mat-divider>
     <div class="sp-dialog-actions">
-        <div fxLayout="row" *ngIf="!templateMode">
-            <button
-                mat-button
-                mat-flat-button
-                color="accent"
-                (click)="save()"
-                style="margin-right: 10px"
-                [disabled]="!formValid"
-                data-cy="sp-element-configuration-save"
-            >
-                <i class="material-icons">save</i
-                ><span>&nbsp;{{ 'Save' | translate }}</span>
-            </button>
-            <button
-                mat-button
-                mat-flat-button
-                class="mat-basic"
-                (click)="close()"
-                data-cy="cancel-customize"
-            >
-                {{ 'Cancel' | translate }}
-            </button>
-            <div fxFlex></div>
-            <button
-                mat-button
-                mat-flat-button
-                color="accent"
-                [disabled]="!formValid"
-                data-cy="create-template"
-                (click)="triggerTemplateMode()"
-            >
-                <i class="material-icons">add_circle_outline</i
-                ><span>&nbsp;{{ 'Create template' | translate }}</span>
-            </button>
-        </div>
-        <div fxLayout="row" *ngIf="templateMode">
-            <button
-                mat-button
-                mat-flat-button
-                color="accent"
-                (click)="saveTemplate()"
-                style="margin-right: 10px"
-                [disabled]="!formValid"
-                data-cy="save-template"
-            >
-                <i class="material-icons">save</i
-                ><span>&nbsp;{{ 'Save template' | translate }}</span>
-            </button>
-            <button
-                mat-button
-                mat-flat-button
-                class="mat-basic"
-                (click)="cancelTemplateMode()"
-            >
-                {{ 'Cancel' | translate }}
-            </button>
-        </div>
+        @if (!templateMode) {
+            <div fxLayout="row">
+                <button
+                    mat-button
+                    mat-flat-button
+                    color="accent"
+                    (click)="save()"
+                    style="margin-right: 10px"
+                    [disabled]="!formValid"
+                    data-cy="sp-element-configuration-save"
+                >
+                    <i class="material-icons">save</i
+                    ><span>&nbsp;{{ 'Save' | translate }}</span>
+                </button>
+                <button
+                    mat-button
+                    mat-flat-button
+                    class="mat-basic"
+                    (click)="close()"
+                    data-cy="cancel-customize"
+                >
+                    {{ 'Cancel' | translate }}
+                </button>
+                <div fxFlex></div>
+                <button
+                    mat-button
+                    mat-flat-button
+                    color="accent"
+                    [disabled]="!formValid"
+                    data-cy="create-template"
+                    (click)="triggerTemplateMode()"
+                >
+                    <i class="material-icons">add_circle_outline</i
+                    ><span>&nbsp;{{ 'Create template' | translate }}</span>
+                </button>
+            </div>
+        }
+        @if (templateMode) {
+            <div fxLayout="row">
+                <button
+                    mat-button
+                    mat-flat-button
+                    color="accent"
+                    (click)="saveTemplate()"
+                    style="margin-right: 10px"
+                    [disabled]="!formValid"
+                    data-cy="save-template"
+                >
+                    <i class="material-icons">save</i
+                    ><span>&nbsp;{{ 'Save template' | translate }}</span>
+                </button>
+                <button
+                    mat-button
+                    mat-flat-button
+                    class="mat-basic"
+                    (click)="cancelTemplateMode()"
+                >
+                    {{ 'Cancel' | translate }}
+                </button>
+            </div>
+        }
     </div>
 </div>
diff --git a/ui/src/app/editor/dialog/matching-error/matching-error.component.html b/ui/src/app/editor/dialog/matching-error/matching-error.component.html
index 0d4ed3be4d..8d6ead9900 100644
--- a/ui/src/app/editor/dialog/matching-error/matching-error.component.html
+++ b/ui/src/app/editor/dialog/matching-error/matching-error.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content p-15">
@@ -23,7 +23,7 @@
             <h4>
                 {{
                     'The input data stream does not satisfy the requirements
-                specified by the data processor.' | translate
+        specified by the data processor.' | translate
                 }}
             </h4>
             <button
@@ -32,29 +32,41 @@
                 type="button"
                 class="md-accent"
             >
-                <div *ngIf="!statusDetailsVisible">
-                    {{ 'Show Details' | translate }}
-                </div>
-                <div *ngIf="statusDetailsVisible">
-                    {{ 'Hide Details' | translate }}
-                </div>
+                @if (!statusDetailsVisible) {
+                    <div>
+                        {{ 'Show Details' | translate }}
+                    </div>
+                }
+                @if (statusDetailsVisible) {
+                    <div>
+                        {{ 'Hide Details' | translate }}
+                    </div>
+                }
             </button>
-            <div *ngIf="statusDetailsVisible">
-                <div *ngFor="let entry of notifications">
-                    <div
-                        fxFlex="100"
-                        class="md-whiteframe-z1"
-                        style="margin-bottom: 10px"
-                    >
-                        <div fxFlex fxLayout="column" class="md-padding">
-                            <div fxFlex="column">
-                                {{ entry.title }}<br />
-                                {{ entry.description }}
+            @if (statusDetailsVisible) {
+                <div>
+                    @for (entry of notifications; track entry) {
+                        <div>
+                            <div
+                                fxFlex="100"
+                                class="md-whiteframe-z1"
+                                style="margin-bottom: 10px"
+                            >
+                                <div
+                                    fxFlex
+                                    fxLayout="column"
+                                    class="md-padding"
+                                >
+                                    <div fxFlex="column">
+                                        {{ entry.title }}<br />
+                                        {{ entry.description }}
+                                    </div>
+                                </div>
                             </div>
                         </div>
-                    </div>
+                    }
                 </div>
-            </div>
+            }
         </div>
     </div>
     <mat-divider></mat-divider>
diff --git a/ui/src/app/editor/dialog/missing-elements-for-tutorial/missing-elements-for-tutorial.component.html b/ui/src/app/editor/dialog/missing-elements-for-tutorial/missing-elements-for-tutorial.component.html
index a15965fc66..508b26a9ae 100644
--- a/ui/src/app/editor/dialog/missing-elements-for-tutorial/missing-elements-for-tutorial.component.html
+++ b/ui/src/app/editor/dialog/missing-elements-for-tutorial/missing-elements-for-tutorial.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content p-15">
@@ -32,12 +32,17 @@
                             | translate
                     }}
                 </h5>
-                <div *ngFor="let missingElement of missingElementsForTutorial">
-                    <li>
-                        <b>{{ missingElement.name }}</b>
-                        <i>({{ missingElement.appId }})</i>
-                    </li>
-                </div>
+                @for (
+                    missingElement of missingElementsForTutorial;
+                    track missingElement
+                ) {
+                    <div>
+                        <li>
+                            <b>{{ missingElement.name }}</b>
+                            <i>({{ missingElement.appId }})</i>
+                        </li>
+                    </div>
+                }
             </div>
         </div>
     </div>
diff --git a/ui/src/app/editor/dialog/pipeline-element-discovery/pipeline-element-discovery.component.html b/ui/src/app/editor/dialog/pipeline-element-discovery/pipeline-element-discovery.component.html
index eb0bf6a0d0..8367e6a01f 100644
--- a/ui/src/app/editor/dialog/pipeline-element-discovery/pipeline-element-discovery.component.html
+++ b/ui/src/app/editor/dialog/pipeline-element-discovery/pipeline-element-discovery.component.html
@@ -1,60 +1,65 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content p-15">
         <div fxFlex="100" fxLayout="column">
-            <div
-                *ngFor="let currentElement of currentElements; index as i"
-                (click)="create(currentElement)"
-            >
-                <div
-                    fxLayout="row"
-                    class="m-10"
-                    fxLayoutAlign="start center"
-                    [style]="styles[i]"
-                    (mouseenter)="changeStyle(i, true)"
-                    (mouseleave)="changeStyle(i, false)"
-                    [attr.data-cy]="
-                        currentElement.name.toLowerCase().replaceAll(' ', '_')
-                    "
-                >
+            @for (
+                currentElement of currentElements;
+                track currentElement;
+                let i = $index
+            ) {
+                <div (click)="create(currentElement)">
                     <div
-                        class="draggable-icon-preview {{
-                            currentElementStyle(currentElement)
-                        }}"
+                        fxLayout="row"
+                        class="m-10"
+                        fxLayoutAlign="start center"
+                        [style]="styles[i]"
+                        (mouseenter)="changeStyle(i, true)"
+                        (mouseleave)="changeStyle(i, false)"
+                        [attr.data-cy]="
+                            currentElement.name
+                                .toLowerCase()
+                                .replaceAll(' ', '_')
+                        "
                     >
-                        <sp-pipeline-element
-                            [pipelineElement]="currentElement"
-                            [iconSize]="true"
-                        ></sp-pipeline-element>
-                    </div>
-                    <div fxLayout="column" fxLayoutAlign="center start">
-                        <div class="element-name">
-                            {{ currentElement.name }}
+                        <div
+                            class="draggable-icon-preview {{
+                                currentElementStyle(currentElement)
+                            }}"
+                        >
+                            <sp-pipeline-element
+                                [pipelineElement]="currentElement"
+                                [iconSize]="true"
+                            ></sp-pipeline-element>
                         </div>
-                        <div class="element-description">
-                            {{ currentElement.description }}
+                        <div fxLayout="column" fxLayoutAlign="center start">
+                            <div class="element-name">
+                                {{ currentElement.name }}
+                            </div>
+                            <div class="element-description">
+                                {{ currentElement.description }}
+                            </div>
                         </div>
                     </div>
+                    <mat-divider></mat-divider>
                 </div>
-                <mat-divider></mat-divider>
-            </div>
+            }
         </div>
     </div>
     <mat-divider></mat-divider>
diff --git a/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html b/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
index f0898df853..15be8891ad 100644
--- a/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
+++ b/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
@@ -1,20 +1,20 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div fxLayout="column">
     <form [formGroup]="submitPipelineForm">
@@ -28,49 +28,45 @@
                     name="pipelineName"
                     (blur)="triggerTutorial()"
                 />
-                <mat-error
-                    *ngIf="
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('required') ||
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('whiteSpaceOnly')
-                    "
-                >
-                    Pipeline name is required.
-                </mat-error>
-                <mat-error
-                    *ngIf="
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('leadingOrTrailingWhitespace')
-                    "
-                >
-                    Pipeline name cannot start or end with a space.
-                </mat-error>
-                <mat-error
-                    *ngIf="
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('minlength') ||
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('maxlength')
-                    "
-                >
-                    Pipeline name must have between 3 and 50 characters.
-                </mat-error>
-                <mat-error
-                    *ngIf="
-                        submitPipelineForm
-                            .get('pipelineName')
-                            .hasError('invalidName')
-                    "
-                >
-                    Pipeline name can only contain letters, numbers, dashes (-),
-                    and underscores (_).
-                </mat-error>
+                @if (
+                    submitPipelineForm
+                        .get('pipelineName')
+                        .hasError('required') ||
+                    submitPipelineForm
+                        .get('pipelineName')
+                        .hasError('whiteSpaceOnly')
+                ) {
+                    <mat-error> Pipeline name is required. </mat-error>
+                }
+                @if (
+                    submitPipelineForm
+                        .get('pipelineName')
+                        .hasError('leadingOrTrailingWhitespace')
+                ) {
+                    <mat-error>
+                        Pipeline name cannot start or end with a space.
+                    </mat-error>
+                }
+                @if (
+                    submitPipelineForm
+                        .get('pipelineName')
+                        .hasError('minlength') ||
+                    submitPipelineForm.get('pipelineName').hasError('maxlength')
+                ) {
+                    <mat-error>
+                        Pipeline name must have between 3 and 50 characters.
+                    </mat-error>
+                }
+                @if (
+                    submitPipelineForm
+                        .get('pipelineName')
+                        .hasError('invalidName')
+                ) {
+                    <mat-error>
+                        Pipeline name can only contain letters, numbers, dashes
+                        (-), and underscores (_).
+                    </mat-error>
+                }
             </mat-form-field>
             <mat-form-field fxFlex color="accent">
                 <mat-label>Description</mat-label>
@@ -81,33 +77,31 @@
             </mat-form-field>
         </div>
     </form>
-    <div
-        id="overwriteCheckbox"
-        class="checkbox"
-        *ngIf="storageOptions.updateModeActive"
-    >
-        <mat-radio-group
-            [(ngModel)]="storageOptions.updateMode"
-            fxLayout="column"
-            color="accent"
-            class="pipeline-radio-group"
-        >
-            <mat-radio-button
-                [value]="'update'"
-                style="padding-left: 0"
-                data-cy="pipeline-update-mode-update"
+    @if (storageOptions.updateModeActive) {
+        <div id="overwriteCheckbox" class="checkbox">
+            <mat-radio-group
+                [(ngModel)]="storageOptions.updateMode"
+                fxLayout="column"
+                color="accent"
+                class="pipeline-radio-group"
             >
-                Update pipeline
-            </mat-radio-button>
-            <mat-radio-button
-                [value]="'clone'"
-                class="mb-10"
-                data-cy="pipeline-update-mode-clone"
-            >
-                Create new pipeline
-            </mat-radio-button>
-        </mat-radio-group>
-    </div>
+                <mat-radio-button
+                    [value]="'update'"
+                    style="padding-left: 0"
+                    data-cy="pipeline-update-mode-update"
+                >
+                    Update pipeline
+                </mat-radio-button>
+                <mat-radio-button
+                    [value]="'clone'"
+                    class="mb-10"
+                    data-cy="pipeline-update-mode-clone"
+                >
+                    Create new pipeline
+                </mat-radio-button>
+            </mat-radio-group>
+        </div>
+    }
     <mat-checkbox
         [(ngModel)]="storageOptions.startPipelineAfterStorage"
         color="accent"
@@ -148,12 +142,13 @@
             <mat-expansion-panel-header
                 >Show pipeline configuration as code</mat-expansion-panel-header
             >
-            <sp-configuration-code-panel
-                *ngIf="compactPipeline"
-                [configuration]="compactPipeline"
-                maxHeight="none"
-            >
-            </sp-configuration-code-panel>
+            @if (compactPipeline) {
+                <sp-configuration-code-panel
+                    [configuration]="compactPipeline"
+                    maxHeight="none"
+                >
+                </sp-configuration-code-panel>
+            }
         </mat-expansion-panel>
     </div>
 </div>
diff --git a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
index 2a1138adb7..8a970d0e0e 100644
--- a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
+++ b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
@@ -1,96 +1,99 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div class="sp-dialog-container">
     <div class="sp-dialog-content padding-20">
         <div fxFlex="100" fxLayout="column">
-            <sp-save-pipeline-settings
-                *ngIf="!operationCompleted && !operationProgress"
-                [currentPipelineName]="pipeline.name"
-                [submitPipelineForm]="submitPipelineForm"
-                [pipeline]="pipeline"
-                [storageOptions]="storageOptions"
-                [(selectedAssets)]="selectedAssets"
-                [(deselectedAssets)]="deselectedAssets"
-                [(originalAssets)]="originalAssets"
-            >
-            </sp-save-pipeline-settings>
-
-            <sp-multi-step-status-indicator
-                *ngIf="operationProgress || operationCompleted"
-                [statusIndicators]="statusIndicators"
-            >
-            </sp-multi-step-status-indicator>
+            @if (!operationCompleted && !operationProgress) {
+                <sp-save-pipeline-settings
+                    [currentPipelineName]="pipeline.name"
+                    [submitPipelineForm]="submitPipelineForm"
+                    [pipeline]="pipeline"
+                    [storageOptions]="storageOptions"
+                    [(selectedAssets)]="selectedAssets"
+                    [(deselectedAssets)]="deselectedAssets"
+                    [(originalAssets)]="originalAssets"
+                >
+                </sp-save-pipeline-settings>
+            }
 
-            <div *ngIf="finalPipelineOperationStatus" class="mt-10">
-                <mat-divider></mat-divider>
-                <sp-pipeline-started-status
-                    class="mt-10"
-                    [forceStopDisabled]="true"
-                    [action]="pipelineAction"
-                    [pipelineOperationStatus]="finalPipelineOperationStatus"
+            @if (operationProgress || operationCompleted) {
+                <sp-multi-step-status-indicator
+                    [statusIndicators]="statusIndicators"
                 >
-                </sp-pipeline-started-status>
-            </div>
+                </sp-multi-step-status-indicator>
+            }
+
+            @if (finalPipelineOperationStatus) {
+                <div class="mt-10">
+                    <mat-divider></mat-divider>
+                    <sp-pipeline-started-status
+                        class="mt-10"
+                        [forceStopDisabled]="true"
+                        [action]="pipelineAction"
+                        [pipelineOperationStatus]="finalPipelineOperationStatus"
+                    >
+                    </sp-pipeline-started-status>
+                </div>
+            }
         </div>
     </div>
     <mat-divider></mat-divider>
     <div class="sp-dialog-actions" fxLayoutGap="10px">
-        <button
-            mat-flat-button
-            (click)="hide(false)"
-            *ngIf="operationCompleted"
-        >
-            Create another pipeline
-        </button>
-        <button
-            mat-flat-button
-            class="mat-basic"
-            data-cy="sp-navigate-to-pipeline-overview"
-            (click)="navigateToPipelineOverview()"
-            *ngIf="operationCompleted"
-        >
-            Open pipeline overview
-        </button>
-        <button
-            *ngIf="!operationCompleted && !operationSuccess"
-            [disabled]="
-                !submitPipelineForm.valid ||
-                operationProgress ||
-                operationCompleted
-            "
-            mat-flat-button
-            color="accent"
-            (click)="savePipeline()"
-            data-cy="sp-editor-apply"
-        >
-            Apply
-        </button>
-        <button
-            *ngIf="
-                !operationProgress && (!operationCompleted || !operationSuccess)
-            "
-            mat-flat-button
-            class="mat-basic"
-            (click)="hide(true)"
-            data-cy="sp-editor-cancel"
-        >
-            {{ 'Cancel' }}
-        </button>
+        @if (operationCompleted) {
+            <button mat-flat-button (click)="hide(false)">
+                Create another pipeline
+            </button>
+        }
+        @if (operationCompleted) {
+            <button
+                mat-flat-button
+                class="mat-basic"
+                data-cy="sp-navigate-to-pipeline-overview"
+                (click)="navigateToPipelineOverview()"
+            >
+                Open pipeline overview
+            </button>
+        }
+        @if (!operationCompleted && !operationSuccess) {
+            <button
+                [disabled]="
+                    !submitPipelineForm.valid ||
+                    operationProgress ||
+                    operationCompleted
+                "
+                mat-flat-button
+                color="accent"
+                (click)="savePipeline()"
+                data-cy="sp-editor-apply"
+            >
+                Apply
+            </button>
+        }
+        @if (!operationProgress && (!operationCompleted || !operationSuccess)) {
+            <button
+                mat-flat-button
+                class="mat-basic"
+                (click)="hide(true)"
+                data-cy="sp-editor-cancel"
+            >
+                {{ 'Cancel' }}
+            </button>
+        }
     </div>
 </div>
diff --git a/ui/src/app/editor/editor.component.html b/ui/src/app/editor/editor.component.html
index 68bdb90284..3ba0f9c70d 100644
--- a/ui/src/app/editor/editor.component.html
+++ b/ui/src/app/editor/editor.component.html
@@ -1,67 +1,69 @@
 <!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one or more
-  ~ contributor license agreements.  See the NOTICE file distributed with
-  ~ this work for additional information regarding copyright ownership.
-  ~ The ASF licenses this file to You under the Apache License, Version 2.0
-  ~ (the "License"); you may not use this file except in compliance with
-  ~ the License.  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distributed under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  -->
+~ Licensed to the Apache Software Foundation (ASF) under one or more
+~ contributor license agreements.  See the NOTICE file distributed with
+~ this work for additional information regarding copyright ownership.
+~ The ASF licenses this file to You under the Apache License, Version 2.0
+~ (the "License"); you may not use this file except in compliance with
+~ the License.  You may obtain a copy of the License at
+~
+~    http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+~
+-->
 
 <div fxLayout="column" class="page-container">
-    <div
-        fxFlex="100"
-        fxLayout="column"
-        fxLayoutAlign="center center"
-        *ngIf="!allElementsLoaded"
-    >
-        <mat-spinner
-            [diameter]="30"
-            color="accent"
-            mode="indeterminate"
-        ></mat-spinner>
-        <p>{{ 'Preparing pipeline editor...' | translate }}</p>
-    </div>
-    <div
-        *ngIf="allElementsLoaded"
-        class="fixed-height editor-container-inner"
-        fxLayout="row"
-        fxFlex="100"
-    >
-        <div fxFlex="250px">
-            <div
-                id="shepherd-test"
-                style="
-                    padding: 0;
-                    border-bottom: 1px solid #ffffff;
-                    margin-right: 5px;
-                "
-            >
-                <sp-pipeline-element-icon-stand
-                    [allElements]="allElements"
-                    *ngIf="allElementsLoaded"
-                >
-                </sp-pipeline-element-icon-stand>
-            </div>
+    @if (!allElementsLoaded) {
+        <div fxFlex="100" fxLayout="column" fxLayoutAlign="center center">
+            <mat-spinner
+                [diameter]="30"
+                color="accent"
+                mode="indeterminate"
+            ></mat-spinner>
+            <p>{{ 'Preparing pipeline editor...' | translate }}</p>
         </div>
-        <sp-pipeline-assembly
+    }
+    @if (allElementsLoaded) {
+        <div
+            class="fixed-height editor-container-inner"
+            fxLayout="row"
             fxFlex="100"
-            style="margin-left: 10px"
-            *ngIf="allElementsLoaded && allMetadataLoaded"
-            [rawPipelineModel]="rawPipelineModel"
-            [allElements]="allElements"
-            [originalPipeline]="originalPipeline"
-            [pipelineCanvasMetadata]="pipelineCanvasMetadata"
-            [pipelineCanvasMetadataAvailable]="pipelineCanvasMetadataAvailable"
         >
-        </sp-pipeline-assembly>
-    </div>
+            <div fxFlex="250px">
+                <div
+                    id="shepherd-test"
+                    style="
+                        padding: 0;
+                        border-bottom: 1px solid #ffffff;
+                        margin-right: 5px;
+                    "
+                >
+                    @if (allElementsLoaded) {
+                        <sp-pipeline-element-icon-stand
+                            [allElements]="allElements"
+                        >
+                        </sp-pipeline-element-icon-stand>
+                    }
+                </div>
+            </div>
+            @if (allElementsLoaded && allMetadataLoaded) {
+                <sp-pipeline-assembly
+                    fxFlex="100"
+                    style="margin-left: 10px"
+                    [rawPipelineModel]="rawPipelineModel"
+                    [allElements]="allElements"
+                    [originalPipeline]="originalPipeline"
+                    [pipelineCanvasMetadata]="pipelineCanvasMetadata"
+                    [pipelineCanvasMetadataAvailable]="
+                        pipelineCanvasMetadataAvailable
+                    "
+                >
+                </sp-pipeline-assembly>
+            }
+        </div>
+    }
 </div>