You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by nauu <bo...@qq.com> on 2019/12/13 02:34:16 UTC
[Proposal] Improve user experience in datasource page
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.
boness@qq.com
zhukai/nauu ygsoft
Re: [Proposal] Improve user experience in datasource page
Posted by nauu <bo...@qq.com>.
I create an issue https://github.com/apache/incubator-dolphinscheduler/issues/1470 <https://github.com/apache/incubator-dolphinscheduler/issues/1470> , and ready to start.
boness@qq.com
zhukai/nauu ygsoft
> On Dec 13, 2019, at 10:34 AM, nauu <bo...@qq.com> 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.
>
>
>
>
> boness@qq.com
> zhukai/nauu ygsoft
>
>
>