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

Changes to clarify the Job completions table column data #7738

Closed
wants to merge 1 commit into from

Conversation

sg00dwin
Copy link
Member

@sg00dwin sg00dwin commented Jan 6, 2021

https://bugzilla.redhat.com/show_bug.cgi?id=1902003 was opened regarding “Incorrect” sorting of the Job Completions column. The column data is sorting correctly on desired {completions} but the content is presented as {succeeded} of {completions} (eg 1 of 1) . When sorted descending order, the following visually looks incorrect listed as, 2 of 20, 3 of 8, 1 of 1.
To alleviate this confusion I suggest we include stack the Desired {completions} above Succeeded {job.status.succeeded || 0}.

Screen Shot 2021-01-06 at 3 36 41 PM

Screen Shot 2021-01-06 at 3 32 54 PM

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sg00dwin
To complete the pull request process, please assign rhamilto after the PR has been reviewed.
You can assign the PR to them by writing /assign @rhamilto in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the component/core Related to console core functionality label Jan 6, 2021
@@ -85,7 +85,8 @@ const JobTableRow: RowFunction<JobKind> = ({ obj: job, index, key, style }) => {
</TableData>
<TableData className={tableColumnClasses[3]}>
<Link to={`/k8s/ns/${job.metadata.namespace}/jobs/${job.metadata.name}/pods`} title="pods">
{job.status.succeeded || 0} of {completions}
<div>Desired {completions}</div>
Copy link
Member

Choose a reason for hiding this comment

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

Both lines need i18n.

@sg00dwin
Copy link
Member Author

sg00dwin commented Jan 7, 2021

@rhamilto closing this pr and opened #7760

@sg00dwin sg00dwin closed this Jan 7, 2021
@sg00dwin sg00dwin deleted the quickstart-sidebar branch June 15, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/core Related to console core functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants