-
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
fix(ui): v3 UI tweaks #4933
fix(ui): v3 UI tweaks #4933
Conversation
Signed-off-by: Alex Collins <alex_collins@intuit.com>
<Button outline={true} onClick={() => setStage('full-editor')}> | ||
Edit using full workflow options | ||
</Button> | ||
<a onClick={() => setStage('full-editor')}> |
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.
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.
changed for consistency
@@ -176,7 +176,13 @@ export const WorkflowDetails = ({history, location, match}: RouteComponentProps< | |||
const retryWatch = new RetryWatch<Workflow>( | |||
() => services.workflows.watch({name, namespace}), | |||
() => setError(null), | |||
e => setWorkflow(e.object), | |||
e => { |
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.
@@ -142,6 +142,11 @@ const WorkflowNodeSummary = (props: Props) => { | |||
<i className='fa fa-bars' /> main logs | |||
</DropDownButton> | |||
)}{' '} | |||
{props.node.type === 'Pod' && props.onShowEvents && ( |
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.
@@ -263,6 +270,7 @@ export const WorkflowDetails = ({history, location, match}: RouteComponentProps< | |||
{parsedSidePanel.type === 'logs' && ( | |||
<WorkflowLogsViewer workflow={workflow} nodeId={parsedSidePanel.nodeId} container={parsedSidePanel.container} archived={false} /> | |||
)} | |||
{parsedSidePanel.type === 'events' && <EventsPanel namespace={namespace} kind='Pod' name={parsedSidePanel.nodeId} />} |
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.
@@ -366,11 +377,6 @@ export const WorkflowNodeInfo = (props: Props) => ( | |||
</div> | |||
) | |||
}, | |||
props.node.type === 'Pod' && { |
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.
removed this tab
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
Signed-off-by: Alex Collins alex_collins@intuit.com
Checklist: