Commit Graph

474 Commits

Author SHA1 Message Date
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
Michael Lange
8fa044a52a Add driver status accordion section to the client detail page 2018-05-25 10:15:23 -07:00
Michael Lange
53244e2462 New accordion component
Follows the same style as the table and pagination components.
2018-05-25 10:15:23 -07:00
Michael Lange
a022b618f4 Show a warning icon on client node rows that have unhealthy drivers 2018-05-25 10:15:23 -07:00
Michael Lange
76caeb5083 Add a node events section to the node detail page 2018-05-25 10:15:22 -07:00
Michael Lange
d2810bbaf4 Show driver summary on the client detail page 2018-05-25 10:15:22 -07:00
Michael Lange
bc6467c6ae Data modeling for node events and node drivers 2018-05-25 10:15:22 -07:00
Michael Lange
a7eca16864 Remove stale dev code
This was used to get around direct requests to clients. The UI will
now automatically route through the server.
2018-05-25 10:14:36 -07:00
Michael Lange
e8bbd0fb0b Refactor the job xhrKey to use super 2018-05-25 09:15:45 -07:00
Michael Lange
f160f70f04 Add a test to assert that canceling GETs can't instead cancel DELETEs 2018-05-25 09:13:18 -07:00
Michael Lange
73aa3aa957 XHR keys need to include the method as well
The URL alone doesn't guarantee uniqueness
2018-05-25 09:13:11 -07:00
Michael Lange
65adc3857f The stream logger should not be supported in Safari
Not until the bugs around https are worked out.
2018-05-24 18:16:43 -07:00
Michael Lange
ab49b7a235 The poll logger needs to handle empty frames. 2018-05-24 18:16:42 -07:00
Michael Lange
1f83916058 Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07:00
Michael Lange
c35e7f69fe Merge pull request #4254 from hashicorp/f-ui-ss-restart-tracking
UI: Server-side reschedule tracking
2018-05-10 16:17:02 -07:00
Michael Lange
f92d3641aa Merge pull request #4201 from hashicorp/f-ui-fuzzy-job-search
UI: fuzzy and tokenized job search
2018-05-05 09:56:15 -07:00
Michael Lange
4f260e29df Clean up computed property by inverting early return 2018-05-04 20:38:55 -07:00
Michael Lange
94df7bc46a Integration tests for the various reschedule events timeline permutations 2018-05-04 19:36:55 -07:00