You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zi...@apache.org on 2026/06/16 09:03:59 UTC

(dolphinscheduler) branch dev updated: [Improvement-18354][UI] Change the description field to optional (#18355)

This is an automated email from the ASF dual-hosted git repository.

SbloodyS pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new c6dbc8989a [Improvement-18354][UI] Change the description field to optional (#18355)
c6dbc8989a is described below

commit c6dbc8989aa0a189b175d9b054e59134209c4d0d
Author: suyc <su...@sina.com>
AuthorDate: Tue Jun 16 17:03:52 2026 +0800

    [Improvement-18354][UI] Change the description field to optional (#18355)
    
    Co-authored-by: xiangzihao <46...@qq.com>
---
 .../environment-manage/components/environment-modal.tsx       |  4 +---
 .../views/security/environment-manage/components/use-modal.ts | 11 -----------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx b/dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx
index 1b9d54f5b1..b645305ceb 100644
--- a/dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx
+++ b/dolphinscheduler-ui/src/views/security/environment-manage/components/environment-modal.tsx
@@ -128,9 +128,7 @@ const EnvironmentModal = defineComponent({
           show={this.showModalRef}
           onCancel={this.cancelModal}
           onConfirm={this.confirmModal}
-          confirmDisabled={
-            !this.model.name || !this.model.config || !this.model.description
-          }
+          confirmDisabled={!this.model.name || !this.model.config}
           confirmClassName='btn-submit'
           cancelClassName='btn-cancel'
           confirmLoading={this.saving}
diff --git a/dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts b/dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts
index 08beb4a3f7..0d8ce8c74a 100644
--- a/dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts
+++ b/dolphinscheduler-ui/src/views/security/environment-manage/components/use-modal.ts
@@ -60,17 +60,6 @@ export function useModal(
             return new Error(t('security.environment.environment_config_tips'))
           }
         }
-      },
-      description: {
-        required: true,
-        trigger: ['input', 'blur'],
-        validator() {
-          if (variables.model.description === '') {
-            return new Error(
-              t('security.environment.environment_description_tips')
-            )
-          }
-        }
       }
     }
   })