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

fix(ui): v3 UI tweaks #4933

Merged
merged 1 commit into from
Jan 22, 2021
Merged

fix(ui): v3 UI tweaks #4933

merged 1 commit into from
Jan 22, 2021

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Jan 22, 2021

Signed-off-by: Alex Collins alex_collins@intuit.com

Checklist:

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')}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

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 => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When the workflow is deleted, we get a message and we still show the workflow itself:

image

@@ -142,6 +142,11 @@ const WorkflowNodeSummary = (props: Props) => {
<i className='fa fa-bars' /> main logs
</DropDownButton>
)}{' '}
{props.node.type === 'Pod' && props.onShowEvents && (
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved events next to logs:

image

@@ -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} />}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Node events now appear is a much more spacious side-panel:

image

@@ -366,11 +377,6 @@ export const WorkflowNodeInfo = (props: Props) => (
</div>
)
},
props.node.type === 'Pod' && {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed this tab

@alexec alexec marked this pull request as ready for review January 22, 2021 19:37
@alexec alexec requested a review from simster7 January 22, 2021 19:37
Copy link
Member

@rbreeze rbreeze left a comment

Choose a reason for hiding this comment

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

LGTM

@alexec alexec merged commit 9d4edae into argoproj:master Jan 22, 2021
@alexec alexec deleted the ui-events branch January 22, 2021 21:44
This was referenced Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants