From 97a2a4b38dfbe1932556b52d0f4d0eadbb92fa1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Thu, 4 Jun 2026 23:25:19 +0300 Subject: [PATCH] =?UTF-8?q?Wizard=20=C3=BCzerinden=20Entity=20eklenebiliyo?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/public/version.json | 17 ++++++++-- ui/src/views/admin/listForm/wizard/Wizard.tsx | 6 +++- .../admin/listForm/wizard/WizardStep2.tsx | 33 +++++++++++++++++-- 3 files changed, 50 insertions(+), 6 deletions(-) diff --git a/ui/public/version.json b/ui/public/version.json index 8bb90a9..4ba5c3b 100644 --- a/ui/public/version.json +++ b/ui/public/version.json @@ -1,6 +1,19 @@ { - "commit": "0d4703c", + "commit": "dc293fc", "releases": [ + { + "version": "1.1.04", + "buildDate": "2026-06-04", + "commit": "20e7fae481ce69e9a678508ce03b5ed7831aea9f", + "changeLog": [ + "- Settingde yapılan ayarlar Auth komponentlerine uygulandı.", + "- Public home ve diğer sayfaların tasarım değişikliği yapıldı.", + "- Route Type Dinamik ve Normal olarak ayrıldı.", + "- Form Devexpress DefaultValue özelliği eklendi.", + "- Devexpress DarkModa uygun şekilde güncellendi.", + "- Grid, Tree ve FormDevexpress setReadonly özelliği eklendi." + ] + }, { "version": "1.1.03", "buildDate": "2026-05-30", @@ -137,4 +150,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/ui/src/views/admin/listForm/wizard/Wizard.tsx b/ui/src/views/admin/listForm/wizard/Wizard.tsx index 67e3701..60f9aee 100644 --- a/ui/src/views/admin/listForm/wizard/Wizard.tsx +++ b/ui/src/views/admin/listForm/wizard/Wizard.tsx @@ -676,7 +676,10 @@ const Wizard = () => { />
- + { onDataSourceNewChange={setIsDataSourceNew} dbObjects={dbObjects} isLoadingDbObjects={isLoadingDbObjects} + onDbObjectsRefresh={loadDbObjects} selectCommandColumns={selectCommandColumns} isLoadingColumns={isLoadingColumns} selectedColumns={selectedColumns} diff --git a/ui/src/views/admin/listForm/wizard/WizardStep2.tsx b/ui/src/views/admin/listForm/wizard/WizardStep2.tsx index f23df26..34819e2 100644 --- a/ui/src/views/admin/listForm/wizard/WizardStep2.tsx +++ b/ui/src/views/admin/listForm/wizard/WizardStep2.tsx @@ -3,10 +3,12 @@ import { SelectCommandTypeEnum } from '@/proxy/form/models' import type { DatabaseColumnDto, SqlObjectExplorerDto } from '@/proxy/sql-query-manager/models' import { SelectBoxOption } from '@/types/shared' import { Field, FieldProps, FormikErrors, FormikTouched } from 'formik' +import { useState } from 'react' import CreatableSelect from 'react-select/creatable' -import { FaArrowLeft, FaArrowRight } from 'react-icons/fa' +import { FaArrowLeft, FaArrowRight, FaPlus } from 'react-icons/fa' import { dbSourceTypeOptions, listFormDefaultLayoutOptions, selectCommandTypeOptions, sqlDataTypeToDbType } from '../edit/options' import { ListFormWizardDto } from '@/proxy/admin/wizard/models' +import SqlTableDesignerDialog from '@/views/developerKit/SqlTableDesignerDialog' // ─── Props ──────────────────────────────────────────────────────────────────── @@ -23,6 +25,7 @@ export interface WizardStep2Props { // DB Objects dbObjects: SqlObjectExplorerDto | null isLoadingDbObjects: boolean + onDbObjectsRefresh: (dsCode: string) => void | Promise // Columns selectCommandColumns: DatabaseColumnDto[] isLoadingColumns: boolean @@ -50,6 +53,7 @@ const WizardStep2 = ({ onDataSourceNewChange, dbObjects, isLoadingDbObjects, + onDbObjectsRefresh, selectCommandColumns, isLoadingColumns, selectedColumns, @@ -61,6 +65,8 @@ const WizardStep2 = ({ onBack, onNext, }: WizardStep2Props) => { + const [showTableDesignerDialog, setShowTableDesignerDialog] = useState(false) + const step2Missing = [ !values.listFormCode && translate('::App.Listform.ListformField.ListFormCode'), !values.dataSourceCode && translate('::ListForms.Wizard.Step4.DataSource'), @@ -217,7 +223,9 @@ const WizardStep2 = ({ ] : [] return ( - + /> +
+ + ) }} @@ -785,6 +804,14 @@ const WizardStep2 = ({ + + setShowTableDesignerDialog(false)} + dataSource={values.dataSourceCode} + initialTableData={null} + onDeployed={() => onDbObjectsRefresh(values.dataSourceCode)} + /> ) }