-
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
Resume Signal Form #622
Resume Signal Form #622
Conversation
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
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.
Left some clean-up feedback, but haven't smoke tested yet.
One more item to think of - we use 3 different names for launch form trigger resumeOnClick
, resumeAction
, handleActionClick
, let's pick one (maybe a different one) and stick to it, to improve search-ability of these blocks in future
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormHeader.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/types.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/useResumeFormState.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeSignalForm.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormActions.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormActions.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/constants.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeForm.tsx
Outdated
Show resolved
Hide resolved
...sole/src/components/Executions/contextProvider/NodeExecutionDetails/createExecutionArray.tsx
Outdated
Show resolved
Hide resolved
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.
Don't forget to include flyteidl
update in this PR - ignore for now, looks like v1.1.22 doesn't have gate nodes
packages/zapp/console/src/components/Launch/LaunchForm/types.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/useResumeFormState.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormHeader.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormActions.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeFormDialog.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
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.
Almost there - few nits in the comments, let's move string from constants.ts file to a newly created localization strings.ts (more info in unresolved comments) in the LaunchForm folder, and rename resumeAction/resumeOnClick/handleActionClick with the same name!
packages/zapp/console/src/components/Launch/LaunchForm/useResumeFormState.ts
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeForm.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeSignalForm.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/LaunchFormDialog.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/LaunchFormDialog.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
Signed-off-by: James <[email protected]>
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.
Nice job! Few tiny things left, and don't forget to checkout package.json
s you accidentally committed 😃
packages/zapp/console/src/components/Executions/Tables/NodeExecutionActions.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/LaunchInterruptibleInput.tsx
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeForm.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeSignalForm.tsx
Outdated
Show resolved
Hide resolved
packages/zapp/console/src/components/Launch/LaunchForm/ResumeSignalForm.tsx
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## devmain #622 +/- ##
===========================================
+ Coverage 67.35% 67.57% +0.21%
===========================================
Files 398 447 +49
Lines 9296 10648 +1352
Branches 1590 1831 +241
===========================================
+ Hits 6261 7195 +934
- Misses 3035 3453 +418
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: James <[email protected]>
@olga-union I've fixed your comments. Just FYI, the flyteidl version is not yet updated because if it points to 1.1.14, it fails to build as Still working on |
https://github.com/flyteorg/flyteconsole/issues/587
TL;DR
Type
Are all requirements met?
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
fixes https://github.com/flyteorg/flyteconsole/issues/587