From 04e88fc9698e4174d952aeda6f21d2c8e67f9478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?= <76204082+iamsedatozturk@users.noreply.github.com> Date: Wed, 8 Jul 2026 09:14:40 +0300 Subject: [PATCH] bottom-end --- .../codeLayout/ComponentCodeEditor.tsx | 2 +- .../components/template/MessengerWidget.tsx | 12 +++--- .../template/ThemeConfigurator/CopyButton.tsx | 2 +- .../ThemeConfigurator/StyleSwitcher.tsx | 2 +- ui/src/components/ui/Upload/Upload.tsx | 2 +- ui/src/services/UiEvalService.tsx | 8 ++-- ui/src/services/videoroom/signalr.tsx | 38 +++++++++---------- ui/src/services/videoroom/webrtc.tsx | 18 ++++----- .../admin/listForm/edit/ChartTabSeries.tsx | 2 +- .../admin/listForm/edit/FormCustomization.tsx | 6 +-- ui/src/views/admin/listForm/edit/FormEdit.tsx | 4 +- .../admin/listForm/edit/FormTabGantt.tsx | 2 +- .../admin/listForm/edit/FormTabScheduler.tsx | 2 +- .../views/admin/listForm/edit/FormTabTree.tsx | 2 +- .../FormFieldTabConditionalFormatting.tsx | 8 ++-- .../FormFieldTabValidationRules.tsx | 6 +-- .../listForm/edit/form-fields/FormFields.tsx | 24 ++++++------ .../JsonRowOpDialogAnnotation.tsx | 8 ++-- .../JsonRowOpDialogAxis.tsx | 8 ++-- .../JsonRowOpDialogCommand.tsx | 8 ++-- .../JsonRowOpDialogDatabase.tsx | 8 ++-- .../JsonRowOpDialogEditForm.tsx | 8 ++-- .../JsonRowOpDialogExtraFilter.tsx | 10 ++--- .../JsonRowOpDialogPane.tsx | 8 ++-- .../JsonRowOpDialogSeries.tsx | 8 ++-- .../JsonRowOpDialogSubForm.tsx | 6 +-- .../JsonRowOpDialogWidget.tsx | 8 ++-- ui/src/views/admin/listForm/wizard/Wizard.tsx | 4 +- .../listForm/wizard/WizardFileManager.tsx | 6 +-- .../admin/listForm/wizard/WizardStep1.tsx | 4 +- .../admin/notification/CreateNotification.tsx | 4 +- .../organization-unit/OrganizationUnits.tsx | 30 +++++++-------- .../admin/profile/components/General.tsx | 4 +- .../admin/profile/components/Password.tsx | 4 +- ui/src/views/admin/role-management/Roles.tsx | 2 +- .../admin/role-management/RolesPermission.tsx | 9 +++-- .../CreateTenantFromOrderDialog.tsx | 4 +- .../TenantsConnectionString.tsx | 12 +++--- .../views/admin/user-management/Details.tsx | 18 ++++----- .../admin/user-management/UsersPermission.tsx | 2 +- ui/src/views/admin/videoroom/RoomDetail.tsx | 20 +++++----- ui/src/views/branch/BranchSeed.tsx | 6 +-- .../developerKit/ComponentCodeLayout.tsx | 2 +- ui/src/views/form/FormButtons.tsx | 4 +- ui/src/views/form/FormDevExpress.tsx | 4 +- ui/src/views/form/useFormData.tsx | 8 ++-- .../intranet/widgets/AnnouncementModal.tsx | 4 +- ui/src/views/intranet/widgets/EventModal.tsx | 4 +- ui/src/views/intranet/widgets/Events.tsx | 4 +- ui/src/views/list/ChartDrawer.tsx | 4 +- ui/src/views/list/Grid.tsx | 10 ++--- ui/src/views/list/GridFilterDialogs.tsx | 6 +-- ui/src/views/list/PermissionGranted.tsx | 6 +-- ui/src/views/list/Pivot.tsx | 8 ++-- ui/src/views/list/Tree.tsx | 8 ++-- ui/src/views/list/useFilters.tsx | 2 +- ui/src/views/list/useToolbar.tsx | 20 +++++----- ui/src/views/menu/MenuItemComponent.tsx | 4 +- ui/src/views/public/About.tsx | 2 +- ui/src/views/public/Home.tsx | 2 +- ui/src/views/public/Services.tsx | 2 +- ui/src/views/settings/Settings.tsx | 8 ++-- ui/src/views/shared/MenuAddDialog.tsx | 2 +- 63 files changed, 232 insertions(+), 231 deletions(-) diff --git a/ui/src/components/codeLayout/ComponentCodeEditor.tsx b/ui/src/components/codeLayout/ComponentCodeEditor.tsx index bf3219c..84e545d 100644 --- a/ui/src/components/codeLayout/ComponentCodeEditor.tsx +++ b/ui/src/components/codeLayout/ComponentCodeEditor.tsx @@ -260,7 +260,7 @@ export const ComponentCodeEditor: React.FC = ({ Bileşen yalnızca return(...) bloğu içine eklenebilir. , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } diff --git a/ui/src/components/template/MessengerWidget.tsx b/ui/src/components/template/MessengerWidget.tsx index 9e0cbec..9addf60 100644 --- a/ui/src/components/template/MessengerWidget.tsx +++ b/ui/src/components/template/MessengerWidget.tsx @@ -220,7 +220,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { type="warning" />, { - placement: 'top-end', + placement: 'bottom-end', }, ) return @@ -284,7 +284,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { type="warning" />, { - placement: 'top-end', + placement: 'bottom-end', }, ) return @@ -299,7 +299,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { } catch { toast.push( , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setUploading(false) @@ -317,7 +317,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { type="warning" />, { - placement: 'top-end', + placement: 'bottom-end', }, ) return @@ -339,7 +339,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { } catch { toast.push( , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } } @@ -353,7 +353,7 @@ const MessengerWidgetContent = ({ className }: { className?: string }) => { } catch { toast.push( , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } } diff --git a/ui/src/components/template/ThemeConfigurator/CopyButton.tsx b/ui/src/components/template/ThemeConfigurator/CopyButton.tsx index b8562df..7915e5f 100644 --- a/ui/src/components/template/ThemeConfigurator/CopyButton.tsx +++ b/ui/src/components/template/ThemeConfigurator/CopyButton.tsx @@ -28,7 +28,7 @@ const CopyButton = () => { {`Please replace themeConfig in 'src/configs/themeConfig.js'`} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/components/template/ThemeConfigurator/StyleSwitcher.tsx b/ui/src/components/template/ThemeConfigurator/StyleSwitcher.tsx index 14d84f5..f8c5997 100644 --- a/ui/src/components/template/ThemeConfigurator/StyleSwitcher.tsx +++ b/ui/src/components/template/ThemeConfigurator/StyleSwitcher.tsx @@ -37,7 +37,7 @@ const StyleSwitcher = ({ onStyleChange }: { onStyleChange?: () => void }) => { const resp = await updateSettingValues(values) if (resp.status !== 204) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } diff --git a/ui/src/components/ui/Upload/Upload.tsx b/ui/src/components/ui/Upload/Upload.tsx index 285080b..395bf20 100644 --- a/ui/src/components/ui/Upload/Upload.tsx +++ b/ui/src/components/ui/Upload/Upload.tsx @@ -74,7 +74,7 @@ const Upload = forwardRef((props, ref) => { {msg || 'Upload Failed!'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/services/UiEvalService.tsx b/ui/src/services/UiEvalService.tsx index 1d38bf9..cc5fc3e 100644 --- a/ui/src/services/UiEvalService.tsx +++ b/ui/src/services/UiEvalService.tsx @@ -33,7 +33,7 @@ export abstract class UiEvalService { {UiEvalService.translate(toastKey)} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } @@ -59,7 +59,7 @@ export abstract class UiEvalService { {UiEvalService.translate('::App.DbMigrate.StartMessage')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) openDbMigrateLogPanel() streamSetupMigrate( @@ -72,7 +72,7 @@ export abstract class UiEvalService { {UiEvalService.translate('::App.DbMigrate.EndMessage')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }, (err) => { @@ -82,7 +82,7 @@ export abstract class UiEvalService { {UiEvalService.translate('::App.DbMigrate.ErrorMessage')} {err instanceof Error ? `: ${err.message}` : ''} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }, ) diff --git a/ui/src/services/videoroom/signalr.tsx b/ui/src/services/videoroom/signalr.tsx index f799b50..e3acd05 100644 --- a/ui/src/services/videoroom/signalr.tsx +++ b/ui/src/services/videoroom/signalr.tsx @@ -100,7 +100,7 @@ export class SignalRService { this.connection.onreconnected(async () => { this.isConnected = true toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) if (this.currentSessionId && store.getState().auth.user) { @@ -113,7 +113,7 @@ export class SignalRService { if (this.isKicked) { toast.push( , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) this.isConnected = false this.currentSessionId = undefined @@ -132,19 +132,19 @@ export class SignalRService { this.connection.on('Error', (message: string) => { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) }) this.connection.on('Warning', (message: string) => { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) }) this.connection.on('Info', (message: string) => { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) }) @@ -164,7 +164,7 @@ export class SignalRService { this.connection.on('ForceDisconnect', async (message: string) => { this.isKicked = true toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) if (this.onForceCleanup) { @@ -200,7 +200,7 @@ export class SignalRService { await Promise.race([startPromise, timeout]) this.isConnected = true toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } catch { toast.push( @@ -208,7 +208,7 @@ export class SignalRService { title="⚠️ Sunucuya bağlanılamadı. Lütfen sayfayı yenileyin veya internet bağlantınızı kontrol edin." type="danger" />, - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) this.isConnected = false } @@ -236,7 +236,7 @@ export class SignalRService { await this.connection.invoke('JoinClass', sessionId, userId, userName, isTeacher, isActive) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -254,7 +254,7 @@ export class SignalRService { this.currentSessionId = undefined } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -295,7 +295,7 @@ export class SignalRService { ) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -342,7 +342,7 @@ export class SignalRService { ) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -382,7 +382,7 @@ export class SignalRService { ) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -404,7 +404,7 @@ export class SignalRService { await this.connection.invoke('MuteParticipant', sessionId, userId, isMuted, isTeacher) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -421,7 +421,7 @@ export class SignalRService { await this.connection.invoke('RaiseHand', sessionId, studentId, studentName) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -438,7 +438,7 @@ export class SignalRService { await this.connection.invoke('KickParticipant', sessionId, participantId) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -455,7 +455,7 @@ export class SignalRService { await this.connection.invoke('ApproveHandRaise', sessionId, studentId) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -472,7 +472,7 @@ export class SignalRService { await this.connection.invoke('DismissHandRaise', sessionId, studentId) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -552,7 +552,7 @@ export class SignalRService { await this.connection.invoke('LeaveClass', this.currentSessionId) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } diff --git a/ui/src/services/videoroom/webrtc.tsx b/ui/src/services/videoroom/webrtc.tsx index ae4f5fd..744825b 100644 --- a/ui/src/services/videoroom/webrtc.tsx +++ b/ui/src/services/videoroom/webrtc.tsx @@ -53,7 +53,7 @@ export class WebRTCService { title="❌ Kamera/Mikrofon erişilemedi. Tarayıcı ayarlarınızı veya izinleri kontrol edin." type="danger" />, - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) throw new Error('Media devices access failed') } @@ -105,7 +105,7 @@ export class WebRTCService { title={`❌ Bağlantı kurulamadı (${this.maxRetries} deneme başarısız).`} type="danger" />, - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) this.closePeerConnection(userId) } @@ -150,7 +150,7 @@ export class WebRTCService { return offer } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) throw new Error('Offer creation failed') } @@ -170,7 +170,7 @@ export class WebRTCService { return answer } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) throw new Error('Answer creation failed') } @@ -238,7 +238,7 @@ export class WebRTCService { } } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -267,7 +267,7 @@ export class WebRTCService { } } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -286,12 +286,12 @@ export class WebRTCService { await this.signalRService.sendOffer(this.sessionId, userId, offer) } else { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -345,7 +345,7 @@ export class WebRTCService { pc.removeTrack(sender) } catch { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } if (sender.track?.readyState !== 'ended') { diff --git a/ui/src/views/admin/listForm/edit/ChartTabSeries.tsx b/ui/src/views/admin/listForm/edit/ChartTabSeries.tsx index 2a9b8ac..bf0338d 100644 --- a/ui/src/views/admin/listForm/edit/ChartTabSeries.tsx +++ b/ui/src/views/admin/listForm/edit/ChartTabSeries.tsx @@ -94,7 +94,7 @@ function ChartTabSeries(props: FormEditProps & { listFormCode: string }) { {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/views/admin/listForm/edit/FormCustomization.tsx b/ui/src/views/admin/listForm/edit/FormCustomization.tsx index 20c2a62..12f442a 100644 --- a/ui/src/views/admin/listForm/edit/FormCustomization.tsx +++ b/ui/src/views/admin/listForm/edit/FormCustomization.tsx @@ -170,7 +170,7 @@ function FormCustomization({ : translate('::ListForms.KayitEklendi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) setRow(null) @@ -180,7 +180,7 @@ function FormCustomization({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -336,7 +336,7 @@ function FormCustomization({ {translate('::ListForms.KayitSilindi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) getListFormCustomizations() diff --git a/ui/src/views/admin/listForm/edit/FormEdit.tsx b/ui/src/views/admin/listForm/edit/FormEdit.tsx index ded4e06..0b1f7e0 100644 --- a/ui/src/views/admin/listForm/edit/FormEdit.tsx +++ b/ui/src/views/admin/listForm/edit/FormEdit.tsx @@ -206,7 +206,7 @@ const FormEdit = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } catch (error: any) { toast.push( @@ -214,7 +214,7 @@ const FormEdit = () => { Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { formikHelpers.setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/FormTabGantt.tsx b/ui/src/views/admin/listForm/edit/FormTabGantt.tsx index a2d0951..e4e83b7 100644 --- a/ui/src/views/admin/listForm/edit/FormTabGantt.tsx +++ b/ui/src/views/admin/listForm/edit/FormTabGantt.tsx @@ -57,7 +57,7 @@ function FormTabGantt(props: FormEditProps) { {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/views/admin/listForm/edit/FormTabScheduler.tsx b/ui/src/views/admin/listForm/edit/FormTabScheduler.tsx index 6a22972..d97e6d6 100644 --- a/ui/src/views/admin/listForm/edit/FormTabScheduler.tsx +++ b/ui/src/views/admin/listForm/edit/FormTabScheduler.tsx @@ -56,7 +56,7 @@ function FormTabScheduler(props: FormEditProps) { {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/views/admin/listForm/edit/FormTabTree.tsx b/ui/src/views/admin/listForm/edit/FormTabTree.tsx index 0778d44..a899c45 100644 --- a/ui/src/views/admin/listForm/edit/FormTabTree.tsx +++ b/ui/src/views/admin/listForm/edit/FormTabTree.tsx @@ -54,7 +54,7 @@ function FormTabTree(props: FormEditProps) { {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabConditionalFormatting.tsx b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabConditionalFormatting.tsx index 34daaa5..59013bf 100644 --- a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabConditionalFormatting.tsx +++ b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabConditionalFormatting.tsx @@ -139,7 +139,7 @@ function FormFieldTabConditionalFormatting({ {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) handleClose() @@ -149,7 +149,7 @@ function FormFieldTabConditionalFormatting({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } }} @@ -199,7 +199,7 @@ function FormFieldTabConditionalFormatting({ {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) handleClose() @@ -209,7 +209,7 @@ function FormFieldTabConditionalFormatting({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabValidationRules.tsx b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabValidationRules.tsx index aaf481f..a690270 100644 --- a/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabValidationRules.tsx +++ b/ui/src/views/admin/listForm/edit/form-fields/FormFieldTabValidationRules.tsx @@ -157,7 +157,7 @@ function FormFieldTabValidationRules({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } }} @@ -209,7 +209,7 @@ function FormFieldTabValidationRules({ {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) handleClose() @@ -219,7 +219,7 @@ function FormFieldTabValidationRules({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/form-fields/FormFields.tsx b/ui/src/views/admin/listForm/edit/form-fields/FormFields.tsx index 2ac092e..f90ca12 100644 --- a/ui/src/views/admin/listForm/edit/form-fields/FormFields.tsx +++ b/ui/src/views/admin/listForm/edit/form-fields/FormFields.tsx @@ -162,7 +162,7 @@ function FormFields({ Tüm sütunlar zaten eklenmiş. , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -181,7 +181,7 @@ function FormFields({ {newCols.length} sütun eklendi. , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) await getFields() } catch (error: any) { @@ -189,7 +189,7 @@ function FormFields({ Hata: {error.toString()} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setIsAddingAllColumns(false) @@ -250,7 +250,7 @@ function FormFields({ {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } @@ -287,7 +287,7 @@ function FormFields({ {translate('::ListForms.FormBilgileriKaydedildi')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } catch (error: any) { toast.push( @@ -295,7 +295,7 @@ function FormFields({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { formikHelpers?.setSubmitting(false) @@ -332,7 +332,7 @@ function FormFields({ {'Alanlar geldi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }) setSubmitting(false) @@ -546,7 +546,7 @@ function FormFields({ : translate('::ListForms.KayitEklendi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) handleNewFieldFormClose() @@ -556,7 +556,7 @@ function FormFields({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -723,7 +723,7 @@ function FormFields({ {translate('::ListForms.KayitSilindi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) getFields() @@ -777,7 +777,7 @@ function FormFields({ await postListFormFieldCopy({ ...values }) toast.push({'Field Kopyalandı.'}, { - placement: 'top-end', + placement: 'bottom-end', }) handleCopyFieldFormClose() } catch (error: any) { @@ -786,7 +786,7 @@ function FormFields({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAnnotation.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAnnotation.tsx index 1c64b94..f1ecd65 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAnnotation.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAnnotation.tsx @@ -149,7 +149,7 @@ function JsonRowOpDialogAnnotation({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -158,7 +158,7 @@ function JsonRowOpDialogAnnotation({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -450,7 +450,7 @@ function JsonRowOpDialogAnnotation({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -459,7 +459,7 @@ function JsonRowOpDialogAnnotation({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAxis.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAxis.tsx index 12dddb8..6c72ad2 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAxis.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogAxis.tsx @@ -163,7 +163,7 @@ function JsonRowOpDialogAxis({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -172,7 +172,7 @@ function JsonRowOpDialogAxis({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -484,7 +484,7 @@ function JsonRowOpDialogAxis({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -493,7 +493,7 @@ function JsonRowOpDialogAxis({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogCommand.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogCommand.tsx index 51391b5..87ad720 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogCommand.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogCommand.tsx @@ -141,7 +141,7 @@ function JsonRowOpDialogCommand({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -150,7 +150,7 @@ function JsonRowOpDialogCommand({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -390,7 +390,7 @@ function JsonRowOpDialogCommand({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -399,7 +399,7 @@ function JsonRowOpDialogCommand({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogDatabase.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogDatabase.tsx index 3f99884..c10b997 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogDatabase.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogDatabase.tsx @@ -123,7 +123,7 @@ function JsonRowOpDialogDatabase({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -132,7 +132,7 @@ function JsonRowOpDialogDatabase({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -263,7 +263,7 @@ function JsonRowOpDialogDatabase({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -272,7 +272,7 @@ function JsonRowOpDialogDatabase({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogEditForm.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogEditForm.tsx index b1deb17..ec1cac5 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogEditForm.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogEditForm.tsx @@ -109,7 +109,7 @@ function JsonRowOpDialogEditForm({ {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } @@ -180,7 +180,7 @@ function JsonRowOpDialogEditForm({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -189,7 +189,7 @@ function JsonRowOpDialogEditForm({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -920,7 +920,7 @@ function JsonRowOpDialogEditForm({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogExtraFilter.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogExtraFilter.tsx index 8fabb7f..512a903 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogExtraFilter.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogExtraFilter.tsx @@ -100,7 +100,7 @@ function JsonRowOpDialogExtraFilter({ {error.toString()} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } @@ -158,7 +158,7 @@ function JsonRowOpDialogExtraFilter({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -167,7 +167,7 @@ function JsonRowOpDialogExtraFilter({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -310,7 +310,7 @@ function JsonRowOpDialogExtraFilter({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -319,7 +319,7 @@ function JsonRowOpDialogExtraFilter({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogPane.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogPane.tsx index 1c4565c..eb81d7b 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogPane.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogPane.tsx @@ -96,7 +96,7 @@ function JsonRowOpDialogPane({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -105,7 +105,7 @@ function JsonRowOpDialogPane({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -174,7 +174,7 @@ function JsonRowOpDialogPane({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -183,7 +183,7 @@ function JsonRowOpDialogPane({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSeries.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSeries.tsx index a5b1613..832bb09 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSeries.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSeries.tsx @@ -189,7 +189,7 @@ function JsonRowOpDialogSeries({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -198,7 +198,7 @@ function JsonRowOpDialogSeries({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -553,7 +553,7 @@ function JsonRowOpDialogSeries({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -562,7 +562,7 @@ function JsonRowOpDialogSeries({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSubForm.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSubForm.tsx index 770df14..5425f03 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSubForm.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogSubForm.tsx @@ -188,7 +188,7 @@ function JsonRowOpDialogSubForm({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -197,7 +197,7 @@ function JsonRowOpDialogSubForm({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -459,7 +459,7 @@ function JsonRowOpDialogSubForm({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogWidget.tsx b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogWidget.tsx index fd976f9..88945aa 100644 --- a/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogWidget.tsx +++ b/ui/src/views/admin/listForm/edit/json-row-operations/JsonRowOpDialogWidget.tsx @@ -119,7 +119,7 @@ function JsonRowOpDialogWidget({ {data.index === -1 ? 'Kayıt eklendi' : 'Kayıt güncellendi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) handleClose() } catch (error: any) { @@ -128,7 +128,7 @@ function JsonRowOpDialogWidget({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) @@ -442,7 +442,7 @@ function JsonRowOpDialogWidget({ try { await deleteListFormJsonRow(data.id, data.tabName, values.index) toast.push(Kayıt silindi , { - placement: 'top-end', + placement: 'bottom-end', }) handleClose() } catch (error: any) { @@ -451,7 +451,7 @@ function JsonRowOpDialogWidget({ Hata {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/listForm/wizard/Wizard.tsx b/ui/src/views/admin/listForm/wizard/Wizard.tsx index 2aca572..a6561b0 100644 --- a/ui/src/views/admin/listForm/wizard/Wizard.tsx +++ b/ui/src/views/admin/listForm/wizard/Wizard.tsx @@ -523,7 +523,7 @@ const Wizard = () => { {translate('::App.Listforms.WizardFileLoadError') || 'Failed to load wizard file.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setIsLoadingEditData(false) @@ -750,7 +750,7 @@ const Wizard = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } catch (err) { console.error(err) diff --git a/ui/src/views/admin/listForm/wizard/WizardFileManager.tsx b/ui/src/views/admin/listForm/wizard/WizardFileManager.tsx index adbb9b7..3da4a74 100644 --- a/ui/src/views/admin/listForm/wizard/WizardFileManager.tsx +++ b/ui/src/views/admin/listForm/wizard/WizardFileManager.tsx @@ -65,7 +65,7 @@ const WizardFileManager = () => { {translate('::App.Listforms.WizardFileLoadError') || 'Failed to load wizard files.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setLoading(false) @@ -88,7 +88,7 @@ const WizardFileManager = () => { {translate('::App.Listforms.WizardFileDeleteSuccess') || 'wizard file deleted successfully.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) await loadFiles() } catch (err: any) { @@ -97,7 +97,7 @@ const WizardFileManager = () => { {translate('::App.Listforms.WizardFileDeleteError') || 'Failed to delete wizard file.'}:{' '} {err?.message ?? 'Unknown error'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setDeletingFile(null) diff --git a/ui/src/views/admin/listForm/wizard/WizardStep1.tsx b/ui/src/views/admin/listForm/wizard/WizardStep1.tsx index 0035db5..2a91cf5 100644 --- a/ui/src/views/admin/listForm/wizard/WizardStep1.tsx +++ b/ui/src/views/admin/listForm/wizard/WizardStep1.tsx @@ -344,7 +344,7 @@ function MenuTreeInline({ onReload() setEditingCode(null) } catch (e: any) { - toast.push(, { placement: 'top-end' }) + toast.push(, { placement: 'bottom-end' }) } finally { setSaving(false) } @@ -363,7 +363,7 @@ function MenuTreeInline({ await menuService.delete(node.id) onReload() } catch (e: any) { - toast.push(, { placement: 'top-end' }) + toast.push(, { placement: 'bottom-end' }) } finally { setSaving(false) } diff --git a/ui/src/views/admin/notification/CreateNotification.tsx b/ui/src/views/admin/notification/CreateNotification.tsx index d2ac762..d6f11ed 100644 --- a/ui/src/views/admin/notification/CreateNotification.tsx +++ b/ui/src/views/admin/notification/CreateNotification.tsx @@ -50,7 +50,7 @@ function CreateNotification({ {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) onDialogClose() @@ -60,7 +60,7 @@ function CreateNotification({ {'Hata'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { diff --git a/ui/src/views/admin/organization-unit/OrganizationUnits.tsx b/ui/src/views/admin/organization-unit/OrganizationUnits.tsx index 8d089e4..15ece9d 100644 --- a/ui/src/views/admin/organization-unit/OrganizationUnits.tsx +++ b/ui/src/views/admin/organization-unit/OrganizationUnits.tsx @@ -226,7 +226,7 @@ const OrganizationUnits = () => { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -238,7 +238,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -295,7 +295,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -331,7 +331,7 @@ const OrganizationUnits = () => { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -342,7 +342,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -364,7 +364,7 @@ const OrganizationUnits = () => { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -375,7 +375,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -783,7 +783,7 @@ const OrganizationUnits = () => { Updated , { - placement: 'top-end', + placement: 'bottom-end', }, ) await fetchUsersAndRoles(activeOu) @@ -794,7 +794,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -854,7 +854,7 @@ const OrganizationUnits = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) await fetchUsersAndRoles(activeOu) @@ -865,7 +865,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -934,7 +934,7 @@ const OrganizationUnits = () => { {translate('::KayitSilindi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } catch (error) { @@ -943,7 +943,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -981,7 +981,7 @@ const OrganizationUnits = () => { {translate('::Abp.Identity.OrganizationUnit.MoveAllUsersMessage')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) await fetchUsersAndRoles(values.id) @@ -992,7 +992,7 @@ const OrganizationUnits = () => { Hata , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { diff --git a/ui/src/views/admin/profile/components/General.tsx b/ui/src/views/admin/profile/components/General.tsx index 3a108c3..47c3640 100644 --- a/ui/src/views/admin/profile/components/General.tsx +++ b/ui/src/views/admin/profile/components/General.tsx @@ -123,11 +123,11 @@ const General = () => { }) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } else { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } setSubmitting(false) diff --git a/ui/src/views/admin/profile/components/Password.tsx b/ui/src/views/admin/profile/components/Password.tsx index 0eb9612..48bdb1e 100644 --- a/ui/src/views/admin/profile/components/Password.tsx +++ b/ui/src/views/admin/profile/components/Password.tsx @@ -36,11 +36,11 @@ const Password = () => { const resp = await changePassword(values.password, values.newPassword) if (resp.status === 204) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } else { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } setSubmitting(false) diff --git a/ui/src/views/admin/role-management/Roles.tsx b/ui/src/views/admin/role-management/Roles.tsx index 2f268f8..2219802 100644 --- a/ui/src/views/admin/role-management/Roles.tsx +++ b/ui/src/views/admin/role-management/Roles.tsx @@ -47,7 +47,7 @@ const Roles = () => { toast.push( {}}>, { - placement: 'top-end', + placement: 'bottom-end', }, ) }} diff --git a/ui/src/views/admin/role-management/RolesPermission.tsx b/ui/src/views/admin/role-management/RolesPermission.tsx index aa21206..1da0bc6 100644 --- a/ui/src/views/admin/role-management/RolesPermission.tsx +++ b/ui/src/views/admin/role-management/RolesPermission.tsx @@ -16,6 +16,7 @@ import { getPermissions, getRoles, updatePermissions } from '@/services/identity import { useStoreActions, useStoreState } from '@/store' import { useLocalization } from '@/utils/hooks/useLocalization' import { ChangeEvent, useEffect, useMemo, useState } from 'react' +import { MULTIVALUE_DELIMITER } from '@/constants/app.constant' type OpenState = Record @@ -242,7 +243,7 @@ function RolesPermission({ if (!perm.menuGroup) return false const groups = typeof perm.menuGroup === 'string' - ? perm.menuGroup.split('|').map((g: string) => g.trim()) + ? perm.menuGroup.split(MULTIVALUE_DELIMITER).map((g: string) => g.trim()) : perm.menuGroup return groups.includes(tenantGroup) }) @@ -304,7 +305,7 @@ function RolesPermission({ await getConfig(false) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } @@ -509,14 +510,14 @@ function RolesPermission({ setPermissionList({ ...permissionList }) changeGroup(selectedGroup?.name) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) setCopyDialogOpen(false) setCopyDialogRole('') } catch (e) { console.error('Failed to copy permissions:', e) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } finally { setIsLoading(false) diff --git a/ui/src/views/admin/tenant-management/CreateTenantFromOrderDialog.tsx b/ui/src/views/admin/tenant-management/CreateTenantFromOrderDialog.tsx index 87c4f89..0904260 100644 --- a/ui/src/views/admin/tenant-management/CreateTenantFromOrderDialog.tsx +++ b/ui/src/views/admin/tenant-management/CreateTenantFromOrderDialog.tsx @@ -86,7 +86,7 @@ const CreateTenantFromOrderDialog = ({ {translate('::App.Platform.SaveSuccess') || 'Tenant kaydedildi'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) onDialogClose() @@ -101,7 +101,7 @@ const CreateTenantFromOrderDialog = ({ {message} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/admin/tenant-management/TenantsConnectionString.tsx b/ui/src/views/admin/tenant-management/TenantsConnectionString.tsx index 985d7f9..a1713dc 100644 --- a/ui/src/views/admin/tenant-management/TenantsConnectionString.tsx +++ b/ui/src/views/admin/tenant-management/TenantsConnectionString.tsx @@ -95,7 +95,7 @@ function TenantConnectionString({ {translate('::AbpTenantManagement.Tenants.ConnectionStringDeleted')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) onDialogClose() @@ -105,7 +105,7 @@ function TenantConnectionString({ {'Hata'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } @@ -128,7 +128,7 @@ function TenantConnectionString({ {translate('::AbpTenantManagement.Tenants.ConnectionStringSaved')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -139,7 +139,7 @@ function TenantConnectionString({ {'Hata'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -177,7 +177,7 @@ function TenantConnectionString({ {translate('::AbpTenantManagement.Tenants.DatabaseSeeded')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -194,7 +194,7 @@ function TenantConnectionString({ {errorMessage} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { diff --git a/ui/src/views/admin/user-management/Details.tsx b/ui/src/views/admin/user-management/Details.tsx index cf30c7d..7da0c6e 100644 --- a/ui/src/views/admin/user-management/Details.tsx +++ b/ui/src/views/admin/user-management/Details.tsx @@ -205,7 +205,7 @@ function UserDetails() { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) setOpen(false) @@ -216,7 +216,7 @@ function UserDetails() { {'Hata'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { @@ -296,7 +296,7 @@ function UserDetails() { (resp as { error?: { message?: string } })?.error?.message || 'Hata' toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -306,7 +306,7 @@ function UserDetails() { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -614,7 +614,7 @@ function UserDetails() { {translate('::Abp.Identity.User.SavePermission')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -725,7 +725,7 @@ function UserDetails() { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -907,7 +907,7 @@ function UserDetails() { {translate('::Kaydet')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -1265,7 +1265,7 @@ function UserDetails() { {translate('::Abp.Identity.User.SaveLockout')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -1773,7 +1773,7 @@ function UserDetails() { {translate('::Abp.Identity.User.ClaimDeleted')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) setConfirmDeleteClaim(null) getUser() diff --git a/ui/src/views/admin/user-management/UsersPermission.tsx b/ui/src/views/admin/user-management/UsersPermission.tsx index d8dff3e..a8f3f30 100644 --- a/ui/src/views/admin/user-management/UsersPermission.tsx +++ b/ui/src/views/admin/user-management/UsersPermission.tsx @@ -302,7 +302,7 @@ function UsersPermission({ await getConfig(false) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } diff --git a/ui/src/views/admin/videoroom/RoomDetail.tsx b/ui/src/views/admin/videoroom/RoomDetail.tsx index 1b87fbc..6f6d463 100644 --- a/ui/src/views/admin/videoroom/RoomDetail.tsx +++ b/ui/src/views/admin/videoroom/RoomDetail.tsx @@ -276,7 +276,7 @@ const RoomDetail = () => { if (!isActive) return toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) // State’e ekle @@ -361,7 +361,7 @@ const RoomDetail = () => { title={`Katılımcı ayrıldı: ${userName ?? 'Bilinmeyen'}`} type="warning" />, - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } @@ -437,7 +437,7 @@ const RoomDetail = () => { title="❌ Sınıf servisleri başlatılamadı. Bağlantınızı veya tarayıcı izinlerini kontrol edin." type="danger" />, - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } } @@ -478,7 +478,7 @@ const RoomDetail = () => { } catch (err) { console.error('Çıkış sırasında hata oluştu:', err) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) navigate(ROUTES_ENUM.protected.admin.videoroom.roomList) } @@ -501,7 +501,7 @@ const RoomDetail = () => { } catch (error) { console.error('Özel mesaj gönderilemedi:', error) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } else if (messageMode === 'announcement' && user.role === 'teacher') { @@ -516,7 +516,7 @@ const RoomDetail = () => { } catch (error) { console.error('Duyuru gönderilemedi:', error) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } else { @@ -531,7 +531,7 @@ const RoomDetail = () => { } catch (error) { console.error('Genel mesaj gönderilemedi:', error) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -555,7 +555,7 @@ const RoomDetail = () => { } catch (err) { console.error('Katılımcı susturulamadı:', err) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -618,7 +618,7 @@ const RoomDetail = () => { } catch (error) { console.error('Katılımcı atılamadı:', error) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } @@ -685,7 +685,7 @@ const RoomDetail = () => { } catch (error) { console.error('Ekran paylaşımı başlatılamadı:', error) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } diff --git a/ui/src/views/branch/BranchSeed.tsx b/ui/src/views/branch/BranchSeed.tsx index 892ac4d..95ab226 100644 --- a/ui/src/views/branch/BranchSeed.tsx +++ b/ui/src/views/branch/BranchSeed.tsx @@ -20,11 +20,11 @@ function BranchSeedContent({ id, name }: { id: string; name: string }) { if (data.success) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } else { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } catch (error) { @@ -36,7 +36,7 @@ function BranchSeedContent({ id, name }: { id: string; name: string }) { details: [], }) toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } finally { setIsLoading(false) diff --git a/ui/src/views/developerKit/ComponentCodeLayout.tsx b/ui/src/views/developerKit/ComponentCodeLayout.tsx index e3b7dd7..e11f78f 100644 --- a/ui/src/views/developerKit/ComponentCodeLayout.tsx +++ b/ui/src/views/developerKit/ComponentCodeLayout.tsx @@ -78,7 +78,7 @@ function ComponentCodeLayout() { Bileşen başarıyla kaydedildi. , { - placement: 'top-end', + placement: 'bottom-end', }, ) } diff --git a/ui/src/views/form/FormButtons.tsx b/ui/src/views/form/FormButtons.tsx index bc3e32d..22fc9e4 100644 --- a/ui/src/views/form/FormButtons.tsx +++ b/ui/src/views/form/FormButtons.tsx @@ -105,12 +105,12 @@ const FormButtons = (props: { {translate('::KayitSilindi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } catch (error: any) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } } diff --git a/ui/src/views/form/FormDevExpress.tsx b/ui/src/views/form/FormDevExpress.tsx index d802f79..a0e6afe 100644 --- a/ui/src/views/form/FormDevExpress.tsx +++ b/ui/src/views/form/FormDevExpress.tsx @@ -1,4 +1,4 @@ -import { DX_CLASSNAMES } from '@/constants/app.constant' +import { DX_CLASSNAMES, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { executeEditorScript } from '@/utils/editorScriptRuntime' import { Form as FormDx, @@ -445,7 +445,7 @@ const FormDevExpress = (props: { .flatMap((group) => flattenFormItems([group])) .filter((formItem) => shouldRunEditorScriptOnContentReady(formItem.editorScript)) .map((formItem) => formItem.dataField) - .join('|') + .join(MULTIVALUE_DELIMITER) if (!scriptFields) { return diff --git a/ui/src/views/form/useFormData.tsx b/ui/src/views/form/useFormData.tsx index 67d2686..43bd330 100644 --- a/ui/src/views/form/useFormData.tsx +++ b/ui/src/views/form/useFormData.tsx @@ -79,7 +79,7 @@ const useGridData = (props: { } } catch (error: any) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } finally { setLoading(false) @@ -113,7 +113,7 @@ const useGridData = (props: { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } else { @@ -151,7 +151,7 @@ const useGridData = (props: { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } else { @@ -160,7 +160,7 @@ const useGridData = (props: { } } catch (error: any) { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } finally { setLoading(false) diff --git a/ui/src/views/intranet/widgets/AnnouncementModal.tsx b/ui/src/views/intranet/widgets/AnnouncementModal.tsx index 0d61dcf..ef43909 100644 --- a/ui/src/views/intranet/widgets/AnnouncementModal.tsx +++ b/ui/src/views/intranet/widgets/AnnouncementModal.tsx @@ -15,7 +15,7 @@ import { AnnouncementCommentDto, AnnouncementDto } from '@/proxy/intranet/models import useLocale from '@/utils/hooks/useLocale' import { currentLocalDate } from '@/utils/dateUtils' import Avatar from '@/components/ui/Avatar/Avatar' -import { AVATAR_URL } from '@/constants/app.constant' +import { AVATAR_URL, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { intranetService } from '@/services/intranet.service' import dayjs from 'dayjs' import relativeTime from 'dayjs/plugin/relativeTime' @@ -121,7 +121,7 @@ function AnnouncementModalContent({ announcement, onClose, onLikeChange }: Annou announcementUser.fullName || [announcementUser.name, announcementUser.surname].filter(Boolean).join(' ') || '-' - const images = announcement.imageUrl ? announcement.imageUrl.split('|').filter(Boolean) : [] + const images = announcement.imageUrl ? announcement.imageUrl.split(MULTIVALUE_DELIMITER).filter(Boolean) : [] const attachments = Array.isArray(announcement.attachments) ? announcement.attachments : [] const category = announcement.category || 'general' diff --git a/ui/src/views/intranet/widgets/EventModal.tsx b/ui/src/views/intranet/widgets/EventModal.tsx index 3d2de65..966e81c 100644 --- a/ui/src/views/intranet/widgets/EventModal.tsx +++ b/ui/src/views/intranet/widgets/EventModal.tsx @@ -15,7 +15,7 @@ import { EventCommentDto, EventDto } from '@/proxy/intranet/models' import useLocale from '@/utils/hooks/useLocale' import { currentLocalDate } from '@/utils/dateUtils' import Avatar from '@/components/ui/Avatar/Avatar' -import { AVATAR_URL } from '@/constants/app.constant' +import { AVATAR_URL, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { intranetService } from '@/services/intranet.service' import dayjs from 'dayjs' import relativeTime from 'dayjs/plugin/relativeTime' @@ -34,7 +34,7 @@ interface EventModalProps { function EventModalContent({ event, onClose, onLikeChange }: EventModalProps) { const currentLocale = useLocale() - const photos = (event.photos || '').split('|').filter(Boolean) + const photos = (event.photos || '').split(MULTIVALUE_DELIMITER).filter(Boolean) const { translate } = useLocalization() const { isMaximized } = useDialogContext() diff --git a/ui/src/views/intranet/widgets/Events.tsx b/ui/src/views/intranet/widgets/Events.tsx index d449e31..f9ea957 100644 --- a/ui/src/views/intranet/widgets/Events.tsx +++ b/ui/src/views/intranet/widgets/Events.tsx @@ -6,7 +6,7 @@ import useLocale from '@/utils/hooks/useLocale' import { currentLocalDate } from '@/utils/dateUtils' import { useLocalization } from '@/utils/hooks/useLocalization' import { Avatar } from '@/components/ui' -import { AVATAR_URL } from '@/constants/app.constant' +import { AVATAR_URL, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { imageSrc } from './widgetUtils' import type { DashboardWidgetDefinition } from '../dashboardWidget' @@ -17,7 +17,7 @@ interface EventsProps { const getFirstPhoto = (photos?: string): string | null => { if (!photos) return null - const parts = photos.split('|').filter(Boolean) + const parts = photos.split(MULTIVALUE_DELIMITER).filter(Boolean) return parts.length > 0 ? parts[0] : null } diff --git a/ui/src/views/list/ChartDrawer.tsx b/ui/src/views/list/ChartDrawer.tsx index 93f6513..e5bc828 100644 --- a/ui/src/views/list/ChartDrawer.tsx +++ b/ui/src/views/list/ChartDrawer.tsx @@ -124,7 +124,7 @@ const ChartDrawer = ({ {translate('::App.Platform.ChartDrawer.ChartSaved')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) onClose() @@ -134,7 +134,7 @@ const ChartDrawer = ({ {translate('::App.Platform.Error')} {error} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/list/Grid.tsx b/ui/src/views/list/Grid.tsx index 4906d6b..8764160 100644 --- a/ui/src/views/list/Grid.tsx +++ b/ui/src/views/list/Grid.tsx @@ -345,7 +345,7 @@ const Grid = (props: GridProps) => { {translate('::ListForms.ListForm.GridStateSaved')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) }) @@ -355,7 +355,7 @@ const Grid = (props: GridProps) => { {translate('::ListForms.ListForm.GridStateSaveError')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) throw err @@ -713,7 +713,7 @@ const Grid = (props: GridProps) => { {e.error?.message} , { - placement: 'top-end', + placement: 'bottom-end', }, ) }, []) @@ -1414,7 +1414,7 @@ const Grid = (props: GridProps) => { {translate('::App.Common.ExportError') ?? 'Dışa aktarma sırasında hata oluştu.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } } @@ -1537,7 +1537,7 @@ const Grid = (props: GridProps) => { ))} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } gridRef.current?.instance()?.refresh() diff --git a/ui/src/views/list/GridFilterDialogs.tsx b/ui/src/views/list/GridFilterDialogs.tsx index 2ed59bd..b966d36 100644 --- a/ui/src/views/list/GridFilterDialogs.tsx +++ b/ui/src/views/list/GridFilterDialogs.tsx @@ -87,7 +87,7 @@ const GridFilterDialogs = (props: { {'Filter not found'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) return @@ -104,7 +104,7 @@ const GridFilterDialogs = (props: { {'Filter Saved'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -158,7 +158,7 @@ const GridFilterDialogs = (props: { {'Filter Deleted'} , { - placement: 'top-end', + placement: 'bottom-end', }, ) diff --git a/ui/src/views/list/PermissionGranted.tsx b/ui/src/views/list/PermissionGranted.tsx index ee39d78..f2b247f 100644 --- a/ui/src/views/list/PermissionGranted.tsx +++ b/ui/src/views/list/PermissionGranted.tsx @@ -1,5 +1,5 @@ import { Avatar, Button, Dialog, Notification, Spinner, Table, Tag, toast } from '@/components/ui' -import { AVATAR_URL } from '@/constants/app.constant' +import { AVATAR_URL, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { getPermissionGrantedUsers, PermissionGrantedUsersDto, @@ -68,7 +68,7 @@ const PermissionGranted = ({ !permissionActionSuffixes.some((suffix) => permissionName.endsWith(`.${suffix}`)), ) ?? toRootPermissionName(normalizedPermissionNames[0]) ) - }, [permissionNames.join('|')]) + }, [permissionNames.join(MULTIVALUE_DELIMITER)]) useEffect(() => { if (!isOpen) { @@ -97,7 +97,7 @@ const PermissionGranted = ({ {translate('::ListForms.ListForm.GrantedUsersErrorLoading')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setLoading(false) diff --git a/ui/src/views/list/Pivot.tsx b/ui/src/views/list/Pivot.tsx index d769313..c69d502 100644 --- a/ui/src/views/list/Pivot.tsx +++ b/ui/src/views/list/Pivot.tsx @@ -166,7 +166,7 @@ const Pivot = (props: PivotProps) => { {translate('::ListForms.ListForm.GridStateReset')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } }, [listFormCode, storageKey, clearPivotFilters, translate]) @@ -205,7 +205,7 @@ const Pivot = (props: PivotProps) => { {translate('::App.Common.ExportError') ?? 'Dışa aktarma sırasında hata oluştu.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } }, @@ -259,7 +259,7 @@ const Pivot = (props: PivotProps) => { {translate('::ListForms.ListForm.GridStateSaved')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }) .catch(() => { @@ -267,7 +267,7 @@ const Pivot = (props: PivotProps) => { {translate('::ListForms.ListForm.GridStateSaveError')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }) }, [customSaveState, translate]) diff --git a/ui/src/views/list/Tree.tsx b/ui/src/views/list/Tree.tsx index f9df011..da4652c 100644 --- a/ui/src/views/list/Tree.tsx +++ b/ui/src/views/list/Tree.tsx @@ -335,7 +335,7 @@ const Tree = (props: TreeProps) => { {translate('::ListForms.ListForm.GridStateSaved')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) }) @@ -345,7 +345,7 @@ const Tree = (props: TreeProps) => { {translate('::ListForms.ListForm.GridStateSaveError')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) throw err @@ -708,7 +708,7 @@ const Tree = (props: TreeProps) => { {e.error?.message} , { - placement: 'top-end', + placement: 'bottom-end', }, ) }, []) @@ -1189,7 +1189,7 @@ const Tree = (props: TreeProps) => { ))} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } gridRef.current?.instance()?.refresh() diff --git a/ui/src/views/list/useFilters.tsx b/ui/src/views/list/useFilters.tsx index e9c1aef..f3cd5be 100644 --- a/ui/src/views/list/useFilters.tsx +++ b/ui/src/views/list/useFilters.tsx @@ -605,7 +605,7 @@ const useFilters = ({ {error.message} , { - placement: 'top-end', + placement: 'bottom-end', }, ) } finally { diff --git a/ui/src/views/list/useToolbar.tsx b/ui/src/views/list/useToolbar.tsx index 7c99a95..b830ce2 100644 --- a/ui/src/views/list/useToolbar.tsx +++ b/ui/src/views/list/useToolbar.tsx @@ -36,7 +36,7 @@ const showWorkflowToastMessages = (results: WorkflowRunResultDto | WorkflowRunRe ))} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } @@ -171,7 +171,7 @@ const useToolbar = ({ {translate('::ListForms.ListForm.SelectRecord')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -186,7 +186,7 @@ const useToolbar = ({ {translate('::WorkflowAlreadyStarted')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -203,7 +203,7 @@ const useToolbar = ({ error?.message || 'Workflow baslatilamadi.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } }, @@ -230,7 +230,7 @@ const useToolbar = ({ {translate('::ListForms.ListForm.SelectRecord')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -251,7 +251,7 @@ const useToolbar = ({ {translate('::SeciliKayitBekliyor')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -358,7 +358,7 @@ const useToolbar = ({ {translate('::ListForms.ListForm.SelectRecord')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) return } @@ -404,7 +404,7 @@ const useToolbar = ({ error?.message || translate('::SilmeIslemiBasarisiz')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) }) }} @@ -473,7 +473,7 @@ const useToolbar = ({ {translate('::TumKayitlarSilindi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) @@ -751,7 +751,7 @@ function WorkflowApprovalDecisionDialog({ error?.message || 'Workflow karari verilemedi.'} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/menu/MenuItemComponent.tsx b/ui/src/views/menu/MenuItemComponent.tsx index 0535365..37e61bc 100644 --- a/ui/src/views/menu/MenuItemComponent.tsx +++ b/ui/src/views/menu/MenuItemComponent.tsx @@ -250,7 +250,7 @@ export const MenuItemComponent: React.FC = ({ ? translate('::KayitGuncellendi') : translate('::KayitEklendi')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) setIsModalOpen(false) refetch() @@ -260,7 +260,7 @@ export const MenuItemComponent: React.FC = ({ {translate('::IslemBasarisiz')} , - { placement: 'top-end' }, + { placement: 'bottom-end' }, ) } finally { setSubmitting(false) diff --git a/ui/src/views/public/About.tsx b/ui/src/views/public/About.tsx index ea21c63..0dbec22 100644 --- a/ui/src/views/public/About.tsx +++ b/ui/src/views/public/About.tsx @@ -737,7 +737,7 @@ const About: FC = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) diff --git a/ui/src/views/public/Home.tsx b/ui/src/views/public/Home.tsx index 57f20d4..0110890 100644 --- a/ui/src/views/public/Home.tsx +++ b/ui/src/views/public/Home.tsx @@ -881,7 +881,7 @@ const Home: React.FC = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) diff --git a/ui/src/views/public/Services.tsx b/ui/src/views/public/Services.tsx index ab944bb..544ce8d 100644 --- a/ui/src/views/public/Services.tsx +++ b/ui/src/views/public/Services.tsx @@ -863,7 +863,7 @@ const Services: React.FC = () => { {translate('::ListForms.FormBilgileriKaydedildi')} , { - placement: 'top-end', + placement: 'bottom-end', }, ) diff --git a/ui/src/views/settings/Settings.tsx b/ui/src/views/settings/Settings.tsx index 85de773..98bb087 100644 --- a/ui/src/views/settings/Settings.tsx +++ b/ui/src/views/settings/Settings.tsx @@ -13,7 +13,7 @@ import { toast, } from '@/components/ui' import Notification from '@/components/ui/Notification' -import { APP_NAME } from '@/constants/app.constant' +import { APP_NAME, MULTIVALUE_DELIMITER } from '@/constants/app.constant' import { MainGroupedSettingDto } from '@/proxy/settings/models' import { getList, updateSettingValues } from '@/services/setting-ui.service' import { useStoreActions, useStoreState } from '@/store' @@ -78,12 +78,12 @@ const Settings = () => { type="success" />, { - placement: 'top-end', + placement: 'bottom-end', }, ) } else { toast.push(, { - placement: 'top-end', + placement: 'bottom-end', }) } //getConfig değiştiriliyor. @@ -172,7 +172,7 @@ const Settings = () => { {subGroup.settings.map((setting) => ( diff --git a/ui/src/views/shared/MenuAddDialog.tsx b/ui/src/views/shared/MenuAddDialog.tsx index 46628cf..a8bf07c 100644 --- a/ui/src/views/shared/MenuAddDialog.tsx +++ b/ui/src/views/shared/MenuAddDialog.tsx @@ -208,7 +208,7 @@ export function MenuAddDialog({ }) onClose() } catch (e: any) { - toast.push(, { placement: 'top-end' }) + toast.push(, { placement: 'bottom-end' }) } finally { setSaving(false) }