-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: UI enhancement for Cluster Workflow Template #2525
Conversation
Co-Authored-By: Simon Behar <simbeh7@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #2525 +/- ##
=======================================
Coverage 11.17% 11.17%
=======================================
Files 83 83
Lines 32599 32599
=======================================
Hits 3642 3642
Misses 28458 28458
Partials 499 499 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.
Some initial comments on this PR
@@ -0,0 +1,162 @@ | |||
# Cluster Workflow Templates |
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.
Not sure why this needs to be an entire new doc, especially since it's mostly copy/paste from the other doc. Could you please integrate the new information found here to docs/workflow-templates.md
?
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 initially thought of adding a section in workflow-template.md
. But after I saw workflow-template.md
which is very focused on explaining workflow-template
and also it has a lot of information. It would be better to have it as a separate file and simply focus on one thing cluster-workflow-template
. It has a link to workflow-template.md
so Users can go to workflow-template
information.
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.
Sure, sounds good 🙂
@@ -27,6 +30,7 @@ const routes: { | |||
} = { | |||
[workflowsUrl]: {component: workflows.component}, | |||
[workflowTemplatesUrl]: {component: workflowTemplates.component}, | |||
[clusterWorkflowTemplatesUrl]: {component: clusterWorkflowTemplates.component}, |
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.
Should this be under the WorkflowTempaltes
tab instead of its own tab? I'm not sure either way. Why do you think it should be its own?
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 posted my feedback on slack for UI changes. I had a discussion with @alexmt to have a tab on-page to switch between workflow-template
and cluster-workflow-template
. It requires a lot of refactoring on UI module. He suggested having a separate page will be a clean way and also it is easy to implement. I do agree with that. I don't want to overload the workflow-template
page with multiple options.
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.
Good point. I agree with this.
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.
Good point, agreed.
...rc/app/archived-workflows/components/archived-workflow-filters/archived-workflow-filters.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/archived-workflows/components/archived-workflow-list/archived-workflow-list.tsx
Outdated
Show resolved
Hide resolved
...kflow-templates/components/cluster-workflow-template-list/cluster-workflow-template-list.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/workflow-templates/components/workflow-template-list/workflow-template-list.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/workflows/components/workflow-node-info/workflow-node-info.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.
Just one more comment regarding the doc. Also make sure to run make lint
; the CI is not catching that.
|
||
`WorkflowTemplate` documentation [link](./workflow-template.md) | ||
|
||
## Defining `ClusterWorkflowTemplate` |
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.
One example here should be enough. Don't want to add too much redundant information
@@ -0,0 +1,162 @@ | |||
# Cluster Workflow Templates |
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.
Sure, sounds good 🙂
@@ -27,6 +30,7 @@ const routes: { | |||
} = { | |||
[workflowsUrl]: {component: workflows.component}, | |||
[workflowTemplatesUrl]: {component: workflowTemplates.component}, | |||
[clusterWorkflowTemplatesUrl]: {component: clusterWorkflowTemplates.component}, |
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.
Good point, agreed.
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
. feat: UI enhancement for Cluster Workflow Template #2525