-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat: Support for dynamic and nested workflows. #326
Conversation
progress progress progress Saving progress on bounds mapping progress progress progress - nested positions working progress, nested click working - checking nested-nested-nested probably want to revert this nvm moving ahead, saving before wiring up to props progress, good rollback point Progress Progress - top level parents now rendering children Nested view works for any level, now working to add click events progress progress progress progress progress progress progress pre refactor checkin Progress progress progress progress progress
Signed-off-by: Nastya Rusina <[email protected]>
@@ -77,13 +85,30 @@ export const getWorkflowId = (workflow: CompiledWorkflow): string => { | |||
return workflow.template.id.name; | |||
}; | |||
|
|||
export const createWorkflowNodeFromDynamic = dw => { | |||
// workflowNode: WorkflowNode |
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.
nit: remove comment
src/server.tsx
Outdated
@@ -28,6 +28,7 @@ export default function serverRenderer({ | |||
const isDev = env === 'development'; | |||
const isProd = env === 'production'; | |||
let html = ''; | |||
console.log('init server:'); |
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.
nit: remove log
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.
Unit test fix is needed
Signed-off-by: Jason Porter <[email protected]>
Signed-off-by: Jason Porter <[email protected]>
Signed-off-by: Jason Porter <[email protected]>
Signed-off-by: Jason Porter <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #326 +/- ##
==========================================
- Coverage 66.43% 64.89% -1.54%
==========================================
Files 390 390
Lines 8746 8990 +244
Branches 1571 1626 +55
==========================================
+ Hits 5810 5834 +24
- Misses 2936 3156 +220
Continue to review full report at Codecov.
|
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.
LGtm
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.
Lgtm
# [0.44.0](http://github.com/lyft/flyteconsole/compare/v0.43.0...v0.44.0) (2022-03-14) ### Bug Fixes * long node-id obscures task type ([#308](http://github.com/lyft/flyteconsole/issues/308)) ([50b5ef5](http://github.com/lyft/flyteconsole/commit/50b5ef51951301fb828ee0cf6f5bfc6cb1546920)) ### Features * Support for dynamic and nested workflows. ([#326](http://github.com/lyft/flyteconsole/issues/326)) ([5cd1ca5](http://github.com/lyft/flyteconsole/commit/5cd1ca57e9f5d64db96a1ebe9f8a19c1c14743fc))
🎉 This PR is included in version 0.44.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This change includes support for a number of tickets including both dynamic workflows as well as support for n-depth nested workflows. Additionally, this release includes a version update of React Flow. While this is currently built against a React Flow pre-release version we will be updating once the major version (10.0.0) is released in the near future.
Includes:
Type
Are all requirements met?
Complete description
Includes React Flow pre-release
10.0.0-next.30
as the new version supports nested graphs (read: subworkflows). More can be found here: https://github.com/wbkd/react-flowTracking Issues
https://github.com/flyteorg/flyteconsole/issues/297
https://github.com/flyteorg/flyteconsole/issues/295
https://github.com/flyteorg/flyteconsole/issues/301
Follow-up issue
NA