From 41c5f673fbd288b52dc040d84e7f7d81d1533890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?= <76204082+iamsedatozturk@users.noreply.github.com> Date: Thu, 2 Oct 2025 09:18:24 +0300 Subject: [PATCH] =?UTF-8?q?Edit=20ve=20Delete=20Button=20icon=20d=C3=BCzen?= =?UTF-8?q?lemesi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/public/version.json | 12 +++++++++-- ui/src/shared/useListFormColumns.ts | 32 ++++++++++++++--------------- ui/src/views/form/FormButtons.tsx | 12 ++--------- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ui/public/version.json b/ui/public/version.json index 3c7fc84d..0140dd24 100644 --- a/ui/public/version.json +++ b/ui/public/version.json @@ -1,6 +1,14 @@ { - "commit": "d731943", + "commit": "64488c5", "releases": [ + { + "version": "1.0.29", + "buildDate": "2025-09-28", + "commit": "565357ba3e3f90811758b9b070e7e29e2c40b855", + "changeLog": [ + "Chart komponenti eklendi." + ] + }, { "version": "1.0.28", "buildDate": "2025-09-24", @@ -118,7 +126,7 @@ { "version": "1.0.14", "buildDate": "2025-09-22", - "commit": "51208b86937484d68b699120d74872067b1c7ef6", + "commit": "1c4ab4f8232b4cd2a39fa66f8101664840113ce5", "changeLog": [ "Yeni versiyon çıktı uyarı gelecek şekilde düzenlendi.", "Sağ alt kısımda mesaj çıkacak ve yenile butonu ile uygulama yeni versiyona geçecektir." diff --git a/ui/src/shared/useListFormColumns.ts b/ui/src/shared/useListFormColumns.ts index 8834e84f..43d60c29 100644 --- a/ui/src/shared/useListFormColumns.ts +++ b/ui/src/shared/useListFormColumns.ts @@ -289,25 +289,25 @@ const useListFormColumns = ({ } if (hasUpdate) { - // column.buttons.push('edit') - column.buttons.push({ - icon: 'edit', - hint: translate('::Edit'), - name: 'edit', - text: translate('::Edit'), - cssClass: 'big-button', - }) + column.buttons.push('edit') + // column.buttons.push({ + // icon: 'edit', + // hint: translate('::Edit'), + // name: 'edit', + // text: translate('::Edit'), + // cssClass: 'big-button', + // }) } if (hasDelete) { - // column.buttons.push('delete') - column.buttons.push({ - icon: 'trash', - hint: translate('::Delete'), - name: 'delete', - text: translate('::Delete'), - cssClass: 'big-button', - }) + column.buttons.push('delete') + // column.buttons.push({ + // icon: 'trash', + // hint: translate('::Delete'), + // name: 'delete', + // text: translate('::Delete'), + // cssClass: 'big-button', + // }) } gridDto.gridOptions.commandColumnDto.forEach((action) => { diff --git a/ui/src/views/form/FormButtons.tsx b/ui/src/views/form/FormButtons.tsx index ef124b98..316031ba 100644 --- a/ui/src/views/form/FormButtons.tsx +++ b/ui/src/views/form/FormButtons.tsx @@ -9,8 +9,8 @@ import { FaPlusCircle, FaPencilAlt, FaEye, - FaTools, FaSave, + FaCog, } from 'react-icons/fa' import { useNavigate } from 'react-router-dom' import { GridColumnData } from '../list/GridColumnData' @@ -92,7 +92,6 @@ const FormButtons = (props: { props.onActionNew() } else { navigate(-1) - //navigate(ROUTES_ENUM.protected.admin.formNew.replace(':formCode', listFormCode)) } toast.push( @@ -154,13 +153,6 @@ const FormButtons = (props: { key={'commandColumnButton-' + i} variant="default" size="xs" - {...(item.icon - ? { - icon: React.createElement(navigationIcon[item.icon], { - className: 'text-gray-400', - }), - } - : {})} title={item.hint} onClick={(e: any) => { if (item.onClick) { @@ -284,7 +276,7 @@ const FormButtons = (props: { size="xs" variant="default" className="dx-button dx-button-mode-contained dx-button-normal" - icon={} + icon={} color="green-500" title={translate('::ListForms.ListForm.Manage')} onClick={() => {