Commit Graph

1468 Commits

Author SHA1 Message Date
Michael Lange
db363cc3e3 Merge pull request #8593 from hashicorp/f-ui/scaling-events-chart
UI: Task group scaling timeline
2020-08-07 10:35:00 -07:00
Michael Lange
950c2bd39d Make eq-by helper resilient to a lack of prop since handlebars doesn't short-circuit evaluation 2020-08-06 17:59:26 -07:00
Michael Lange
7dde9ab100 Key the annotations each loop by annotationKey for stable dom nodes 2020-08-06 17:58:43 -07:00
Michael Lange
40401960cb Add integration test for line-chart annotation staggering 2020-08-06 17:37:09 -07:00
Michael Lange
339bccbeb0 Add missing word "two" to test name
Co-authored-by: Buck Doyle <buck@hashicorp.com>
2020-08-06 15:43:29 -07:00
Buck Doyle
f5c8e2845f UI: Add truncation of rendered search results (#8571)
This closes #8549. Thanks to @optiz0r for the bug report. Having
the global search attempt to render every returned result is
obviously a mistake!
2020-08-05 15:58:44 -05:00
Michael Lange
208eb0d808 Compare scale events by their UID instead of reference equality 2020-08-05 12:02:23 -07:00
Michael Lange
73e73229db Use the correct gray for the info details 2020-08-05 12:02:22 -07:00
Michael Lange
fe115dbc41 Safestr the annotation style property 2020-08-05 12:02:22 -07:00
Michael Lange
eb7a4f2fe3 Conditionally show the scaling timeline or accordion 2020-08-05 12:02:22 -07:00
Michael Lange
f9cb2ff214 Unit test coverage for the ScaleEventsChart data domain logic 2020-08-05 12:02:22 -07:00
Michael Lange
8f61830f72 Integration tests for the ScaleEventsChart component 2020-08-05 12:02:22 -07:00
Michael Lange
2a88541fa2 Force mock error scale events to be annotations 2020-08-05 12:02:22 -07:00
Michael Lange
e343f23360 New ScaleEventsChart component
Displays all scale events in the form of an annotated line chart. When
annotations are clicked, the timestamp, message, and meta propeties for
the event are displayed below the chart.
2020-08-05 12:02:22 -07:00
Michael Lange
c4312187f8 Add activeAnnotation property to line-chart 2020-08-05 12:02:22 -07:00
Michael Lange
4936c3f658 Stagger line chart annotations when they are too close 2020-08-05 12:02:22 -07:00
Michael Lange
2868d3e7fb Add curve options to line chart 2020-08-05 12:02:22 -07:00
Michael Lange
f04b646dcb Test coverage for line chart annotations 2020-08-05 12:02:22 -07:00
Michael Lange
51a5209459 Story for line chart annotations 2020-08-05 12:02:22 -07:00
Michael Lange
9465fc6d9d Add annotations to the line chart component 2020-08-05 12:02:22 -07:00
Michael Lange
7360adba00 Make the default time series date format for line chart more useful 2020-08-05 12:02:21 -07:00
Buck Doyle
4c8083746c Add linting for acceptance accessibility audits (#8570)
This makes use of the PR I recently had merged to eslint-plugin-ember-a11y-testing
to add linting that ensures an accessibility audit is called at least once per acceptance
test file. When I have added linting for component tests, it can apply there too.

I added exclusions for the filesystem browser tests, which are covered by behaviors/fs
and for the search test which will involve significant overrides to Ember Power Select
default templates.
2020-07-30 12:40:05 -05:00
Michael Lange
45e1c652c6 Use the correct Message property instead of Reason in scale POST request
Also use a more informative default message (one that includes the new
count)
2020-07-30 08:43:15 -07:00
Michael Lange
1205387f83 Merge pull request #8563 from hashicorp/b-ui/missing-job-distribution-chart-texture
UI: Restore striped texture used in the job distribution bar
2020-07-30 08:20:48 -07:00
Buck Doyle
11fb89d8d7 Change job search navigation to use id (#8560)
This fixes #8548. It was a significant oversight to use the
name instead of the id!
2020-07-30 09:10:08 -05:00
Michael Lange
59d4531922 Remove now superfluous svg-patterns.js component file 2020-07-29 22:55:16 -07:00
Michael Lange
2f1106aca8 Move the svg-patterns template into the component dir 2020-07-29 22:54:30 -07:00
Michael Lange
a45f316b25 Add a tooltip to explain the count change icons 2020-07-29 19:30:00 -07:00
Michael Lange
f041e081c0 Fix scale and summary adapters to correct live reloading 2020-07-29 19:26:32 -07:00
Michael Lange
a5031913b0 Assert that the scale up/down indicator is not shown when the count is null 2020-07-29 19:26:32 -07:00
Michael Lange
b0830f5305 Integration tests for the scale-events-accordion component 2020-07-29 19:26:32 -07:00
Michael Lange
193dc7a697 Refactor scale events into their own component 2020-07-29 19:26:32 -07:00
Michael Lange
cc44bc41e5 Acceptance tests for scaling events 2020-07-29 19:07:24 -07:00
Michael Lange
9008694ab7 Make scale event properties more conditional and serialized correctly 2020-07-29 19:07:24 -07:00
Michael Lange
9c5a2b5dd5 Present scaling events on the job task group page 2020-07-29 19:07:24 -07:00
Michael Lange
4e01b2c35e Load and watch the job scale endpoint on the task group page 2020-07-29 19:07:24 -07:00
Michael Lange
9d43e66c99 Finish modeling behaviors within job scale events 2020-07-29 19:07:24 -07:00
Michael Lange
87a67023f9 New fluid height modifier for the json viewer 2020-07-29 19:07:24 -07:00
Michael Lange
5f2cdd17c1 Refactor job summary adapter to use the namespace ID base class 2020-07-29 19:07:24 -07:00
Michael Lange
5f2dee8225 Model job scaling and events in Mirage 2020-07-29 19:07:24 -07:00
Michael Lange
2f5cbbffa3 Data modeling for job scale and scale events 2020-07-29 19:07:24 -07:00
Buck Doyle
9d190a643e Add acceptance test accessibility auditing and fixes (#8455)
This introduces ember-a11y-testing to acceptance tests via a helper
wrapper that allows us to globally ignore rules that we can address
separately. It also adds fixes for the aXe rules that were failing.
2020-07-28 12:59:14 -05:00
Michael Lange
644bfd57ec Include the region query param on the View Raw File link in the task fs explorer 2020-07-22 13:46:38 -07:00
Buck Doyle
8241a02b7d Fix layout of title component elements (#8495)
The spacing has been broken for job types that use this yield
(parameterised and periodic) since I added the exec button
to this template. This could be further refined to allow a more
logical grouping of elements where buttons and tags are
separate.
2020-07-22 11:30:58 -05:00
Michael Lange
9882614aa5 Test coverage for the deployment adapter action 2020-07-21 09:02:39 -07:00
Michael Lange
4afedbd06a Add region coverage to node adapter action tests 2020-07-21 09:02:39 -07:00
Michael Lange
4e152a75f5 Test all allocation adapter actions with and without a region
This involves a refactor to prevent immense verbosity.
2020-07-21 09:00:21 -07:00
Michael Lange
08bd435052 Test region query param for job adapter actions 2020-07-21 09:00:20 -07:00
Michael Lange
23b024eb49 Always send region as a query param 2020-07-21 09:00:20 -07:00
Michael Lange
6bfebe2321 Refactor job adapter test to simplify setting up region and namespace state 2020-07-21 09:00:20 -07:00