Commit Graph

86 Commits

Author SHA1 Message Date
Buck Doyle
458a6c413d Remove inverse block for list-pagination (#6523)
As the angle bracket invocation RFC says:

> There is no dedicated syntax for passing an "else" block
> directly. If needed, that can be passed using the named
> blocks syntax.

https://github.com/emberjs/rfcs/blob/master/text/0311-angle-bracket-invocation.md#block

Unfortunately, using a contextual component doesn’t help as
the yield inside that component will still result in content
rendering that would show when the source isn’t empty. So
we decided to change the interface so you have to check
whether the source is empty before using it, which aligns with
how list-table works.
2019-10-24 07:05:43 -05:00
Buck Doyle
882a0210fe UI: Update Ember to 3.12 LTS (#6419)
This is mostly deprecation fixes and blueprint changes. There
are some dependency updates too; the changes to Ember
Basic Dropdown necessitated changing it to angle bracket
component invocation. The conversion of the rest of the
templates will happen separately.
2019-10-15 13:32:58 -05:00
Buck Doyle
550e1b1a1e UI: Change Mirage data to be stable in development (#6389)
This sets a default-but-query-configurable Faker seed in development,
via faker-seed. It also changes uses of Math.random to use Faker’s
randomness so auto-generated data remains stable in development.
2019-10-03 09:13:08 -05:00
Buck Doyle
7fcfdab316 UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
Michael Lange
a321145457 Encode characters in file paths to ensure proper URIs 2019-08-14 12:54:11 -07:00
Michael Lange
e97c91191c Use a data-uri instead of an image for the image-file-test 2019-08-07 15:08:38 -07:00
Michael Lange
c4516158b0 Test coverage for task-file component 2019-07-30 17:25:49 -07:00
Michael Lange
6bd54f7343 Test coverage for streaming file component 2019-07-30 17:25:48 -07:00
Michael Lange
7294f38a32 Integration tests for the image-file component 2019-07-30 17:25:47 -07:00
Michael Lange
07f1c89cc5 Use the stream decode util and never opt to use the plain query param 2019-07-30 17:22:45 -07: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
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
Michael Lange
20028361c1 Use the TwoStepButton page object for integration testing too 2019-05-21 09:24:19 -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
d4ae0a2819 Integration test for the alloc row icon 2019-04-22 16:40:07 -07:00
Michael Lange
cf44c5449c Address test failures 2019-04-10 14:54:35 -07:00
Michael Lange
2474ecae4d Remove all andThen and .then usages (except for integration tests)
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange
bebc9b8f11 Fix integration tests that had test failures 2019-04-10 14:54:33 -07:00
Michael Lange
9cc9fa84f2 Fix a bunch of snowflake situations the codemod missed 2019-04-10 14:54:31 -07:00
Michael Lange
90278bff04 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange
a0e8eef7b5 Modules codemod + prettier 2019-04-10 14:46:55 -07:00
Michael Lange
2808671c78 Support for the no options case 2019-04-10 10:34:10 -05:00
Michael Lange
70426ad2cd Test coverage for the multi-select-dropdown component 2019-04-10 10:34:10 -05:00
Michael Lange
cc1b83c980 Update tests that check time and date formatting 2019-02-01 09:19:28 -08:00
Michael Lange
453f11d0c6 Test coverage for allocation rows 2018-12-13 07:53:17 -08:00
Michael Lange
25a29cb4ee Conditionally show utilization metrics on alloc and task rows 2018-12-13 07:53:17 -08:00
Michael Lange
65336ccd96 Use the StatsTracker method of getting alloc stats in alloc row 2018-09-26 10:59:26 -07:00
Michael Lange
0ede4c512e Integration tests for the primary-metric component 2018-09-19 14:15:32 -07:00
Michael Lange
334358ad24 Merge pull request #4615 from hashicorp/f-ui-restart-stopped-job
UI: Restart stopped job
2018-08-30 09:49:14 -07:00
Michael Lange
d824b70cee Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
c96c99aa37 Test coverage for the promote canary feature 2018-08-30 09:38:29 -07:00
Michael Lange
f79f037096 Add a confirmation loading state to the two-step-button component 2018-08-28 11:27:00 -07:00
Michael Lange
1b481a3b72 Test coverage for the Start Job behavior 2018-08-28 11:27:00 -07:00
Michael Lange
6463efe2ce Test coverage for the job-editor component
Most of this was ported over from the existing job run acceptance tests
2018-08-23 09:00:14 -07:00
Michael Lange
9b7b465a66 Show the scheduler dry-run output on the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
b767a87422 Update tests to handle region switching 2018-08-09 18:22:39 -07:00
Michael Lange
178642efe0 Test coverage for gutter menu interactions 2018-08-06 11:21:54 -07:00
Michael Lange
f8504cb56f Tests for the recent allocations table 2018-08-06 11:02:21 -07:00
Michael Lange
11bc25b1b3 Merge pull request #4533 from hashicorp/f-ui-refactor-page-chrome
UI: Refactor page chrome
2018-08-06 10:50:03 -07:00
Michael Lange
087f4a9ebc Test coverage for the expanded feature set of the latest-deployment component 2018-07-30 15:31:31 -07:00
Michael Lange
6fe8356d1c Give the running-deployment component a more appropriate name 2018-07-30 15:31:31 -07:00
Michael Lange
7aeba8007e Use page-layout for job routes 2018-07-30 13:13:52 -07:00
Michael Lange
d0c76b844a Remove all references to onNamespaceChange 2018-07-30 13:13:52 -07:00
Michael Lange
af14f7230c Test coverage for summary toggle 2018-07-13 10:26:46 -07:00
Michael Lange
b8b3d03e41 Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
5edf1f55cf Remove old evaluations component tests 2018-07-06 17:07:40 -07:00
Michael Lange
90ea4f0f21 Update all the awkward browserify imports to plain ol' es6 imports 2018-07-06 13:38:57 -07:00
Michael Lange
4eaf2e4f67 Integration tests for the breadcrumbs component 2018-07-06 11:12:12 -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
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