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

ui: remove redundant columns from child job table #17645

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Jun 21, 2023

Namespace, job type, and priority are already available from the parent job header, so displaying them in the table caused it to be too crowded.

(Extracted from #17301 as a user-facing change)

lgfa29 added 2 commits June 21, 2023 17:30
Namespace, job type, and priority are already available from the parent
job header, so displaying them in the table caused it to be too crowded.
@github-actions
Copy link

github-actions bot commented Jun 21, 2023

Ember Test Audit comparison

main fb0e6bd change
passes 1476 1478 +2
failures 0 0 0
flaky 0 0 0
duration 11m 07s 804ms 11m 27s 648ms +19s 844ms

<td data-test-job-priority>
{{this.job.priority}}
</td>
{{#if (not (eq @context "child"))}}
Copy link
Contributor

Choose a reason for hiding this comment

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

I was about to suggest {{#unless (eq @context "child")}} but it turns out that's not recommended: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/simple-unless.md

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, for some reason I find unless really confusing so I tend to avoid it 😅

@lgfa29 lgfa29 merged commit a29048b into main Jun 22, 2023
@lgfa29 lgfa29 deleted the f-ui-simplify-child-job-row branch June 22, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants