Commit Graph

818 Commits

Author SHA1 Message Date
Michael Lange
5084eda866 Merge pull request #4981 from hashicorp/b-ui-hide-stats-graphs-for-non-running-resources
UI: Hide stats graphs for non running resources
2018-12-18 11:15:39 -08:00
Michael Lange
8909046f15 Don't use Ember.get in conjunction with dynamic strings in the job-plan serializer 2018-12-13 07:53:37 -08:00
Michael Lange
f2b4fbcbe8 Don't use Ember.get in conjunction with dynamic strings in the allocation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
2a554e3954 Don't use Ember.get in conjunction with dynamic strings in the node serializer 2018-12-13 07:53:37 -08:00
Michael Lange
c3fdeb3fa6 Don't use Ember.get in conjunction with dynamic strings in the deployment serializer 2018-12-13 07:53:37 -08:00
Michael Lange
3a07f68d4f Don't use Ember.get in conjunction with dynamic strings in the job-summary serializer 2018-12-13 07:53:37 -08:00
Michael Lange
7143b3048b Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
bf9ff6ed8b Test coverage for resource graph empty states 2018-12-13 07:53:17 -08:00
Michael Lange
453f11d0c6 Test coverage for allocation rows 2018-12-13 07:53:17 -08:00
Michael Lange
e9ba939bd6 Conditionally show the utilization graphs on the allocation and task detail pages 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
c1c40af236 Task isRunning is based on both the task state and the allocation state 2018-12-13 07:53:17 -08:00
Michael Lange
605d7a245f Model isRunning based on the client status of the allocation 2018-12-13 07:53:17 -08:00
Michael Lange
63cd9c972b Always create a running allocation when testing task state 2018-12-13 07:39:16 -08:00
Michael Lange
104be1cad6 Grow the default 0 to 1 bounds to the domain of the data when necessary 2018-12-05 22:07:44 -08:00
Michael Lange
a1d5f127e3 Merge pull request #4860 from hashicorp/b-ui-allocation-detail-empty-state
UI: Allocation detail empty state
2018-11-19 12:43:39 -08:00
Michael Lange
122a8a12e8 Add an empty state to the allocation detail task list 2018-11-19 12:18:14 -08:00
Michael Lange
654611ea9a Merge pull request #4850 from hashicorp/f-ui-links-on-error-pages
UI: Escape hatch links on error pages
2018-11-19 12:17:36 -08:00
Michael Lange
32954fa71e Improve mirage modeling of allocations
Pending allocations never have tasks
2018-11-09 17:11:47 -08:00
Michael Lange
31045da9be Merge pull request #4852 from hashicorp/b-ui-dispatched-job-page
UI: Show the correct template for dispatched jobs
2018-11-09 14:36:35 -08:00
Michael Lange
c45efccee6 Merge pull request #4833 from hashicorp/b-ui-gracefully-handle-stat-errors
UI: Gracefully handle stat errors
2018-11-09 14:35:48 -08:00
Michael Lange
b5348aacf0 Add missing module dependencies to the node adapter tests 2018-11-09 14:25:32 -08:00
Michael Lange
b0028237d5 Get error messages closer to Structure designs 2018-11-09 13:23:44 -08:00
Michael Lange
5801b79b81 Show the correct template for parameterized job children 2018-11-07 21:04:27 -08:00
Michael Lange
9ef79cd92c Correctly mark parameterized children as parameterized: true 2018-11-07 17:07:40 -08:00
Michael Lange
d49631bb8a Test coverage for error page escape hatch links 2018-11-07 16:19:45 -08:00
Michael Lange
ac43c0ab77 Add escape hatch links to the error page 2018-11-07 16:09:23 -08:00
Michael Lange
d75aa8f99a Fix a bug where with-watchers wasn't bubbling the willTransition event
The impact was the application error was no longer being nulled out,
causing the application error to continue to be shown after
transitioning.

This never happened in apps since it's not possible to transition away
from the error screen.
2018-11-07 16:08:26 -08:00
Michael Lange
feb133bc28 Add support for link in error containers 2018-11-07 16:08:05 -08:00
Michael Lange
25101789de Merge pull request #4841 from hashicorp/f-ui-error-handling-on-all-pages
UI: Error handling on all pages
2018-11-07 11:16:06 -08:00
Michael Lange
7af84f347a Merge pull request #4801 from hashicorp/b-ui-proper-task-group-breadcrumb
UI: Proper task group breadcrumb on the allocation pages
2018-11-06 16:41:46 -08:00
Michael Lange
c95821e84e Make your tests orders of magnitude faster with One Neat Trick™ 2018-11-06 16:17:21 -08:00
Michael Lange
333e76ba73 Test coverage for frame misses 2018-11-06 16:17:21 -08:00
Michael Lange
705efadfe7 Clean up the remaining routes 2018-11-05 16:33:33 -08:00
Michael Lange
11ba511471 Handle the job 404 error case on the other job sub pages 2018-11-05 16:06:08 -08:00
Michael Lange
cb5bd66dd6 Handle the job 404 error case in versions 2018-11-05 15:42:04 -08:00
Michael Lange
1226a079f9 Handle the job 404 case in the job definition route 2018-11-05 15:20:31 -08:00
Michael Lange
1e00702624 Handle the job 404 case in task group routes 2018-11-02 19:25:50 -07:00
Michael Lange
5aef27ccd8 Guard against the element already being destroyed
Since DOM code is in a run.next, it's possible that between the DOM
code being queued and running the element is destroyed. So the DOM
code needs to guard against this using the isDestroyed API.
2018-11-02 17:08:02 -07:00
Michael Lange
b0a1a360ba Improve client stat simulation and add a chance for requests to error 2018-11-01 22:11:56 -07:00
Michael Lange
9f98029898 Gracefully handle response errors in stat trackers
1. Check if the response is a 4xx/5xx
2. If it is, skip the append step and track a frame miss
3. If enough frame misses occur in a row, treat it as a pause

A "pause" is when a null data frame is added, which shows up as a
gap in line charts.
2018-11-01 22:08:57 -07:00
Michael Lange
022573a072 Move jsonWithDefault to a util 2018-11-01 22:07:58 -07:00
Michael Lange
67b60eef36 Merge pull request #4829 from hashicorp/f-ui-build-perf
UI: build time performance improvements
2018-11-01 15:04:30 -07:00
Michael Lange
68ef166064 Remove unused bourbon dependency 2018-11-01 14:37:39 -07:00
Michael Lange
6021f72dac Speed up builds by cutting corners given config and env 2018-11-01 14:19:22 -07:00
Michael Lange
4e36c52935 Test coverage for breadcrumb qp change 2018-10-31 13:27:35 -07:00
Michael Lange
daf4493228 Provide the namespace query param to the task group link 2018-10-31 12:50:39 -07:00
Michael Lange
b00916ac17 Test coverage for resetPagination 2018-10-30 14:17:23 -07:00
Michael Lange
44e33d01f0 Add the resetPagination hook to search boxes across the app 2018-10-30 10:52:54 -07:00
Michael Lange
f7ad2ce8bb Add a resetPagination method to the searchable mixin
Searchable can be used without pagination, but reseting pagination
is more a function of search than pagination insofar as if you
add search to a page, you are also going to want automatic pagination
resetting.
2018-10-30 10:51:31 -07:00