dapaas / datagraft

4 stars 1 forks source link

Forward and back browser buttons mess up workflow #46

Open bcouston opened 9 years ago

bcouston commented 9 years ago

After selecting to create a new transformation (https://datagraft.net/pages/transformations/new.jsp), navigating back to the upload page (https://datagraft.net/pages/publish/) and then forward again to https://datagraft.net/pages/transformations/new.jsp results in the workflow distorting, resulting in copied transformations (image 1) and eternally loading pages in the process (image 2). screen shot 2015-09-04 at 14 08 48 screen shot 2015-09-04 at 14 08 53

(BUG)

Tested in Chrome 44.0.2403.12 on Mac OSX Yosemite

bcouston commented 9 years ago

Also, if the user navigates backwards while creating a pipeline function, the pop up window stays open. Attempting to select an option from the vertical tab list doesn't execute anything. This combined with #44 can result in the user being unable to navigate from the pop up window without doing a page refresh.

fungiboletus commented 9 years ago

I'm not really sure if we can fix this issue with the current implementation. We use a a state machine that works well outside datagraft.net, but once it's integrated inside datagraft and you play with the back button, it looks like the states are somehow lost in the process.

Using a more advanced integration we can remove this bug but I am not sure if we should do it.