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 unnecessary subnav for parent jobs #17190

Merged

Conversation

philrenaud
Copy link
Contributor

Allocations, Evaluations, and Services don't exist for parents of child jobs, but we show their menu items anyway. This adds a check to see if the job has children, and if so, hides the relevant nav. "Clients" is also swept up on this, and is a redundant check, but that's fine.

Resolves #17189

@github-actions
Copy link

github-actions bot commented May 15, 2023

Ember Asset Size action

As of 96dde00

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +214 B +58 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented May 15, 2023

Ember Test Audit comparison

main 96dde00 change
passes 1496 1492 -4
failures 4 4 0
flaky 0 0 0
duration 000ms 000ms -000ms

Copy link
Contributor

@ChaiWithJai ChaiWithJai left a comment

Choose a reason for hiding this comment

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

LGTM

@philrenaud philrenaud merged commit 955fcab into main May 16, 2023
5 checks passed
@philrenaud philrenaud deleted the 17189-ui-parent-jobs-should-not-have-certain-subnav-items branch May 16, 2023 20:07
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.

[ui] Parent jobs (periodic, parameterized) should not have certain subnav items
2 participants