-
Notifications
You must be signed in to change notification settings - Fork 158
Patched the workflow's GUI with backend #4676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Could you add some system tests that take the workflow from start to finish through the gui? They will be essential to maintenance and consistency as this component is developed. I know getting Capybara to work the gui and checking the pixel positions of the display will be a bit of work, but that will be the starting point of all future tests on workflows so will be worth it in the long run. |
That is actually in plan, will discuss with Jeff on how can we have a end-to-end test as we will need scheduler to see if scripts executed in order expected. |
|
This seems pretty good, still need to write a few individual scripts to see if the submission and running piece is working as expected, but it looks like I can no longer delete edges. Could you see if this happens on your end as well? |
It is working as expected, there is one thing that is needed on edge is a UI wrapper, so when the mouse pointer is close it gets highlighted or increase the select range. Right now, the mouse needs to be exactly on top of edge. I have fixed this in UI pull request and rebased this branch with that, so should work seamlessly now. |
a90a6dc to
27a2ff4
Compare
Added feature to restore from backend metadata and check authenticity based upon when it was saved Added zoom to metadata, tested rigorously
27a2ff4 to
e52ca16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks pretty good (besides one spelling error shown in the CI), but I am still confused on all the things 'stitching with backend' should entail. For example I can't submit workflows and have that trigger multiple jobs (it only runs the first one) but in the next PR we are already reporting on the job status of each node? Could you clear up what this code enables us to do beyond storing and reloading workflows (which it does quite well)
|
In testing this further I caught another bug, which is that if you get impatient and select the submit button twice (before confirmation message) then you end up submitting two workflows. I think all of the new buttons here that depend on backend actions should disable while it waits for a response and then re-enable once the action has finished. |
|
I rebased my test setup with the code from this github repo. But I am still not seeing the issue of other task not running except just first. Can you please share your |
|
It will show something like this, where the highlighted part shows the order in which individual launchers are executed. Also make sure that your backend has following files - (commit b51c1a6) |
|
Sorry this was my bad, the launchers were failing because they didn't have the account set, which makes me realize we probably want a place for global launcher settings, but that's besides the point. Fixing that launcher issue allowed the workflow to run in its entirety. |
|
Alright np, I have fixed the double click issue. |
|
I removed "status" parameter from json, as it wasn't used and neither needed for JS to get information around if the fetch request was processed or not. While |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to go (will leave it unmerged until the end of the day again in case Jeff wants to weigh in).
I did discover an bug where clicking edit on a launcher (possibly other launcher buttons too) and then clicking the browser back button breaks the workflow javascript and shows a blank canvas. Clicking the rendered back button on the edit page takes you back to the project show page, so the browser back button is currently the only way to directly return to the workflow graph.
Anyway I am happy to merge this now and get this fixed in the next one considering the bug lies in the UI and not the backend, just wanted to get this on your radar.
|
Oh yes I know that bug, will keep it in my list and fix it afterwards. |





Workflows Epic Link - #4338
UI Pull Request - #4604
This is how new UI looks like:
