Michael Lange
09ae9fbfa3
Implement the job list filtering based on facet selection
2019-04-10 10:34:10 -05:00
Michael Lange
8015605041
Implement the dynamic facet lists (datacenters and prefixes)
2019-04-10 10:34:10 -05:00
Michael Lange
46c6a3e4c2
Scaffold the facets and facet options for the jobs list page
2019-04-10 10:34:10 -05:00
Michael Lange
b93977f61f
Remove the includes helper in favor of the contains helper
2019-04-10 10:34:10 -05:00
Michael Lange
7a183b40ac
Harden dropdown styles to avoid accidental cascading
2019-04-10 10:34:10 -05:00
Michael Lange
22225b3436
Add the right-alignment case to freestyle
2019-04-10 10:34:10 -05:00
Michael Lange
573f03d8e9
Always left-align the dropdown position to the trigger
2019-04-10 10:34:10 -05:00
Michael Lange
fd34f7aa2c
Test coverage for the multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
8a07ef2cc6
Tab and keyboard navigation for multi-select
2019-04-10 10:34:10 -05:00
Michael Lange
a2bcc59963
Round out the freestyle entry
2019-04-10 10:34:10 -05:00
Michael Lange
fa10e72e2b
Multi-select button-bar support
2019-04-10 10:34:10 -05:00
Michael Lange
cf5f77fe4c
Color alias for tags
2019-04-10 10:34:10 -05:00
Michael Lange
6160d8af84
Persistence and onSelect handler for the multi-select-dropdown
2019-04-10 10:34:10 -05:00
Michael Lange
17ab2c22cc
Templating and styling the multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
8166e43e8c
Simple includes helper that works like Array#includes
2019-04-10 10:34:10 -05:00
Michael Lange
22ce6cfe36
Freestyle entry for the new multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
5bfd1d0ddd
Reattach resources to stats trackers in the event they were destroyed
2019-03-29 16:09:14 -07:00
Jacek Jagiello
364f7acbb5
5303 make logs view full width to better support large screens
2019-03-06 23:29:24 +01:00
Michael Schurter
d74755900e
Generate files for 0.9.0-beta3 release
2019-02-26 09:44:49 -08:00
Michael Lange
91d8baa64e
Update tests that check time and date formatting
2019-02-01 09:19:28 -08:00
Michael Lange
dfd3b097d1
Apply new date and timestamp helpers e'rywhere
2019-02-01 09:19:28 -08:00
Michael Lange
50bf9d392a
New helpers to standardize date and timestamp formats
2019-02-01 09:19:28 -08:00
Michael Lange
c3eb0b2493
Always show an absolute timestamp tooltip when showing relative dates
2019-01-30 09:59:41 -08:00
Michael Lange
fa4333056c
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
d83be97d78
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
5902842d6b
Don't use Ember.get in conjunction with dynamic strings in the allocation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7b466f9f60
Don't use Ember.get in conjunction with dynamic strings in the node serializer
2018-12-13 07:53:37 -08:00
Michael Lange
13b7434eca
Don't use Ember.get in conjunction with dynamic strings in the deployment serializer
2018-12-13 07:53:37 -08:00
Michael Lange
a00544e302
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
b5c11b4e43
Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7d76b6a59f
Test coverage for resource graph empty states
2018-12-13 07:53:17 -08:00
Michael Lange
6f2e5d49f0
Test coverage for allocation rows
2018-12-13 07:53:17 -08:00
Michael Lange
76a9d7ad7c
Conditionally show the utilization graphs on the allocation and task detail pages
2018-12-13 07:53:17 -08:00
Michael Lange
71a06a6b7f
Conditionally show utilization metrics on alloc and task rows
2018-12-13 07:53:17 -08:00
Michael Lange
0005b1fca2
Task isRunning is based on both the task state and the allocation state
2018-12-13 07:53:17 -08:00
Michael Lange
076ae5046b
Model isRunning based on the client status of the allocation
2018-12-13 07:53:17 -08:00
Michael Lange
3b044816ac
Always create a running allocation when testing task state
2018-12-13 07:39:16 -08:00
Michael Lange
795ea7eade
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
fd35d37f43
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
796967c58d
Add an empty state to the allocation detail task list
2018-11-19 12:18:14 -08:00
Michael Lange
b252ede5b6
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
aa0cbadb30
Improve mirage modeling of allocations
...
Pending allocations never have tasks
2018-11-09 17:11:47 -08:00
Michael Lange
4e21366714
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
ec21bab24d
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
7c9c099bf0
Add missing module dependencies to the node adapter tests
2018-11-09 14:25:32 -08:00
Michael Lange
cf93e1a40c
Get error messages closer to Structure designs
2018-11-09 13:23:44 -08:00
Michael Lange
8e18903996
Show the correct template for parameterized job children
2018-11-07 21:04:27 -08:00
Michael Lange
5057574c69
Correctly mark parameterized children as parameterized: true
2018-11-07 17:07:40 -08:00
Michael Lange
f3110f978e
Test coverage for error page escape hatch links
2018-11-07 16:19:45 -08:00
Michael Lange
177a998b1d
Add escape hatch links to the error page
2018-11-07 16:09:23 -08:00
Michael Lange
738efdfb04
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
777d693632
Add support for link in error containers
2018-11-07 16:08:05 -08:00
Michael Lange
ab06a22954
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
46fd35c84c
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
dbb9662dbe
Make your tests orders of magnitude faster with One Neat Trick™
2018-11-06 16:17:21 -08:00
Michael Lange
80ab0f56cf
Test coverage for frame misses
2018-11-06 16:17:21 -08:00
Michael Lange
19abb7b605
Clean up the remaining routes
2018-11-05 16:33:33 -08:00
Michael Lange
d4c6a698c3
Handle the job 404 error case on the other job sub pages
2018-11-05 16:06:08 -08:00
Michael Lange
af24546644
Handle the job 404 error case in versions
2018-11-05 15:42:04 -08:00
Michael Lange
2925285f00
Handle the job 404 case in the job definition route
2018-11-05 15:20:31 -08:00
Michael Lange
8ef22a06fe
Handle the job 404 case in task group routes
2018-11-02 19:25:50 -07:00
Michael Lange
964c93e07f
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
174dc02025
Improve client stat simulation and add a chance for requests to error
2018-11-01 22:11:56 -07:00
Michael Lange
3d7d7310a1
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
36fed0919d
Move jsonWithDefault to a util
2018-11-01 22:07:58 -07:00
Michael Lange
00ba1412b8
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
f4813d49ba
Remove unused bourbon dependency
2018-11-01 14:37:39 -07:00
Michael Lange
be77e3d981
Speed up builds by cutting corners given config and env
2018-11-01 14:19:22 -07:00
Michael Lange
7cd8179637
Test coverage for breadcrumb qp change
2018-10-31 13:27:35 -07:00
Michael Lange
0a4242eb13
Provide the namespace query param to the task group link
2018-10-31 12:50:39 -07:00
Michael Lange
b2acd381f9
Test coverage for resetPagination
2018-10-30 14:17:23 -07:00
Michael Lange
c6afcb4499
Add the resetPagination hook to search boxes across the app
2018-10-30 10:52:54 -07:00
Michael Lange
571e5c35c3
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
Michael Lange
a82c9d4d6f
Add onChange hook to the search-box component
2018-10-30 10:50:24 -07:00
Michael Lange
42432bbb52
Merge pull request #4727 from hashicorp/f-ui-improved-stats-charts
...
UI: Improved stats charts
2018-10-17 10:55:54 -07:00
Michael Lange
aeea4076b7
Merge pull request #4718 from hashicorp/f-ui-a11y-line-chart
...
UI: Add some simple accessibility labels for line charts
2018-10-17 09:43:27 -07:00
Michael Lange
340f3f12d4
Add more documentation to the format-duration util
2018-10-17 08:10:16 -07:00
Michael Lange
154dc49205
Be consistent with "time series" instead of "time-series"
2018-10-17 07:37:45 -07:00
Michael Lange
1be400d18e
Add role="tooltip" to tooltips throughout the app
2018-10-17 07:17:24 -07:00
Michael Lange
ca631ee217
Override the a11y title and description for the stats time series chart
...
Since this is a use case specific chart, we can use use case specific
language in our labels.
2018-09-27 12:55:52 -07:00
Michael Lange
cdb1831ceb
Add a11y features to the line-chart component
...
- Treat it as an image
- Add a title and a description
- Hide the axes, just in case
2018-09-27 12:55:52 -07:00
Michael Lange
866b74be19
Add a longForm option to format-duration
2018-09-27 12:55:17 -07:00
Michael Lange
4a98bf989f
Make the global logo link to the jobs page (home page)
2018-09-26 11:19:24 -07:00
Michael Lange
ea87417d4f
Add utilization stats to the task rows on allocation detail
2018-09-26 10:59:26 -07:00
Michael Lange
5736b71f00
Remove no longer used allocation-stats class
2018-09-26 10:59:26 -07:00
Michael Lange
9b90683e6b
Use the StatsTracker method of getting alloc stats in alloc row
2018-09-26 10:59:26 -07:00
Michael Lange
c694fcb0ba
Update stat tracker unit tests
2018-09-19 19:30:18 -07:00
Michael Lange
09497b20b8
Acceptance test coverage for all the pages with resource utilization graphs
2018-09-19 16:33:51 -07:00
Michael Lange
f86347bc62
Always return valid dates for timestamps
2018-09-19 16:33:18 -07:00
Michael Lange
da06b48aaf
Handle the empty data cases
2018-09-19 16:32:53 -07:00
Michael Lange
46936b6091
Unit tests for the stats trackers service
2018-09-19 15:33:29 -07:00
Michael Lange
18b18da49f
Integration tests for the primary-metric component
2018-09-19 14:15:32 -07:00
Michael Lange
c93f6506dc
Add cancelation support to stats trackers
2018-09-17 16:59:09 -07:00
Michael Lange
bc5dbe2fb7
Gap support for line charts
2018-09-17 16:58:56 -07:00
Michael Lange
8900d5c138
Add request throttling to the abstract stats tracker
...
This is the best of three options
1. Users of stats trackers control polling (old method)
2. Stat tracker is stateful and has start/stop methods (like logging)
3. Stat trackers blindly throttle requests
This is the best option because it means N number of concurrent users of
a stats tracker can request polling without inundating the tracker with
redundant frames (or the network with redundant requests), but they also
don't have to coordinate amongst themselves to determine what state a
tracker should be in.
2018-09-17 15:58:28 -07:00
Michael Lange
ae161d75bc
Use the new stats tracker service to get stats trackers in primary metric
2018-09-17 15:57:58 -07:00
Michael Lange
bc3a76da04
Clean up old controller code
2018-09-17 15:57:23 -07:00
Michael Lange
fcf22fdbc4
New LRUMap dep
2018-09-17 15:55:48 -07:00
Michael Lange
b7169596c1
New service to manage stats trackers
...
This solves two problems:
1. redundant trackers making redundant requests
2. trackers being obliterated as soon as the primary metric component
is destroyed
It introduces a new problem where visiting more and more node and
allocation pages adds to an ever-growing list of trackers that can
assume lots of memory, but it solves the problem by using a
least-recently-used cache to limit the number of trackers tracked.
2018-09-17 15:53:59 -07:00
Michael Lange
b675919c76
Add resource utilization graphs to the task index page
2018-09-14 10:21:48 -07:00
Michael Lange
dace559442
Add resource utilization graphs to the allocation index page
2018-09-14 10:21:28 -07:00
Michael Lange
636d0c92fc
Use the appropriate methods and types in the stat trackers
2018-09-14 10:21:01 -07:00
Michael Lange
80fefcf369
Style the primary-metric pattern
2018-09-14 10:20:33 -07:00
Michael Lange
379b17acbd
Handle the length = 0 and length = 1 cases for activeDatum
2018-09-14 10:19:35 -07:00
Michael Lange
6a94ebc5fb
Use the prototype instead of "private" property backups
2018-09-14 09:38:17 -07:00
Michael Lange
a2db921c1f
Make rollingArray work with mutable array extension methods
2018-09-14 08:57:26 -07:00
Michael Lange
01429a9b78
Remove old stat tracking code from the client page
...
In favor of the new primary-metric components
2018-09-13 17:01:24 -07:00
Michael Lange
10b9017d84
Use the new primary-metric component on the client detail page
2018-09-13 17:01:24 -07:00
Michael Lange
768f67e336
New primary-metric component
...
It encapsulates all the tracker, polling, and markup for this style
of metric.
2018-09-13 17:01:24 -07:00
Michael Lange
54efa8ddd5
Full markup for time series metrics
2018-09-13 17:01:24 -07:00
Michael Lange
93cf97a47b
Add stat charts to the client page
2018-09-13 17:01:24 -07:00
Michael Lange
b6382fe7dc
Use percent for the y-axis binding
2018-09-13 17:01:24 -07:00
Michael Lange
7e431e8876
Use addObject to get kvo behaviors
2018-09-13 17:01:24 -07:00
Michael Lange
4a2b9cc153
Merge pull request #4661 from hashicorp/f-ui-line-chart
...
UI: line chart
2018-09-13 16:59:20 -07:00
Michael Lange
105d4aea79
Unit test coverage for the stats-time-series chart
2018-09-13 16:45:56 -07:00
Michael Lange
659e19303c
Unit test coverage for the line chart component
2018-09-13 16:45:56 -07:00
Michael Lange
63b89904f3
Split the line-chart and stats-time-series freestyle entries
2018-09-13 16:45:56 -07:00
Michael Lange
569ba3c48a
Updates to the styleguide
2018-09-13 16:45:56 -07:00
Michael Lange
f2bab4591d
Use "global" gradients via a clipping mask and a rect w/100% height
2018-09-13 16:45:54 -07:00
Michael Lange
05c7706487
Avoid race conditions around showing and hiding the line chart tooltip
2018-09-13 16:45:13 -07:00
Michael Lange
9008c48cd1
Stats time series
...
A use-case specific line-chart for showing utilization metrics by
percent
2018-09-13 16:45:13 -07:00
Michael Lange
7a8a4c32f4
Make the tooltip animation snappier for line charts
...
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
2018-09-13 16:45:13 -07:00
Michael Lange
46cceb2daa
Don't round numbers when the domain is between 0 and 1
2018-09-13 16:45:13 -07:00
Michael Lange
a74e6648b9
Styleguide entry for the line chart component
2018-09-13 16:45:13 -07:00
Michael Lange
d516daf83e
New line chart component
2018-09-13 16:45:08 -07:00
Michael Lange
f15e3ba0c2
Test coverage for NodeStatsTracker
2018-09-11 16:27:06 -07:00
Michael Lange
a97e0bcc5e
Add support for non-list tooltips in charts
2018-09-07 09:57:54 -07:00
Michael Lange
2711abc3ce
Add chart color swatches based on css colors
2018-09-07 09:57:33 -07:00
Michael Lange
1530eed9f7
Bring in new d3 dependencies
2018-09-07 09:55:39 -07:00
Michael Lange
fbfc5ecb16
Example usage of the NodeStatsTracker
2018-08-31 14:39:23 -07:00
Michael Lange
680ac6c9b0
A StatsTracker for client-level statistics
2018-08-31 14:39:23 -07:00
Michael Lange
3d761b7347
Unit Tests for AllocationStatsTracker
2018-08-31 14:39:22 -07:00
Michael Lange
416de6c32a
Unit tests for RollingArray
2018-08-31 14:39:22 -07:00
Michael Lange
f5fa5101b4
Example of usage of the AllocationsStatsTracker
2018-08-31 14:39:22 -07:00
Michael Lange
da4852a6cd
An implementation of StatsTracker for allocations
...
It accumulates CPU and Memory usage for the allocation as a whole as well
as by task.
2018-08-31 14:39:22 -07:00
Michael Lange
e1e89ce92f
An abstract class for capturing nomad stats
...
It follows the form of poll -> json parse -> append,
Where append is defined in subclasses to add data from the new frame
to long-lived rolling arrays of data.
2018-08-31 14:39:22 -07:00
Michael Lange
0c35f189e9
An array subclass that enforces a maxLength
...
The maxLength is enforced by removing elements from the head of the
list.
2018-08-31 14:39:22 -07:00
Michael Lange
33da5ed14f
Merge pull request #4600 from hashicorp/f-ui-job-writes
...
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
ebe0e97b1a
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
3c2e7b7dd3
Merge pull request #4616 from hashicorp/f-ui-promote-canary
...
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
62e9cf268b
Test coverage for the promote canary feature
2018-08-30 09:38:29 -07:00
Michael Lange
182e020835
Fix the flickering issue with start/stop job
...
When the server doesn't respond immediately, there is a visible window
of time between the action being submitted and the blocking query coming
back with the new job status.
2018-08-28 11:27:00 -07:00
Michael Lange
37acc77c9c
Add a confirmation loading state to the two-step-button component
2018-08-28 11:27:00 -07:00
Michael Lange
c8492682e1
Switch stop/run job actions to EC tasks
2018-08-28 11:27:00 -07:00
Michael Lange
18d5efce1e
Test coverage for the Start Job behavior
2018-08-28 11:27:00 -07:00
Michael Lange
a4d951a757
Add Start Job action on the job overview page for when a job is dead
2018-08-28 11:27:00 -07:00
Michael Lange
0142f97069
Update the info message about token storage
2018-08-28 10:05:36 -07:00
Michael Lange
0eb5e61e36
Switch token storage to localStorage from sessionStorage
2018-08-28 10:05:15 -07:00
Michael Lange
bcbeac7f35
Change the latest deployment component to include a Promote Canary button
...
Before it would say the deployment required promotion, now it has a
button that triggers the promotion.
2018-08-24 16:41:47 -07:00
Michael Lange
c4cb0229d6
Support the promote deployment api action
2018-08-24 16:41:47 -07:00