WeBankFinTech / DataSphereStudio

DataSphereStudio is a one stop data application development& management portal, covering scenarios including data exchange, desensitization/cleansing, analysis/mining, quality measurement, visualization, and task scheduling.
https://github.com/WeBankFinTech/DataSphereStudio-Doc
Apache License 2.0
3.04k stars 999 forks source link

[Feature] Optimization of Table Creation Wizard Verification Rules #1079

Closed wxyn closed 1 year ago

wxyn commented 1 year ago

Search before asking

Problem Description

  1. Table Creation Wizard - Step 1: When there is an issue with the user's submission of table creation information (such as missing required items or incorrect information), there is currently room for optimization in the current logic; When the user fills in the table information incorrectly, only one error will be prompted. Users cannot obtain all solutions at once, which affects them. When a user enters a table name that starts with a number, they will be prompted with information such as "starting with a letter...", but when they click on a blank area, the prompt disappears; For users, if they do not receive immediate error feedback, it can be optimized to click on a blank area, and the error information will still be retained;
  2. Table Creation Wizard - Step 2: The detailed field information of the table lacks basic logical verification, resulting in incorrect table creation logic (such as the same field name), and the task can still be submitted normally. Errors can only be verified after the task is submitted. Original path: Field duplication ->Submit ->Task execution ->Error reporting; Expected path: duplicate fields ->verification of validation items during submission, submission failed;
  3. Return to Table Creation Wizard Step 1 from Table Creation Wizard Step 2: The originally selected database name information is missing and needs to be re selected, which increases operating costs for users; It is necessary to add the function of database information memory to cover the repeated operations when users modify the basic information of the table multiple times during table creation.

Description

Table Creation Wizard - Step 1: If multiple verification items are not filled in, all required items that are not filled in will prompt an error Click on the blank area, and the error message will still be retained;

Table Creation Wizard - Step 2:

  1. Add verification rules: Unique field name; Field names cannot be pure numbers;
  2. When the user's input information does not comply with the above rules, a prompt "Verification item failed, please check and submit" will pop up, and the submission fails. The table creation task will not run;

Return to Table Creation Wizard Step 1 from Table Creation Wizard Step 2: After the user returns to the "previous step" from the second step, the database information increases the memory of the user's previous selection;

Use case

No response

solutions

No response

Anything else

No response

Are you willing to submit a PR?

zqburde commented 1 year ago

Add it in DSS1.1.2