very good, I'm so glad to see that you can think from a user perspective.
Best Regards --------------- DolphinScheduler(Incubator) PPMC Lidong Dai 代立冬 [email protected] --------------- nauu <[email protected]> 于2020年1月2日周四 下午12:02写道: > The issue is here: > https://github.com/apache/incubator-dolphinscheduler/issues/1675 < > https://github.com/apache/incubator-dolphinscheduler/issues/1675> > > > [email protected] > zhukai/nauu ygsoft > > > > > > On Jan 2, 2020, at 11:47 AM, nauu <[email protected]> wrote: > > > > Hi: > > I’d like to improve the user experience in the task definition > page. This idea is come from #1524, although this bug may have been fixed, > I think it is still necessary to add a feature to cache previous input. > > > > My plan is as follows: > > > > step 1, I’ll create an issue to track the task, and split into > multiple subtasks, such as flink、python and so on. > > step 2, I’ll define the architecture (include actions.js, > dag.vue,formModel.vue,mutations.js, and state.js) and implement one of the > tasks , such as http.vue. > > step 3, Anyone who is interested in this, can reply to the issue > and implement the rest of them, such as python.vue, Flink.vue and so on. > > > > The main ideas for doing this are as follows: > > > > 1. Define a variable for cache in state.js, and also support the > method in mutations.js and actions.js > > 2. Watch the global input in formModel.vue, when the value changes > cache them, when the from initial fillback the previous values. > > 3. Implement each task form, just like http.vue, python.vue and > so on. Define the cache params and watching theirs change > > > > > > > > > > [email protected] > > zhukai/nauu ygsoft > > > > > > [email protected] > > zhukai/nauu ygsoft > > > > > > > >
