nauu opened a new pull request #1471: [Feature] Improve user experience in datasource page URL: https://github.com/apache/incubator-dolphinscheduler/pull/1471 ## What is the purpose of the pull request For #1470 . To improve user experience in datasource page, add default port for each type database. 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. ## Brief change log - *Edit createDataSource.vue* ## Verify this pull request - *Manually verified the change by testing locally.*
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
