From b6e4eee4029b06feb585e2a28e97d05e87c8d191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Wed, 13 May 2026 23:03:10 +0300 Subject: [PATCH] =?UTF-8?q?Forum=20d=C3=BCzenlemesi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Seeds/LanguagesData.json | 6 -- ui/src/views/forum/admin/AdminView.tsx | 12 ++-- .../views/forum/admin/CategoryManagement.tsx | 37 +++++------ ui/src/views/forum/admin/Dashboard.tsx | 65 +++++++------------ ui/src/views/forum/admin/PostManagement.tsx | 35 +++++----- ui/src/views/forum/admin/TopicManagement.tsx | 39 +++++------ ui/src/views/forum/forum/ForumView.tsx | 22 +++---- 7 files changed, 88 insertions(+), 128 deletions(-) diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json index ef6796b..3469e40 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json @@ -1692,12 +1692,6 @@ "en": "Loading execution details...", "tr": "Çalıştırma detayları yükleniyor..." }, - { - "resourceName": "Platform", - "key": "App.Listforms.ImportManager.Executed", - "en": "executed", - "tr": "çalıştırıldı" - }, { "resourceName": "Platform", "key": "App.Listforms.ImportManager.Valid", diff --git a/ui/src/views/forum/admin/AdminView.tsx b/ui/src/views/forum/admin/AdminView.tsx index 49454d2..0c5f07b 100644 --- a/ui/src/views/forum/admin/AdminView.tsx +++ b/ui/src/views/forum/admin/AdminView.tsx @@ -102,21 +102,21 @@ export function AdminView({ ] return ( -
+
{/* Sidebar Navigation */}
- +
{/* Create/Edit Form */} {showCreateForm && (
@@ -322,10 +307,20 @@ export function CategoryManagement({ {/* Categories List */}
-
+

{translate('::App.Forum.CategoryManagement.Categories')} ({categories.length})

+
{loading ? ( @@ -369,7 +364,7 @@ export function CategoryManagement({
-
- +
{/* Create/Edit Form */} {showCreateForm && (
@@ -346,8 +331,18 @@ export function PostManagement({ {/* Posts List */}
-
+

Posts ({posts.length})

+
{loading ? ( @@ -399,7 +394,7 @@ export function PostManagement({
-
- +
{/* Create/Edit Form */} {showCreateForm && (
@@ -347,10 +332,20 @@ export function TopicManagement({ {/* Topics List */}
-
+

{translate('::App.Forum.Dashboard.Topics')} ({topics.length})

+
{loading ? ( @@ -400,7 +395,7 @@ export function TopicManagement({
- )} + {viewState !== 'categories' && }