diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Kurs.Platform.DbMigrator/Seeds/LanguagesData.json index 6a941305..45f540d5 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/LanguagesData.json +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/LanguagesData.json @@ -9613,12 +9613,6 @@ "en": "Props:", "tr": "Özellikler:" }, - { - "resourceName": "Platform", - "key": "App.DeveloperKit.Component.DateNotAvailable", - "en": "N/A", - "tr": "Yok" - }, { "resourceName": "Platform", "key": "App.DeveloperKit.Component.Status.Active", diff --git a/ui/src/components/developerKit/ApiManager.tsx b/ui/src/components/developerKit/ApiManager.tsx index 06eee634..15cba307 100644 --- a/ui/src/components/developerKit/ApiManager.tsx +++ b/ui/src/components/developerKit/ApiManager.tsx @@ -14,8 +14,8 @@ import { FaPaperPlane, FaPlusCircle, FaEdit, - FaTrash -} from 'react-icons/fa'; + FaTrash, +} from 'react-icons/fa' import { useLocalization } from '@/utils/hooks/useLocalization' interface EndpointType { @@ -372,9 +372,7 @@ const ApiManager: React.FC = () => {

{translate('::App.DeveloperKit.Endpoint.Title')}

-

- {translate('::App.DeveloperKit.Endpoint.Description')} -

+

{translate('::App.DeveloperKit.Endpoint.Description')}

@@ -385,16 +383,14 @@ const ApiManager: React.FC = () => {
{/* Stats Cards */} -
+

{translate('::App.DeveloperKit.Endpoint.GeneratedCrud')}

-

- {stats.generated} -

+

{stats.generated}

@@ -456,42 +452,40 @@ const ApiManager: React.FC = () => {
{/* Filters */} -
-
-
- - setSearchTerm(e.target.value)} - className="w-full pl-10 pr-4 py-2 border border-slate-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors" - /> -
-
-
- - -
+
+
+ + setSearchTerm(e.target.value)} + className="w-full pl-10 pr-4 py-2 border border-slate-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors" + /> +
+
+
+ +
{/* Endpoints List */} {filteredEndpoints.length > 0 ? ( -
+
{filteredEndpoints.map((endpoint) => (
{ }} >
+ {/* Sol taraf */}
{ {endpoint.path}
-
- {endpoint.type === 'generated' && ( - - {translate('::App.DeveloperKit.Endpoint.AutoGenerated')} - - )} +
+ + {/* Sağ taraf */} +
+ {endpoint.type === 'generated' && ( + + {translate('::App.DeveloperKit.Endpoint.AutoGenerated')} + + )} + +
+ + + {translate('::App.DeveloperKit.Endpoint.Active')} +
-
- - {translate('::App.DeveloperKit.Endpoint.Active')} -
+ {endpoint.description && (

{endpoint.description}

)} @@ -543,10 +544,12 @@ const ApiManager: React.FC = () => { {/* Expanded Details */} {selectedEndpoint === endpoint.id && (
-
+
{/* Request Details */}
-

{translate('::App.DeveloperKit.Endpoint.RequestTitle')}

+

+ {translate('::App.DeveloperKit.Endpoint.RequestTitle')} +