-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: clickable links in allocations chart on job overview page
- Loading branch information
1 parent
febcd5e
commit 60140c5
Showing
12 changed files
with
196 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
<JobPage::Parts::Body @job={{this.job}}> | ||
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} /> | ||
|
||
<JobPage::Parts::Error | ||
@errorMessage={{this.errorMessage}} | ||
@onDismiss={{action "clearErrorMessage"}} | ||
/> | ||
<JobPage::Parts::Title @job={{this.job}} @handleError={{action "handleError"}} /> | ||
|
||
<JobPage::Parts::StatsBox @job={{this.job}} /> | ||
|
||
<JobPage::Parts::Summary @job={{this.job}} /> | ||
|
||
<JobPage::Parts::Summary @job={{this.job}} @gotoAllocations={{this.gotoAllocations}} /> | ||
<JobPage::Parts::PlacementFailures @job={{this.job}} /> | ||
|
||
<JobPage::Parts::TaskGroups | ||
@job={{this.job}} | ||
@sortProperty={{this.sortProperty}} | ||
@sortDescending={{this.sortDescending}} | ||
@gotoTaskGroup={{this.gotoTaskGroup}} /> | ||
|
||
@gotoTaskGroup={{this.gotoTaskGroup}} | ||
/> | ||
<JobPage::Parts::RecentAllocations @job={{this.job}} /> | ||
|
||
<JobPage::Parts::Meta @job={{this.job}} /> | ||
</JobPage::Parts::Body> | ||
</JobPage::Parts::Body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<JobPage::Parts::Body @job={{this.job}}> | ||
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} /> | ||
|
||
<JobPage::Parts::Error | ||
@errorMessage={{this.errorMessage}} | ||
@onDismiss={{action "clearErrorMessage"}} | ||
/> | ||
<JobPage::Parts::Title @job={{this.job}} @handleError={{action "handleError"}}> | ||
<span class="tag is-hollow">Parameterized</span> | ||
<span class="tag is-hollow"> | ||
Parameterized | ||
</span> | ||
</JobPage::Parts::Title> | ||
|
||
<JobPage::Parts::StatsBox @job={{this.job}} /> | ||
|
||
<JobPage::Parts::Summary @job={{this.job}} /> | ||
<JobPage::Parts::Summary @job={{this.job}} @gotoAllocations={{this.gotoAllocations}} /> | ||
<JobPage::Parts::Children | ||
@job={{this.job}} | ||
@sortProperty={{this.sortProperty}} | ||
@sortDescending={{this.sortDescending}} | ||
@currentPage={{this.currentPage}} | ||
@gotoJob={{this.gotoJob}} /> | ||
|
||
@gotoJob={{this.gotoJob}} | ||
/> | ||
<JobPage::Parts::Meta @job={{this.job}} /> | ||
</JobPage::Parts::Body> | ||
</JobPage::Parts::Body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,48 @@ | ||
<JobPage::Parts::Body @job={{this.job}}> | ||
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} /> | ||
|
||
<JobPage::Parts::Title @job={{this.job}} @title={{this.job.trimmedName}} @handleError={{action "handleError"}} /> | ||
|
||
<JobPage::Parts::Error | ||
@errorMessage={{this.errorMessage}} | ||
@onDismiss={{action "clearErrorMessage"}} | ||
/> | ||
<JobPage::Parts::Title | ||
@job={{this.job}} | ||
@title={{this.job.trimmedName}} | ||
@handleError={{action "handleError"}} | ||
/> | ||
<JobPage::Parts::StatsBox @job={{this.job}}> | ||
<:before-namespace> | ||
<span class="pair" data-test-job-stat="parent"> | ||
<span class="term">Parent</span> | ||
<LinkTo @route="jobs.job" @model={{this.job.parent}} @query={{hash namespace=this.job.parent.namespace.name}}> | ||
<span class="term"> | ||
Parent | ||
</span> | ||
<LinkTo | ||
@route="jobs.job" | ||
@model={{this.job.parent}} | ||
@query={{hash namespace=this.job.parent.namespace.name}} | ||
> | ||
{{this.job.parent.name}} | ||
</LinkTo> | ||
</span> | ||
</:before-namespace> | ||
</JobPage::Parts::StatsBox> | ||
|
||
{{#if this.job.hasClientStatus}} | ||
<JobPage::Parts::JobClientStatusSummary | ||
@gotoClients={{this.gotoClients}} | ||
@job={{this.job}} | ||
@jobClientStatus={{this.jobClientStatus}} | ||
/> | ||
{{/if}} | ||
|
||
<JobPage::Parts::Summary @job={{this.job}} @forceCollapsed={{this.job.hasClientStatus}} /> | ||
|
||
<JobPage::Parts::Summary | ||
@job={{this.job}} | ||
@gotoAllocations={{this.gotoAllocations}} | ||
@forceCollapsed={{this.job.hasClientStatus}} | ||
/> | ||
<JobPage::Parts::PlacementFailures @job={{this.job}} /> | ||
|
||
<JobPage::Parts::TaskGroups | ||
@job={{this.job}} | ||
@sortProperty={{this.sortProperty}} | ||
@sortDescending={{this.sortDescending}} | ||
@gotoTaskGroup={{this.gotoTaskGroup}} /> | ||
|
||
@gotoTaskGroup={{this.gotoTaskGroup}} | ||
/> | ||
<JobPage::Parts::RecentAllocations @job={{this.job}} /> | ||
|
||
<JobPage::Parts::Meta @job={{this.job}} /> | ||
</JobPage::Parts::Body> | ||
</JobPage::Parts::Body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
<JobPage::Parts::Body @job={{this.job}}> | ||
<JobPage::Parts::Error @errorMessage={{this.errorMessage}} @onDismiss={{action "clearErrorMessage"}} /> | ||
|
||
<JobPage::Parts::Title @job={{this.job}} @title={{this.job.trimmedName}} @handleError={{action "handleError"}}> | ||
<span class="tag is-hollow">periodic</span> | ||
<button data-test-force-launch class="button is-warning is-small is-inline" onclick={{action "forceLaunch"}} type="button">Force Launch</button> | ||
<JobPage::Parts::Error | ||
@errorMessage={{this.errorMessage}} | ||
@onDismiss={{action "clearErrorMessage"}} | ||
/> | ||
<JobPage::Parts::Title | ||
@job={{this.job}} | ||
@title={{this.job.trimmedName}} | ||
@handleError={{action "handleError"}} | ||
> | ||
<span class="tag is-hollow"> | ||
periodic | ||
</span> | ||
<button | ||
data-test-force-launch | ||
class="button is-warning is-small is-inline" | ||
onclick={{action "forceLaunch"}} | ||
type="button" | ||
> | ||
Force Launch | ||
</button> | ||
</JobPage::Parts::Title> | ||
|
||
<JobPage::Parts::StatsBox @job={{this.job}}> | ||
<:after-namespace> | ||
<span class="pair" data-test-job-stat="cron"> | ||
<span class="term">Cron</span> | ||
<span class="term"> | ||
Cron | ||
</span> | ||
{{this.job.periodicDetails.Spec}} | ||
</span> | ||
</:after-namespace> | ||
</JobPage::Parts::StatsBox> | ||
|
||
<JobPage::Parts::Summary @job={{this.job}} /> | ||
<JobPage::Parts::Summary @job={{this.job}} @gotoAllocations={{this.gotoAllocations}} /> | ||
<JobPage::Parts::Children | ||
@job={{this.job}} | ||
@sortProperty={{this.sortProperty}} | ||
@sortDescending={{this.sortDescending}} | ||
@currentPage={{this.currentPage}} | ||
@gotoJob={{this.gotoJob}} /> | ||
|
||
@gotoJob={{this.gotoJob}} | ||
/> | ||
<JobPage::Parts::Meta @job={{this.job}} /> | ||
</JobPage::Parts::Body> | ||
</JobPage::Parts::Body> |
Oops, something went wrong.