From b8ade54e85422a0a4236f88542cd75d638eff28a Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Fri, 21 Mar 2025 17:38:15 +0900 Subject: [PATCH] [bugfix] Config Page: AdvancedSettings: Add save button to Entry components. Add error handlings. --- .../_components/_atoms/_entry/_Entry.jsx | 2 +- .../EntryWithSaveButton.jsx | 32 +++++++++++ .../EntryWithSaveButton.module.scss | 30 ++++++++++ .../setting_box/_components/index.js | 1 + .../setting_box/_templates/Templates.jsx | 4 ++ .../advanced_settings/AdvancedSettings.jsx | 57 ++++++++++--------- src-ui/logics/_useBackendErrorHandling.js | 20 +++++-- .../advanced_settings/useOscIpAddress.js | 9 +++ .../configs/advanced_settings/useOscPort.js | 9 +++ .../configs/translation/useDeepLAuthKey.js | 18 ++++-- src-ui/logics/useReceiveRoutes.js | 9 ++- 11 files changed, 153 insertions(+), 38 deletions(-) create mode 100644 src-ui/app/config_page/setting_section/setting_box/_components/entry_with_save_button/EntryWithSaveButton.jsx create mode 100644 src-ui/app/config_page/setting_section/setting_box/_components/entry_with_save_button/EntryWithSaveButton.module.scss diff --git a/src-ui/app/config_page/setting_section/setting_box/_components/_atoms/_entry/_Entry.jsx b/src-ui/app/config_page/setting_section/setting_box/_components/_atoms/_entry/_Entry.jsx index d9b0d4cb..641e7104 100644 --- a/src-ui/app/config_page/setting_section/setting_box/_components/_atoms/_entry/_Entry.jsx +++ b/src-ui/app/config_page/setting_section/setting_box/_components/_atoms/_entry/_Entry.jsx @@ -24,7 +24,7 @@ const _Entry = forwardRef((props, ref) => {