Skip to content
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): add history to WorkflowTemplate & ClusterWorkflowTemplate details #13452

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

panicboat
Copy link
Contributor

@panicboat panicboat commented Aug 12, 2024

Fixes #13282

I didn't have the authority to reopen the #13283, so I am creating a new one.

Motivation

As indicated in the Issue, it is inconvenient that the history is not visible in the WorkflowTemplate details.
CronWorkflow can see it, so I would like to see consistency.

Modifications

WorkflowTemplate

image
image
image
image

No history

image
image
image
image

ClusterWorkflowTemplate

image
image
image
image

No history

image
image
image
image

Verification

  • no data
  • Only the relevant Workflow is displayed in the execution history, even if there are multiple WorkflowTemplates.
  • Displayed with no problem even with multiple data.

@panicboat panicboat force-pushed the panicboat/add-details-list branch 2 times, most recently from 9c7ffce to e00afbf Compare August 12, 2024 06:29
@panicboat panicboat marked this pull request as ready for review August 12, 2024 06:46
@panicboat panicboat changed the title feat(ui): add history to WorkflowTemplate & ClusterWorkflowTemplate details. feat: add history to WorkflowTemplate & ClusterWorkflowTemplate details. Aug 12, 2024
Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see #13283 (comment)

@agilgur5 agilgur5 changed the title feat: add history to WorkflowTemplate & ClusterWorkflowTemplate details. feat(ui): add history to WorkflowTemplate & ClusterWorkflowTemplate details Aug 13, 2024
@agilgur5 agilgur5 self-assigned this Aug 13, 2024
@agilgur5 agilgur5 added this to the v3.6.0 milestone Aug 13, 2024
Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks much better and simpler.
I left one correction of a comment below. The other comments are more for future consideration.
Otherwise LGTM, nice work 🙂

setWorkflows(workflowList.items);
setColumns(workflowsInfo.columns);
})();
}, []);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we may want to consider adding name as a hook dep in the array here, but this is identical to cron-workflow-details.tsx right now, so this is fine.

Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the one remaining correction myself, so LGTM now

@agilgur5 agilgur5 enabled auto-merge (squash) August 14, 2024 15:14
@agilgur5 agilgur5 merged commit 282a0d3 into argoproj:main Aug 14, 2024
16 checks passed
@panicboat panicboat deleted the panicboat/add-details-list branch August 19, 2024 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Add execution history to WorkflowTemplate & ClusterWorkflowTemplate details
2 participants