Buck Doyle
2152d57df3
UI: Add IPv6 bracket-wrapping to network serializer ( #6007 )
...
This addresses the issue raised by @pznamensky in #5966 .
2019-07-30 16:58:01 -05:00
Buck Doyle
e91f74d368
UI: Remove unused route ( #5925 )
...
This is an extraneous addition from #4612 .
2019-07-23 14:48:39 -05:00
Buck Doyle
1147fd6278
UI: Remove ember-native-dom-helpers ( #5959 )
...
This also includes migration of some tests to async.
2019-07-23 14:40:32 -05:00
Buck Doyle
87d716ed0b
UI: Add page titles ( #5924 )
...
This uses ember-page-title to add dynamic page titles throughout the
route hierarchy. When there’s more than one region, the current
current region is added before the final entry of “- Nomad”.
2019-07-17 15:02:58 -05:00
Buck Doyle
596b5aaf7e
UI: Add copy button for client/allocation UUIDs ( #5926 )
...
The button shows a success icon and tooltip on click, and resets
after two seconds.
2019-07-15 12:14:32 -05:00
Buck Doyle
e68709f9f1
Add Mirage-toggling via environment variable ( #5899 )
...
I’m finding myself having to revert my change to this
variable when I switch branches, so this would let me
affect the variable without code changes.
2019-07-02 08:58:43 -05:00
Michael Lange
35c45e61ca
Account for the search icon within the is-compact modifer
2019-06-27 12:32:26 -07:00
Buck Doyle
e6814c08af
Add ember-qunit-nice-errors ( #5869 )
...
This shows the entire assertion that’s failing. This is
especially useful in combination with page objects.
For an assertion like this:
assert.equal(PageLayout.flashMessages.length, 1)
The failure displayed normally is just “failed” with the
expected of 1 and the result of undefined. With this addon,
the expected and result remain the same, but “failed” is
replaced with the text of the assertion.
The typical way to address this is to supply the optional
final argument to the assertion function that customises the
failure message. That still works with this addon, but most
of the time it becomes unnecessary.
2019-06-21 14:12:28 -05:00
Michael Lange
ece0c9038d
Give the allTheThings scenario a better name
2019-06-19 17:18:43 -07:00
Michael Lange
8920650990
New Mirage scenario for puppeteer script to use
2019-06-19 17:18:40 -07:00
Buck Doyle
237c40698b
Update client list to combine statuses ( #5789 )
...
The draining, eligibility, and status fields now all show under a combined
state column. Draining takes precedence, then (in)eligibility; if neither of
those is true, the status displays.
2019-06-19 10:11:17 -07:00
Buck Doyle
6c0080a252
Change sort arrow to pass through pointer events ( #5833 )
...
Without this, clicking on the sort arrow didn’t change the
sort direction.
2019-06-13 16:14:35 -05:00
Michael Lange
afa5f4dc0e
Include the _ prefix separator in both regexes
...
And include all prefix types in the test data
2019-05-21 14:20:40 -07:00
Michael Lange
20028361c1
Use the TwoStepButton page object for integration testing too
2019-05-21 09:24:19 -07:00
Michael Lange
d33f4bfd49
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -07:00
Michael Lange
a301e0f079
Restart a single task from the task detail page
2019-05-21 09:24:18 -07:00
Michael Lange
01a3450c08
Don't cancel watchers when transitioning to a sub-route
2019-05-21 09:24:18 -07:00
Michael Lange
3a8334e720
Watch the next allocation on the allocation index page
2019-05-21 09:24:17 -07:00
Michael Lange
69c6c34afa
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
64b4bf6546
Add stop and restart buttons to the allocation index page
2019-05-21 09:24:16 -07:00
Michael Lange
4038434603
Allocation methods for stopping and restarting
2019-05-21 09:24:16 -07:00
Michael Lange
b33ff625db
New with-headroom modifier for titles
2019-05-21 09:24:15 -07:00
Michael Lange
b41af1c67a
Add cancel on click outside and disabled behaviors to two-step-button
2019-05-21 09:24:14 -07:00
Michael Lange
203b54b246
Move addToPath to its own util
2019-05-20 11:52:47 -07:00
Michael Lange
3c1de2df91
Standardize on Abort over Cancel
2019-05-20 11:08:16 -07:00
Michael Lange
c68962078a
Replace the adapter cancellation methods with a cancellation token system
2019-05-20 10:29:22 -07:00
Buck Doyle
caa410a64f
Merge pull request #5715 from hashicorp/b-precommit-linting
...
Restore precommit linting
2019-05-15 16:44:19 -05:00
Buck Doyle
b1656d0e2d
Restore precommit linting
...
The two pairs of quotes were causing no files to match.
2019-05-15 14:48:16 -05:00
Buck Doyle
3782919a48
Change clients/jobs facets to always right-align
...
This changes the templates so the element that contains
the search box is always present, instead hiding only
the box itself when there’s nothing to search. Keeping
the empty element lets it take up its flexbox space so
the facets will no longer be in the centre.
2019-05-15 13:25:30 -05:00
Michael Lange
f88c4d7648
Fixed flaky client-detail test
...
Since one allocation is preempted, the alloc factory creates a new alloc
that wasn't guaranteed to be running. When it is the first alloc row in
the table, then the alloc row detail test fails because non-running
allocs don't have metrics. The fix was to manually update all the alloc
clientStatuses.
2019-05-09 10:26:55 -07:00
Conor Mongey
aa4c1288f3
Return a htmlSafe string rather than use triple curlies
2019-05-02 21:47:24 +01:00
Conor Mongey
d2323e0cb8
Converts ANSI terminal codes to HTML in logs
2019-05-02 21:47:23 +01:00
Michael Lange
4166a715fb
Updated serializer unit tests
2019-04-22 17:20:52 -07:00
Michael Lange
d092723f89
Test coverage for preemption on the client detail page
2019-04-22 16:40:10 -07:00
Michael Lange
5aa938e121
Test coverage for preemption on the allocation detail page
2019-04-22 16:40:09 -07:00
Michael Lange
c7e1598ed3
Preemption modeling as page objects
2019-04-22 16:40:08 -07:00
Michael Lange
d4ae0a2819
Integration test for the alloc row icon
2019-04-22 16:40:07 -07:00
Michael Lange
4c773a1f3c
Add preemption properties to Mirage allocation factory
2019-04-22 16:40:07 -07:00
Michael Lange
4752950cae
Show which allocations an allocation preempted on the alloc page
2019-04-22 16:40:06 -07:00
Michael Lange
400deae4ce
Show which alloc, if any, preempted an alloc on the alloc detail page
2019-04-22 16:40:05 -07:00
Michael Lange
7ae2081282
Preemptions count and filtering on client detail page
...
Show the count in the allocations table next to the existing total alloc
count badge. Clicking either will filter by all or by preemptions.
2019-04-22 16:40:04 -07:00
Michael Lange
a33b105181
Add preempted icon to alloc row
2019-04-22 16:40:04 -07:00
Michael Lange
dca386ca70
Make sure tooltips show up over the top of the side bar
2019-04-22 16:40:03 -07:00
Michael Lange
384a0e5a54
Add wasPreempted bool to allocs
2019-04-22 16:40:02 -07:00
Michael Lange
c456c5eed0
Show preemptions on the job plan phase of job submission
2019-04-22 16:40:01 -07:00
Michael Lange
cf1d4a3a1e
Data modeling for preemptions
2019-04-22 16:40:00 -07:00
Michael Lange
daa9f7d520
Speed up slow acceptance tests with shallow jobs and generally less models
2019-04-11 20:08:43 -07:00
Michael Lange
aba4882dcb
Introduce the concept of 'shallow' job models in Mirage
2019-04-11 20:08:09 -07:00
Michael Lange
768bfdf87d
Reduce the number of task groups and task events that are made
2019-04-11 18:15:35 -07:00
Michael Lange
54e89a5004
Upgrade to Node 10, latest LTS
2019-04-10 14:54:38 -07:00