I create  an issue 
https://github.com/apache/incubator-dolphinscheduler/issues/1470 
<https://github.com/apache/incubator-dolphinscheduler/issues/1470> , and ready 
to start.


[email protected]
zhukai/nauu ygsoft




> On Dec 13, 2019, at 10:34 AM, nauu <[email protected]> wrote:
> 
> Hi:
>       I’d like to improve user experience in datasource page, add default 
> port for each type database, because the default port of the database usually 
> dosen't change. 
> 
>       For now,  we don’t have any default value, when user create a 
> datasource ,they must input over and over again, even if the port has not 
> changed.
> 
>       My plan is as follows:
> 
>       1. When create or edit datasource, there is a default vaule for port. 
> If user changes type, the default value changes.
>        2. Use local variables in browser memory, to cache user previous input 
> port for each type. For example :
>             time-a:  MySQL default  port is 3306 , user change 3306 to 4000.
>              time-b:  User change type from MySQL to ClickHouse , the port 
> change  from 4000 to 8123.
>              time-c:  User change type from ClickHouse back to MySQL,the port 
> change from 8123 to 4000,use previous input cache to fillback.
> 
>        3. In edit datasource page, when the page first loads, use the query 
> value fillback instead of default value.
> 
> 
> 
> 
> [email protected]
> zhukai/nauu ygsoft
> 
> 
> 

Reply via email to