From 37d3065ed7e578977cfbaa70dae9dd2d747b0e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?= <76204082+iamsedatozturk@users.noreply.github.com> Date: Thu, 4 Jun 2026 13:11:31 +0300 Subject: [PATCH] =?UTF-8?q?Genel=20d=C3=BCzenlemeler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/SetupController.cs | 5 +-- .../DbStartup/SetupAppRunner.cs | 5 +-- .../components/shared/DbMigrateLogPanel.tsx | 2 +- ui/src/views/developerKit/ComponentEditor.tsx | 4 +- .../developerKit/DynamicServiceEditor.tsx | 4 +- .../developerKit/DynamicServiceManager.tsx | 42 ++++++++++++------- 6 files changed, 36 insertions(+), 26 deletions(-) diff --git a/api/src/Sozsoft.Platform.HttpApi.Host/Controllers/SetupController.cs b/api/src/Sozsoft.Platform.HttpApi.Host/Controllers/SetupController.cs index e8ed6f5..8a9eeba 100644 --- a/api/src/Sozsoft.Platform.HttpApi.Host/Controllers/SetupController.cs +++ b/api/src/Sozsoft.Platform.HttpApi.Host/Controllers/SetupController.cs @@ -125,10 +125,9 @@ public class SetupController : ControllerBase { try { - while (!reader.EndOfStream) + while (await reader.ReadLineAsync(ct) is { } line) { - var line = await reader.ReadLineAsync(ct); - if (line != null) await Send(level, line); + await Send(level, line); } } catch (OperationCanceledException) { } diff --git a/api/src/Sozsoft.Platform.HttpApi.Host/DbStartup/SetupAppRunner.cs b/api/src/Sozsoft.Platform.HttpApi.Host/DbStartup/SetupAppRunner.cs index fd48f18..dae9478 100644 --- a/api/src/Sozsoft.Platform.HttpApi.Host/DbStartup/SetupAppRunner.cs +++ b/api/src/Sozsoft.Platform.HttpApi.Host/DbStartup/SetupAppRunner.cs @@ -264,10 +264,9 @@ internal static class SetupAppRunner { try { - while (!reader.EndOfStream) + while (await reader.ReadLineAsync(ct) is { } line) { - var line = await reader.ReadLineAsync(ct); - if (line != null) await Send(level, line); + await Send(level, line); } } catch (OperationCanceledException) { } diff --git a/ui/src/components/shared/DbMigrateLogPanel.tsx b/ui/src/components/shared/DbMigrateLogPanel.tsx index 44b68d5..09dc8fe 100644 --- a/ui/src/components/shared/DbMigrateLogPanel.tsx +++ b/ui/src/components/shared/DbMigrateLogPanel.tsx @@ -61,7 +61,7 @@ function DbMigrateLogPanel({ onClose }: DbMigrateLogPanelProps) {
{service.displayName}
++ {service.displayName} +
)} { {service.compilationStatus} ยท v{service.version} {service.description && ( -{service.description}
++ {service.description} +
)}{searchTerm || filterStatus !== 'all'