-
Notifications
You must be signed in to change notification settings - Fork 23
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
Orchestrator: Workflow runs #166
Conversation
Changed Packages
|
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.
Works nicely, just a few comments. Thank you :-)
workspaces/orchestrator/plugins/orchestrator/src/components/OrchestratorPage.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/OrchestratorPage.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowPage.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContentFiltered.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContentFiltered.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContentFiltered.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowPage.tsx
Outdated
Show resolved
Hide resolved
e1afd19
to
b51fee4
Compare
b51fee4
to
8897e33
Compare
Signed-off-by: Lior Soffer <[email protected]>
Hey, thank you for the detailed notes ,working on fixing them all :) |
workspaces/orchestrator/plugins/orchestrator/src/hooks/usePolling.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Lior Soffer <[email protected]>
@LiorSoffer |
@LiorSoffer |
@ShiranHi PTAL in the PR |
@LiorSoffer could you please provide a screen recording of the flow? A screenshot isn’t very helpful in this case. Thanks :) |
@LiorSoffer |
...ns/orchestrator/src/components/WorkflowDefinitionViewerPage/WorkflowDefinitionViewerPage.tsx
Show resolved
Hide resolved
@ShiranHi screen recording added :) |
@LiorSoffer looks good. We need to remove the Category column, and increase the ID column width |
Signed-off-by: Lior Soffer <[email protected]>
3277e4f
to
f7c1f52
Compare
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowInstancePage.tsx
Outdated
Show resolved
Hide resolved
.../orchestrator/plugins/orchestrator/src/components/WorkflowPage/WorkflowDetailsTabContent.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/hooks/usePolling.ts
Outdated
Show resolved
Hide resolved
...ces/orchestrator/plugins/orchestrator/src/components/WorkflowPage/WorkflowPageTabContent.tsx
Show resolved
Hide resolved
...ces/orchestrator/plugins/orchestrator/src/components/WorkflowPage/WorkflowPageTabContent.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx
Outdated
Show resolved
Hide resolved
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowPage/WorkflowPage.tsx
Outdated
Show resolved
Hide resolved
@LiorSoffer Well done! |
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Lior Soffer <[email protected]>
This is how the ID looks now @ShiranHi |
@LiorSoffer that's great! One small note, can we bring closer the last two columns to the Status column? It will be nice to keep the same padding between all of the columns |
We can make status, duration and started take less space, but we can't garantuee the same padding |
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowsTabContent.tsx
Outdated
Show resolved
Hide resolved
@mareklibra |
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.
I left just nitpicks, it's up to your decision whether fixing them.
workflowOverviewDTO, | ||
}: Props) => { | ||
const { workflowId, format } = useRouteRefParams(workflowRouteRef); | ||
const workflowFormat = useMemo( |
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.
nitpick (no need to fix): since both the json
and yaml
are string constants, avoiding the useMemo() will perform faster, it will no effect on re-render at the line 56.
</Grid> | ||
<Grid item> | ||
<InfoCard title="Workflow definition"> | ||
<div style={{ height: '600px' }}> |
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.
we should use useStyle()
instead
loading, | ||
error, | ||
} = useAsync(() => { | ||
return orchestratorApi.getWorkflowOverview(workflowId); |
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.
nitpick (no need to fix):
return orchestratorApi.getWorkflowOverview(workflowId); | |
useAsync(() => orchestratorApi.getWorkflowOverview(workflowId)) |
Signed-off-by: Lior Soffer <[email protected]>
resolve FLPATH-1042
Screencast.from.2024-12-16.16-51-29.mp4