Chorehancement: update to Angular v22, 'zoneless' / 'reactive' (#13114)

This commit is contained in:
shamoon
2026-07-10 00:42:16 -07:00
committed by GitHub
parent f244442c65
commit 106b41a15c
213 changed files with 5363 additions and 5842 deletions
@@ -23,6 +23,7 @@ export class UploadDocumentsService {
let status = this.websocketStatusService.newFileUpload(file.name)
status.message = $localize`Connecting...`
this.websocketStatusService.statusChanged()
this.uploadSubscriptions[file.name] = this.documentService
.uploadDocument(formData)
@@ -35,9 +36,11 @@ export class UploadDocumentsService {
event.total
)
status.message = $localize`Uploading...`
this.websocketStatusService.statusChanged()
} else if (event.type == HttpEventType.Response) {
status.taskId = event.body['task_id'] ?? event.body.toString()
status.message = $localize`Upload complete, waiting...`
this.websocketStatusService.statusChanged()
this.uploadSubscriptions[file.name]?.complete()
}
},