From 9988cd11b0d27875b759b2e5914e883b351ef5ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?=
<76204082+iamsedatozturk@users.noreply.github.com>
Date: Wed, 29 Jul 2026 10:57:49 +0300
Subject: [PATCH] =?UTF-8?q?GanttView=20d=C3=BCzenlemeleri?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../GridOptionsDto/GanttOptionDto.cs | 9 +
.../Seeds/LanguagesData.json | 12 +
ui/src/index.css | 3 +-
ui/src/proxy/form/models.ts | 2 +
.../admin/listForm/edit/FormTabGantt.tsx | 133 +++++++----
ui/src/views/admin/listForm/wizard/Wizard.tsx | 2 +
.../admin/listForm/wizard/WizardStep9.tsx | 2 +
.../developerKit/SqlTableDesignerDialog.tsx | 18 +-
ui/src/views/list/GanttView.tsx | 217 +++++++++++++++++-
ui/src/views/list/useListFormStateStoring.tsx | 2 +-
10 files changed, 335 insertions(+), 65 deletions(-)
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GanttOptionDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GanttOptionDto.cs
index 01612c09..5bfd5cc7 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GanttOptionDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GanttOptionDto.cs
@@ -76,6 +76,10 @@ public class GanttOptionDto
///
public bool AllowTaskUpdating { get; set; } = false;
///
+ /// Task kaynaklarının güncellenmesine izin verilsin mi
+ ///
+ public bool AllowTaskResourceUpdating { get; set; } = false;
+ ///
/// Task silmeye izin verilsin mi
///
public bool AllowTaskDeleting { get; set; } = false;
@@ -94,6 +98,11 @@ public class GanttOptionDto
///
public bool AllowResourceAdding { get; set; } = false;
+ ///
+ /// Kaynak güncellemeye izin verilsin mi
+ ///
+ public bool AllowResourceUpdating { get; set; } = false;
+
///
/// Kaynaklar için kullanılan field adı (örn: "resources")
///
diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
index 82f1292d..08d5e1a0 100644
--- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
+++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
@@ -5562,6 +5562,12 @@
"en": "Allow Task Updating",
"tr": "Görev Güncelleme İzni"
},
+ {
+ "resourceName": "Platform",
+ "key": "ListForms.ListFormEdit.AllowTaskResourceUpdating",
+ "en": "Allow Task Resource Updating",
+ "tr": "Görev Kaynaklarını Güncelleme İzni"
+ },
{
"resourceName": "Platform",
"key": "ListForms.ListFormEdit.AllowDependencyAdding",
@@ -5580,6 +5586,12 @@
"en": "Allow Resource Adding",
"tr": "Kaynak Ekleme İzni"
},
+ {
+ "resourceName": "Platform",
+ "key": "ListForms.ListFormEdit.AllowResourceUpdating",
+ "en": "Allow Resource Updating",
+ "tr": "Kaynak Güncelleme İzni"
+ },
{
"resourceName": "Platform",
"key": "ListForms.ListFormEdit.AllowResourceDeleting",
diff --git a/ui/src/index.css b/ui/src/index.css
index e6372fec..debe8c5f 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -289,7 +289,8 @@ div.dialog-after-open > div.dialog-content.maximized {
}
.dx-datagrid-header-panel > .dx-toolbar .dx-toolbar-after .dx-button-text,
-.dx-treelist-header-panel > .dx-toolbar .dx-toolbar-after .dx-button-text {
+.dx-treelist-header-panel > .dx-toolbar .dx-toolbar-after .dx-button-text,
+.dx-gantt-toolbar-wrapper .dx-button-text {
text-transform: none !important;
}
diff --git a/ui/src/proxy/form/models.ts b/ui/src/proxy/form/models.ts
index 78283768..b0db7af8 100644
--- a/ui/src/proxy/form/models.ts
+++ b/ui/src/proxy/form/models.ts
@@ -420,10 +420,12 @@ export interface GanttOptionDto {
allowEditing?: boolean
allowTaskAdding?: boolean
allowTaskUpdating?: boolean
+ allowTaskResourceUpdating?: boolean
allowTaskDeleting?: boolean
allowDependencyAdding?: boolean
allowDependencyDeleting?: boolean
allowResourceAdding?: boolean
+ allowResourceUpdating?: boolean
allowResourceDeleting?: boolean
}
diff --git a/ui/src/views/admin/listForm/edit/FormTabGantt.tsx b/ui/src/views/admin/listForm/edit/FormTabGantt.tsx
index 9b56031e..2ac75a2f 100644
--- a/ui/src/views/admin/listForm/edit/FormTabGantt.tsx
+++ b/ui/src/views/admin/listForm/edit/FormTabGantt.tsx
@@ -361,21 +361,6 @@ function FormTabGantt(props: FormEditProps) {
/>
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-