Commit Graph

491 Commits

Author SHA1 Message Date
Michael Lange
6578b36efb Use the new breadcrumbs pattern in all job templates 2018-07-06 11:12:11 -07:00
Michael Lange
771ad072fa Use the new breadcrumbs pattern on the clients loading page 2018-07-06 11:12:11 -07:00
Michael Lange
0e3701d799 Add breadcrumbs to jobs routes 2018-07-06 11:12:11 -07:00
Michael Lange
da61ab2282 Recompute breadcrumbs when a model changes but the current route does not
Example: parent job to child job navigation
2018-07-06 11:12:11 -07:00
Michael Lange
e38cff670f Support promise proxies as breadcrumbs 2018-07-06 11:12:11 -07:00
Michael Lange
e513f9236f Apply new breadcrumbs pattern to servers and clients 2018-07-06 11:12:11 -07:00
Michael Lange
dd6f12696f New breadcrumb service and component for describing breadcrumbs in routes
Works by segmenting the currentRouteName from the router service
and walking over each route in the current hierarchy to collect crumbs.
2018-07-06 11:12:10 -07:00
Michael Lange
313b5bc8a8 Acceptance test for jobs from different namespaces on a single client 2018-07-06 10:50:22 -07:00
Michael Lange
fc0e723d75 A test to assert the bug 2018-07-05 13:49:27 -07:00
Michael Lange
877910208f Don't put namespace logic in the catch-all buildQuery method 2018-07-05 12:29:29 -07:00
Michael Lange
566c5843de Remove unused findAllocations method in both job and node
This was replaced with a relationship at some point.
2018-07-05 11:25:38 -07:00
Michael Lange
38034733f7 Remove unused job adapter method 2018-07-05 11:25:38 -07:00
Michael Lange
95dc5da201 Add an env var to toggle blockingQueries support
Mostly helpful when working with mirage
2018-07-05 11:18:09 -07:00
Michael Lange
0a0b7ec164 Merge pull request #4416 from hashicorp/b-ui-flaky-alloc-detail-test
UI: Actually ensure that the allocation relies on an unhealthy driver
2018-06-15 11:30:10 -07:00
Michael Lange
a71dd95a37 Actually ensure that the allocation relies on an unhealthy driver 2018-06-13 16:33:47 -07:00
Michael Lange
8f811d5046 Remove hacky code that worked around an Ember Data bug
The bug is fixed in 2.18, so this can be written in the normal
less surprising way.
2018-06-13 15:05:18 -07:00
Michael Lange
c63f8c4b6b Dasherize task names in factory
This is to avoid test failures due to url encoding mismatches
2018-06-13 15:04:31 -07:00
Michael Lange
1fff37adca Style tasks on the alloc index page like other tables of things 2018-06-07 11:31:06 -07:00
Michael Lange
9f5cc8db40 Merge pull request #4388 from hashicorp/f-ui-show-deployment-deadline
UI: Show deployment deadline for each task group in the running deployment
2018-06-07 08:55:53 -07:00
Michael Lange
73ce773e11 Show the progress deadline for task groups in a running deployment 2018-06-06 17:35:18 -07:00
Michael Lange
d69e77e4fd Add new property to factory 2018-06-06 17:34:50 -07:00
Michael Lange
89fa0da5da Make task rows clickable.
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Michael Lange
002d2fb8eb Remove test for removed behavior 2018-06-04 16:40:55 -07:00
Michael Lange
b44e828aa6 Use the network ip as the task address instead of the node ip 2018-06-04 15:34:16 -07:00
Michael Lange
400ca29ac9 Merge pull request #4353 from hashicorp/f-ui-node-drain
UI: Node drain and eligibility
2018-05-30 14:40:21 -07:00
Michael Lange
83e0b10451 Account for the 0 case in format-duration 2018-05-30 14:30:45 -07:00
Michael Lange
d5cbcc6ab2 Merge pull request #4335 from hashicorp/b-ui-safari-log-streaming
UI: Use polling instead of streaming for following logs in Safari
2018-05-30 11:36:03 -07:00
Michael Lange
9aabe13b46 New traits for node states 2018-05-30 11:27:21 -07:00
Michael Lange
03aee6f270 Acceptance testing for node drain information 2018-05-30 11:27:21 -07:00
Michael Lange
d649f6245f Display node drain strategy information on the client detail page 2018-05-30 11:27:21 -07:00
Michael Lange
4d00f2f46d Duration formatting utility
The cloest Moment.js has is "homanize" which isn't precise enough.
2018-05-30 11:27:21 -07:00
Michael Lange
c949b4acd3 Color-code node drain and eligibility in the full client list
This makes it easier to scan for interesting nodes
2018-05-30 11:27:21 -07:00
Michael Lange
df81f316af Add drain and eligibility to the client details strip 2018-05-30 11:27:21 -07:00
Michael Lange
bb855b5f21 Add ineligibility to the status light 2018-05-30 11:27:21 -07:00
Michael Lange
c193a1dc4a Update the clients list table to include drain and eligibility
This makes it match the CLI node status output
2018-05-30 11:27:20 -07:00
Michael Lange
6b63576c15 Data modeling for node drain and scheduling eligibility 2018-05-30 11:27:20 -07:00
Michael Lange
20bc6e45c5 Merge pull request #4319 from hashicorp/b-ui-errant-acl-error
UI: XHR keys need to include the method as well
2018-05-25 12:24:17 -07:00
Michael Lange
32df9a6fea Merge pull request #4339 from hashicorp/ui-change-stop-button-style
UI: Switch the stop button style to look mildly dangerous
2018-05-25 12:18:16 -07:00
Michael Lange
d178825484 Merge pull request #4294 from hashicorp/f-ui-driver-health-checking
UI: Driver health checking
2018-05-25 12:00:11 -07:00
Michael Lange
f79ce60eba Switch the stop button to be mildly dangerous 2018-05-25 11:56:32 -07:00
Michael Lange
930a6ead53 Tag node events with the driver when available 2018-05-25 11:48:49 -07:00
Michael Lange
23c4ec89f8 New badge modifiers 2018-05-25 11:48:18 -07:00
Michael Lange
c875d1490f Display driver attributes without the superfluous driver and driver name section 2018-05-25 10:15:25 -07:00
Michael Lange
37a235c2af Acceptance tests for node driver and node events 2018-05-25 10:15:24 -07:00
Michael Lange
9b45d35e8f Disable visibility behaviors when testing
It results in surprise behaviors.
2018-05-25 10:15:24 -07:00
Michael Lange
c32738e774 NodeEvent and NodeDriver modeling in Mirage 2018-05-25 10:15:24 -07:00
Michael Lange
7539ea739b Add driver warning to allocation rows 2018-05-25 10:15:24 -07:00
Michael Lange
6c44b6da9d Fix narrow table column padding 2018-05-25 10:15:24 -07:00
Michael Lange
d4ab1a2387 Show a warning on task rows on the alloc detail page
The warning shows up when the task's driver is unhealthy on the node
the task is running on.
2018-05-25 10:15:24 -07:00
Michael Lange
1a55f18085 Spread the driver health love throughout job models 2018-05-25 10:15:23 -07:00