From 9d1f3001e8aa48b2ba4583745661924e423c2a39 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Sun, 31 May 2026 13:17:38 +0800 Subject: [PATCH] feat(model-editor): enhance ModelEditorDialog with connection test and improved layout Added a connection test button in the ModelEditorDialog for remote sources, allowing users to verify API connectivity before saving. Improved the layout by restructuring the source selection section and updating the styling for better usability. Enhanced the drawer component with a customizable header and resizable width, improving the overall user experience. Updated localization files to reflect new UI elements and labels. --- frontend/src/components/ModelEditorDialog.vue | 759 ++++++++++++------ .../credentials/CredentialResource.vue | 372 +++++++-- .../src/components/settings/SettingDrawer.vue | 296 ++++++- frontend/src/i18n/locales/en-US.ts | 9 +- frontend/src/i18n/locales/ko-KR.ts | 9 +- frontend/src/i18n/locales/ru-RU.ts | 9 +- frontend/src/i18n/locales/zh-CN.ts | 9 +- 7 files changed, 1132 insertions(+), 331 deletions(-) diff --git a/frontend/src/components/ModelEditorDialog.vue b/frontend/src/components/ModelEditorDialog.vue index 1091d01b..e2a34fc6 100644 --- a/frontend/src/components/ModelEditorDialog.vue +++ b/frontend/src/components/ModelEditorDialog.vue @@ -1,244 +1,311 @@