-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Added task links to various alloc tables #14592
Conversation
Ember Asset Size actionAs of b1eac60 Files that got Bigger 🚨:
Files that stayed the same size 🤷:
|
Ember Test Audit comparison
|
{{!-- TODO: in-page logs --}} | ||
{{!-- <FlightIcon @name="logs" /> --}} |
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.
(very temporary) placeholder: covered in #14579
@@ -0,0 +1,76 @@ | |||
import Ember from 'ember'; |
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.
All of this is largely ported from task-row
, but updated to a glimmer component.
&.with-collapsed-borders { | ||
border-collapse: collapse; | ||
} |
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.
@@ -174,7 +174,7 @@ | |||
] | |||
}, | |||
"dependencies": { | |||
"@hashicorp/ember-flight-icons": "^2.0.5", | |||
"@hashicorp/ember-flight-icons": "^2.0.12", |
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.
Updated to include logs icon
{{!-- TODO: in-page logs --}} | ||
{{!-- <FlightIcon @name="logs" /> --}} |
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.
nit
: Did you mean to commit this?
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.
Yes, commented here: #14592 (review)
constructor() { | ||
super(...arguments); | ||
// Kick off stats polling | ||
const allocation = this.task.allocation; | ||
if (allocation) { | ||
this.fetchStats.perform(); | ||
} else { | ||
this.fetchStats.cancelAll(); | ||
} | ||
} |
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.
question
will this stop polling when the component unmounts?
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.
Yep; inherited from our other stats fetchers, like task-row. On unmount, or even on hide, this will stop its stats polling.
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Resolves #14578
Adds a quicker way to dive a level or two deeper into Nomad via the UI, by optionally listing tasks beneath their parent allocations in four places:
In all cases, toggling sets a localStorage property for future usage.