gracecluvohio commented on code in PR #4331:
URL: https://github.com/apache/texera/pull/4331#discussion_r3036080465


##########
frontend/src/app/dashboard/component/user/user-computing-unit/user-computing-unit.component.html:
##########
@@ -20,10 +20,214 @@
 <div class="section-container subsection-grid-container">
   <nz-card class="section-title">
     <h2 class="page-title">Computing Units</h2>
+    <div class="button-group">
+      <button
+        nz-button
+        class="create-btn"
+        (click)="showAddComputeUnitModalVisible()"
+        title="Create Computing Unit">
+        <i
+          nz-icon
+          nzType="file-add"
+          nzTheme="outline"></i>
+        <span>Create Computing Unit</span>
+      </button>
+    </div>
   </nz-card>
 
   <nz-card
     class="section-list-container"
     [nzBodyStyle]="{ height: '100%'}">
+    <cdk-virtual-scroll-viewport
+      itemSize="70"
+      class="virtual-scroll-container">
+      <nz-list>
+        <ng-container *ngFor="let entry of entries">
+          <texera-user-computing-unit-list-item
+            
(deleted)="terminateComputingUnit(entry.computingUnit.computingUnit.cuid)"
+            [editable]="editable"
+            
[entry]="entry.computingUnit"></texera-user-computing-unit-list-item>
+        </ng-container>

Review Comment:
   Sounds good.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to