This is an automated email from the ASF dual-hosted git repository.
linxinyuan pushed a commit to branch xinyuan-stage-by-stage
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/xinyuan-stage-by-stage by this
push:
new 3b5f52fe54 update
3b5f52fe54 is described below
commit 3b5f52fe54fc8a6f6d0bf35244c3760cfd75ed62
Author: Xinyuan Lin <[email protected]>
AuthorDate: Thu Jan 8 17:22:26 2026 -0800
update
---
frontend/src/app/app.module.ts | 138 +++++++++++----------
.../left-panel/settings/settings.component.html | 14 ++-
2 files changed, 79 insertions(+), 73 deletions(-)
diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts
index 73feecfdba..cb1848c455 100644
--- a/frontend/src/app/app.module.ts
+++ b/frontend/src/app/app.module.ts
@@ -181,6 +181,7 @@ import { AdminSettingsComponent } from
"./dashboard/component/admin/settings/adm
import { FormlyRepeatDndComponent } from
"./common/formly/repeat-dnd/repeat-dnd.component";
import { NzInputNumberModule } from "ng-zorro-antd/input-number";
import { NzCheckboxModule } from "ng-zorro-antd/checkbox";
+import { NzRadioModule } from "ng-zorro-antd/radio";
registerLocaleData(en);
@@ -277,74 +278,75 @@ registerLocaleData(en);
ComputingUnitSelectionComponent,
AdminSettingsComponent,
],
- imports: [
- BrowserModule,
- AppRoutingModule,
- HttpClientModule,
- JwtModule.forRoot({
- config: {
- tokenGetter: AuthService.getAccessToken,
- skipWhenExpired: false,
- throwNoTokenError: false,
- disallowedRoutes: ["forum/api/users"],
- },
- }),
- BrowserAnimationsModule,
- RouterModule,
- FormsModule,
- ReactiveFormsModule,
- FormlyModule.forRoot(TEXERA_FORMLY_CONFIG),
- FormlyNgZorroAntdModule,
- OverlayModule,
- NzDatePickerModule,
- NzDropDownModule,
- NzButtonModule,
- NzAutocompleteModule,
- NzIconModule,
- NzFormModule,
- NzListModule,
- NzInputModule,
- NzPopoverModule,
- NzCollapseModule,
- NzToolTipModule,
- NzTableModule,
- NzSelectModule,
- NzSpaceModule,
- NzBadgeModule,
- NzUploadModule,
- NgxJsonViewerModule,
- NzMessageModule,
- NzModalModule,
- NzDescriptionsModule,
- NzCardModule,
- NzTagModule,
- NzPopconfirmModule,
- NzAvatarModule,
- NzTabsModule,
- NzPaginationModule,
- NzCommentModule,
- ColorPickerModule,
- NzSwitchModule,
- NzLayoutModule,
- NzSliderModule,
- MarkdownModule.forRoot(),
- DragDropModule,
- NzAlertModule,
- NzResizableModule,
- NzSpinModule,
- NgxFileDropModule,
- NzTreeModule,
- NzTreeViewModule,
- NzNoAnimationModule,
- TreeModule,
- SocialLoginModule,
- GoogleSigninButtonModule,
- NzEmptyModule,
- NzDividerModule,
- NzProgressModule,
- NzInputNumberModule,
- NzCheckboxModule,
- ],
+ imports: [
+ BrowserModule,
+ AppRoutingModule,
+ HttpClientModule,
+ JwtModule.forRoot({
+ config: {
+ tokenGetter: AuthService.getAccessToken,
+ skipWhenExpired: false,
+ throwNoTokenError: false,
+ disallowedRoutes: ["forum/api/users"],
+ },
+ }),
+ BrowserAnimationsModule,
+ RouterModule,
+ FormsModule,
+ ReactiveFormsModule,
+ FormlyModule.forRoot(TEXERA_FORMLY_CONFIG),
+ FormlyNgZorroAntdModule,
+ OverlayModule,
+ NzDatePickerModule,
+ NzDropDownModule,
+ NzButtonModule,
+ NzAutocompleteModule,
+ NzIconModule,
+ NzFormModule,
+ NzListModule,
+ NzInputModule,
+ NzPopoverModule,
+ NzCollapseModule,
+ NzToolTipModule,
+ NzTableModule,
+ NzSelectModule,
+ NzSpaceModule,
+ NzBadgeModule,
+ NzUploadModule,
+ NgxJsonViewerModule,
+ NzMessageModule,
+ NzModalModule,
+ NzDescriptionsModule,
+ NzCardModule,
+ NzTagModule,
+ NzPopconfirmModule,
+ NzAvatarModule,
+ NzTabsModule,
+ NzPaginationModule,
+ NzCommentModule,
+ ColorPickerModule,
+ NzSwitchModule,
+ NzLayoutModule,
+ NzSliderModule,
+ MarkdownModule.forRoot(),
+ DragDropModule,
+ NzAlertModule,
+ NzResizableModule,
+ NzSpinModule,
+ NgxFileDropModule,
+ NzTreeModule,
+ NzTreeViewModule,
+ NzNoAnimationModule,
+ TreeModule,
+ SocialLoginModule,
+ GoogleSigninButtonModule,
+ NzEmptyModule,
+ NzDividerModule,
+ NzProgressModule,
+ NzInputNumberModule,
+ NzCheckboxModule,
+ NzRadioModule,
+ ],
providers: [
provideNzI18n(en_US),
AuthGuardService,
diff --git
a/frontend/src/app/workspace/component/left-panel/settings/settings.component.html
b/frontend/src/app/workspace/component/left-panel/settings/settings.component.html
index 577a9db743..d069e9469f 100644
---
a/frontend/src/app/workspace/component/left-panel/settings/settings.component.html
+++
b/frontend/src/app/workspace/component/left-panel/settings/settings.component.html
@@ -20,6 +20,15 @@
<form
[formGroup]="settingsForm"
class="form-inline">
+ <b>Execution Mode:</b>
+ <nz-radio-group formControlName="batchProcessing" nzSize="small">
+ <label nz-radio [nzValue]="true">Batch</label>
+ <label nz-radio [nzValue]="false">Streaming</label>
+ </nz-radio-group>
+ <br>
+ <br>
+ <br>
+ <br>
<div class="form-group">
<label for="dataTransferBatchSize">Data Transfer Batch Size:</label>
<input
@@ -34,10 +43,5 @@
Data Transfer Batch Size size must be at least 1.
</div>
</div>
- <label
- nz-checkbox
- formControlName="batchProcessing"
- >Batch Processing</label
- >
</form>
</div>