diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
index 16e690b..c6f36a6 100644
--- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
+++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json
@@ -6144,6 +6144,12 @@
"tr": "Yapay zekanın iş süreçlerindeki etkileri ve geleceği...",
"en": "The impacts and future of AI in business processes..."
},
+ {
+ "resourceName": "Platform",
+ "key": "Public.blog.posts.web.excerpt",
+ "tr": "Modern web geliştirme teknikleri ve araçları...",
+ "en": "Modern web development techniques and tools..."
+ },
{
"resourceName": "Platform",
"key": "Public.blog.posts.ai.title",
@@ -7658,7 +7664,7 @@
},
{
"resourceName": "Platform",
- "key": "Public.services.integration.features.Api",
+ "key": "Public.services.integration.features.api",
"tr": "Api Entegrasyonu",
"en": "Api Integration"
},
diff --git a/ui/src/components/codeLayout/ComponentSelector.tsx b/ui/src/components/codeLayout/ComponentSelector.tsx
index 909a957..1d4adc2 100644
--- a/ui/src/components/codeLayout/ComponentSelector.tsx
+++ b/ui/src/components/codeLayout/ComponentSelector.tsx
@@ -1,5 +1,6 @@
import React from 'react';
import { ComponentInfo } from '../../proxy/developerKit/componentInfo';
+import { Button } from '../ui';
interface ComponentSelectorProps {
components: ComponentInfo[];
@@ -20,13 +21,15 @@ const ComponentSelector: React.FC = ({
-
+
-
navigate(isAdminPath ? ROUTES_ENUM.protected.dashboard : ROUTES_ENUM.public.home)
}
className="px-6 py-3 bg-blue-500 rounded-xl shadow hover:bg-blue-600 transition"
>
{translate('::Public.notFound.button')}
-
+
)
diff --git a/ui/src/views/admin/files/components/Breadcrumb.tsx b/ui/src/views/admin/files/components/Breadcrumb.tsx
index ee1b6e8..9a74a8e 100644
--- a/ui/src/views/admin/files/components/Breadcrumb.tsx
+++ b/ui/src/views/admin/files/components/Breadcrumb.tsx
@@ -2,6 +2,7 @@ import { forwardRef } from 'react'
import classNames from 'classnames'
import { FaChevronRight, FaFolder, FaHome } from 'react-icons/fa'
import type { BreadcrumbItem } from '@/types/fileManagement'
+import { Button } from '@/components/ui'
export interface BreadcrumbProps {
items: BreadcrumbItem[]
@@ -17,7 +18,8 @@ const Breadcrumb = forwardRef((props, ref) => {
{items.map((item, index) => (
{index > 0 && }
- onNavigate(item)}
className={classNames(
'flex items-center px-2 py-1 rounded hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors',
@@ -33,7 +35,7 @@ const Breadcrumb = forwardRef((props, ref) => {
)}
{item.name}
-
+
))}
diff --git a/ui/src/views/admin/listForm/WizardStep2.tsx b/ui/src/views/admin/listForm/WizardStep2.tsx
index b072a6c..aa36a6d 100644
--- a/ui/src/views/admin/listForm/WizardStep2.tsx
+++ b/ui/src/views/admin/listForm/WizardStep2.tsx
@@ -473,20 +473,20 @@ const WizardStep2 = ({
extra={
selectCommandColumns.length > 0 ? (
-
onToggleAllColumns(true)}
className="text-xs px-2 py-0.5 rounded bg-indigo-500 text-white hover:bg-indigo-600"
>
{translate('::ListForms.Wizard.Step2.SelectAll') || 'Tümünü Seç'}
-
-
+ onToggleAllColumns(false)}
className="text-xs px-2 py-0.5 rounded border border-gray-300 dark:border-gray-600 text-gray-500 hover:text-red-500 hover:border-red-400"
>
{translate('::ListForms.Wizard.Step2.ClearAll') || 'Tümünü Kaldır'}
-
+
{selectedColumns.size}/{selectCommandColumns.length}{' '}
{translate('::App.Listform.ListformField.Column')}
diff --git a/ui/src/views/admin/organization-unit/OrganizationUnits.tsx b/ui/src/views/admin/organization-unit/OrganizationUnits.tsx
index d40d549..cc3d168 100644
--- a/ui/src/views/admin/organization-unit/OrganizationUnits.tsx
+++ b/ui/src/views/admin/organization-unit/OrganizationUnits.tsx
@@ -430,24 +430,24 @@ const OrganizationUnits = () => {
- setIsMoveAllUsersOpen(true)}
title={translate('::Abp.Identity.OrganizationUnit.MoveAllUsers')}
>
-
-
+ node.edit()}
title={translate('::Abp.Identity.OrganizationUnit.Rename')}
>
-
-
+ setDeleteRow({ id: node.data.id, name: 'Organization Unit' })}
title={translate('::Delete')}
>
-
+
diff --git a/ui/src/views/forum/Forum.tsx b/ui/src/views/forum/Forum.tsx
index 5da9691..f0320a9 100644
--- a/ui/src/views/forum/Forum.tsx
+++ b/ui/src/views/forum/Forum.tsx
@@ -7,6 +7,7 @@ import { Container } from '@/components/shared'
import { Helmet } from 'react-helmet'
import { useLocalization } from '@/utils/hooks/useLocalization'
import { APP_NAME } from '@/constants/app.constant'
+import { Button } from '@/components/ui'
export function Forum() {
const { translate } = useLocalization()
@@ -63,9 +64,9 @@ export function Forum() {
Error:
{error}
-
+
Dismiss×
-
+
)}
diff --git a/ui/src/views/forum/Management.tsx b/ui/src/views/forum/Management.tsx
index c82b4be..2cfc0d8 100644
--- a/ui/src/views/forum/Management.tsx
+++ b/ui/src/views/forum/Management.tsx
@@ -5,6 +5,7 @@ import { Container } from '@/components/shared'
import { Helmet } from 'react-helmet'
import { useLocalization } from '@/utils/hooks/useLocalization'
import { APP_NAME } from '@/constants/app.constant'
+import { Button } from '@/components/ui'
export function Management() {
const {
@@ -69,9 +70,9 @@ export function Management() {
Error:
{error}
-
+
Dismiss×
-
+
)}
diff --git a/ui/src/views/forum/admin/AdminView.tsx b/ui/src/views/forum/admin/AdminView.tsx
index fc4c7e0..8bbe83c 100644
--- a/ui/src/views/forum/admin/AdminView.tsx
+++ b/ui/src/views/forum/admin/AdminView.tsx
@@ -6,6 +6,7 @@ import { PostManagement } from './PostManagement'
import { ForumCategory, ForumPost, ForumTopic } from '@/proxy/forum/forum'
import { AdminStats } from './Dashboard'
import { useLocalization } from '@/utils/hooks/useLocalization'
+import { Button } from '@/components/ui'
interface AdminViewProps {
categories: ForumCategory[]
@@ -108,7 +109,7 @@ export function AdminView({
{navigationItems.map((item) => {
const Icon = item.icon
return (
- setActiveSection(item.id)}
className={`w-full flex items-center space-x-3 px-4 py-3 rounded-lg text-left transition-colors ${
@@ -119,7 +120,7 @@ export function AdminView({
>
{item.label}
-
+
)
})}
diff --git a/ui/src/views/forum/admin/CategoryManagement.tsx b/ui/src/views/forum/admin/CategoryManagement.tsx
index 700caab..6fe4938 100644
--- a/ui/src/views/forum/admin/CategoryManagement.tsx
+++ b/ui/src/views/forum/admin/CategoryManagement.tsx
@@ -165,14 +165,15 @@ export function CategoryManagement({
{translate('::App.Forum.CategoryManagement.Title')}
- setShowCreateForm(true)}
disabled={loading}
- className="flex items-center space-x-2 bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
+ className="flex items-center space-x-2 bg-blue-600 px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
>
{translate('::App.Forum.CategoryManagement.AddCategory')}
-
+
{/* Create/Edit Form */}
@@ -367,7 +368,8 @@ export function CategoryManagement({
- handleToggleActive(category)}
className={`p-2 rounded-lg transition-colors ${
category.isActive
@@ -381,9 +383,10 @@ export function CategoryManagement({
) : (
)}
-
+
- handleToggleLocked(category)}
className={`p-2 rounded-lg transition-colors ${
category.isLocked
@@ -397,23 +400,25 @@ export function CategoryManagement({
) : (
)}
-
+
- handleEdit(category)}
className="p-2 text-blue-600 hover:bg-blue-100 rounded-lg transition-colors"
title={translate('::App.Forum.CategoryManagement.EditCategory')}
>
-
+
- confirmDeleteCategory(category)}
className="p-2 text-red-600 hover:bg-red-100 rounded-lg transition-colors"
title={translate('::App.Forum.CategoryManagement.DeleteCategory')}
>
-
+
diff --git a/ui/src/views/forum/admin/PostManagement.tsx b/ui/src/views/forum/admin/PostManagement.tsx
index 8b38a24..fc80653 100644
--- a/ui/src/views/forum/admin/PostManagement.tsx
+++ b/ui/src/views/forum/admin/PostManagement.tsx
@@ -164,14 +164,15 @@ export function PostManagement({
{translate('::App.Forum.PostManagement.Title')}
- setShowCreateForm(true)}
disabled={loading}
- className="flex items-center space-x-2 bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
+ className="flex items-center space-x-2 bg-blue-600 px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
>
{translate('::App.Forum.PostManagement.AddPost')}
-
+
{/* Create/Edit Form */}
@@ -397,7 +398,7 @@ export function PostManagement({
- handleToggleAcceptedAnswer(post)}
className={`p-2 rounded-lg transition-colors ${
post.isAcceptedAnswer
@@ -415,23 +416,23 @@ export function PostManagement({
) : (
)}
-
+
- handleEdit(post)}
className="p-2 text-blue-600 hover:bg-blue-100 rounded-lg transition-colors"
title={translate('::App.Forum.PostManagement.EditPost')}
>
-
+
- confirmDeletePost(post)}
className="p-2 text-red-600 hover:bg-red-100 rounded-lg transition-colors"
title={translate('::App.Forum.PostManagement.DeletePost')}
>
-
+
diff --git a/ui/src/views/forum/admin/TopicManagement.tsx b/ui/src/views/forum/admin/TopicManagement.tsx
index bff5b2c..39e4714 100644
--- a/ui/src/views/forum/admin/TopicManagement.tsx
+++ b/ui/src/views/forum/admin/TopicManagement.tsx
@@ -206,14 +206,15 @@ export function TopicManagement({
{translate('::App.Forum.TopicManagement.Title')}
- setShowCreateForm(true)}
disabled={loading}
- className="flex items-center space-x-2 bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
+ className="flex items-center space-x-2 bg-blue-600 px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50"
>
{translate('::App.Forum.TopicManagement.AddTopic')}
-
+
{/* Create/Edit Form */}
@@ -398,7 +399,7 @@ export function TopicManagement({
- handlePin(topic)}
className={`p-2 rounded-lg transition-colors ${
topic.isPinned
@@ -412,9 +413,9 @@ export function TopicManagement({
) : (
)}
-
+
- handleLock(topic)}
className={`p-2 rounded-lg transition-colors ${
topic.isLocked
@@ -428,9 +429,9 @@ export function TopicManagement({
) : (
)}
-
+
- handleSolved(topic)}
className={`p-2 rounded-lg transition-colors ${
topic.isSolved
@@ -444,23 +445,23 @@ export function TopicManagement({
) : (
)}
-
+
- handleEdit(topic)}
className="p-2 text-blue-600 hover:bg-blue-100 rounded-lg transition-colors"
title={translate('::App.Forum.TopicManagement.EditTopic')}
>
-
+
- confirmDeleteTopic(topic)}
className="p-2 text-red-600 hover:bg-red-100 rounded-lg transition-colors"
title={translate('::App.Forum.TopicManagement.DeleteTopic')}
>
-
+
diff --git a/ui/src/views/forum/forum/ForumView.tsx b/ui/src/views/forum/forum/ForumView.tsx
index 2514ccb..8cee359 100644
--- a/ui/src/views/forum/forum/ForumView.tsx
+++ b/ui/src/views/forum/forum/ForumView.tsx
@@ -11,6 +11,7 @@ import { ForumTopicCard } from './ForumTopicCard'
import { useStoreState } from '@/store/store'
import { useLocalization } from '@/utils/hooks/useLocalization'
import { forumService } from '@/services/forum.service'
+import { Button } from '@/components/ui'
interface ForumViewProps {
categories: ForumCategory[]
@@ -352,41 +353,45 @@ export function ForumView({
{/* Right Side: Actions + Search */}
{viewState === 'topics' && selectedCategory && !selectedCategory.isLocked && (
- setShowCreateTopic(true)}
className="flex items-center space-x-2 bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors"
>
{translate('::App.Forum.TopicManagement.NewTopic')}
-
+
)}
{viewState === 'posts' && selectedTopic && !selectedTopic.isLocked && (
- setShowCreatePost(true)}
className="flex items-center space-x-2 bg-emerald-600 text-white px-4 py-2 rounded-lg hover:bg-emerald-700 transition-colors"
>
{translate('::App.Forum.PostManagement.NewPost')}
-
+
)}
{/* Search */}
- setIsSearchModalOpen(true)}
+ variant='default'
className="hidden md:flex items-center space-x-2 px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors"
>
{translate('::App.Forum.TopicManagement.Searchtopics')}
-
+
- setIsSearchModalOpen(true)}
+ variant='default'
className="md:hidden p-2 text-gray-400 hover:text-gray-600 transition-colors"
>
-
+
diff --git a/ui/src/views/list/ChartDrawer.tsx b/ui/src/views/list/ChartDrawer.tsx
index c4a5db0..d74c313 100644
--- a/ui/src/views/list/ChartDrawer.tsx
+++ b/ui/src/views/list/ChartDrawer.tsx
@@ -143,13 +143,13 @@ const ChartDrawer = ({
📊
{translate('::App.Platform.ChartDrawer.ChartSeries')}
-
-
+
@@ -205,7 +205,7 @@ const ChartDrawer = ({
{({ field, form }: FieldProps) => (
-
setSelectedSeriesIndex(
@@ -222,12 +222,12 @@ const ChartDrawer = ({
{chartSeriesTypeOptions.find((t) => t.label === field.value)
?.label || field.value}
-
+
{selectedSeriesIndex === index && (
{chartSeriesTypeOptions.map((chartType) => (
- {
@@ -244,7 +244,7 @@ const ChartDrawer = ({
{chartType.label}
-
+
))}
diff --git a/ui/src/views/public/About.tsx b/ui/src/views/public/About.tsx
index 9d25560..dfaacce 100644
--- a/ui/src/views/public/About.tsx
+++ b/ui/src/views/public/About.tsx
@@ -6,7 +6,7 @@ import { getAbout, saveAboutPage } from '@/services/about'
import { useLocalization } from '@/utils/hooks/useLocalization'
import Loading from '@/components/shared/Loading'
import { APP_NAME } from '@/constants/app.constant'
-import { Notification, toast } from '@/components/ui'
+import { Button, Notification, toast } from '@/components/ui'
import { useStoreState } from '@/store'
import { useStoreActions } from '@/store'
import DesignerDrawer from './designer/DesignerDrawer'
@@ -699,13 +699,13 @@ const About: React.FC = () => {
{isDesignMode && !isPanelVisible && (
-
setIsPanelVisible(true)}
className="fixed right-4 top-1/2 z-40 -translate-y-1/2 rounded-full bg-slate-900 px-4 py-2 text-sm font-semibold text-white shadow-xl"
>
{translate('::Public.designer.showPanel')}
-
+
)}
{/* Hero Section */}
diff --git a/ui/src/views/public/Blog.tsx b/ui/src/views/public/Blog.tsx
index eef191d..ac81280 100644
--- a/ui/src/views/public/Blog.tsx
+++ b/ui/src/views/public/Blog.tsx
@@ -8,6 +8,7 @@ import { useLocalization } from '@/utils/hooks/useLocalization'
import { Helmet } from 'react-helmet'
import { Loading } from '@/components/shared'
import { APP_NAME } from '@/constants/app.constant'
+import { Button } from '@/components/ui'
const Blog = () => {
const { translate } = useLocalization()
@@ -120,7 +121,7 @@ const Blog = () => {
{/* Category Filter */}
- handleCategoryChange('')}
className={`px-4 py-2 bg-blue-100 text-blue-800 text-sm font-medium rounded-lg transition-colors ${
selectedCategory === ''
@@ -129,9 +130,9 @@ const Blog = () => {
}`}
>
{translate('::App.Reports.Search')}
-
+
{categories.map((category) => (
- handleCategoryChange(category.id)}
className={`px-4 py-2 bg-blue-100 text-blue-800 text-sm font-medium rounded-lg transition-colors ${
@@ -141,7 +142,7 @@ const Blog = () => {
}`}
>
{translate('::Public.' + category.name)} ({category.postCount})
-
+
))}
@@ -213,16 +214,16 @@ const Blog = () => {
{totalPages > 1 && (
)}
@@ -262,9 +263,9 @@ const Blog = () => {
placeholder={translate('::Abp.Account.EmailAddress')}
className="flex-1 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
/>
-
+
{translate('::Public.common.subscribe')}
-
+
diff --git a/ui/src/views/public/Contact.tsx b/ui/src/views/public/Contact.tsx
index 502b291..7f6e6cd 100644
--- a/ui/src/views/public/Contact.tsx
+++ b/ui/src/views/public/Contact.tsx
@@ -20,7 +20,7 @@ import DesignerDrawer from './designer/DesignerDrawer'
import SelectableBlock from './designer/SelectableBlock'
import { DesignerSelection } from './designer/types'
import { useDesignerState } from './designer/useDesignerState'
-import { Notification, toast } from '@/components/ui'
+import { Button, Notification, toast } from '@/components/ui'
interface ContactContent {
heroTitle: string
@@ -659,13 +659,13 @@ const Contact: React.FC = () => {
)}
{isDesignMode && !isPanelVisible && (
- setIsPanelVisible(true)}
className="fixed right-4 top-1/2 z-40 -translate-y-1/2 rounded-full bg-slate-900 px-4 py-2 text-sm font-semibold text-white shadow-xl"
>
{translate('::Public.designer.showPanel')}
-
+
)}
{
>
{isDesignMode && !isPanelVisible && (
- setIsPanelVisible(true)}
className="fixed right-4 top-1/2 z-40 -translate-y-1/2 rounded-full bg-slate-900 px-4 py-2 text-sm font-semibold text-white shadow-xl"
>
{translate('::Public.designer.showPanel')}
-
+
)}
{/* Hero Section */}
diff --git a/ui/src/views/public/designer/DesignerDrawer.tsx b/ui/src/views/public/designer/DesignerDrawer.tsx
index 0773f06..b3cc6cc 100644
--- a/ui/src/views/public/designer/DesignerDrawer.tsx
+++ b/ui/src/views/public/designer/DesignerDrawer.tsx
@@ -72,7 +72,7 @@ const DesignerDrawer: React.FC = ({
{languages.map((language) => (
- = ({
shape="circle"
src={`/img/countries/${language.cultureName}.png`}
/>
-
+
))}