Commit Graph

488 Commits

Author SHA1 Message Date
Michael Lange
2eceffaa96 Create new monitor route for clients 2020-06-16 10:23:35 -07:00
Buck Doyle
1904005120 Rename clashing property 2020-06-15 10:14:36 -05:00
Buck Doyle
e7428d1876 Rename clashing action 2020-06-15 10:14:36 -05:00
Buck Doyle
67e9690b7d Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00
Buck Doyle
06baadd01e UI: add filesystem browsing for allocations (#7951)
This partially addresses #7799.

Task state filesystems are contained within a subdirectory of their
parent allocation, so almost everything that existed for browsing task
state filesystems was applicable to browsing allocations, just without
the task name prepended to the path. I aimed to push this differential
handling into as few contained places as possible.

The tests also have significant overlap, so this includes an extracted
behavior to run the same tests for allocations and task states.
2020-06-01 08:15:59 -05:00
Michael Lange
57bad784ed Show the number of allocations in the the goto links on plugin detail 2020-05-20 14:22:47 -07:00
Michael Lange
2aeb1eca66 Test coverage for the plugin allocations page 2020-05-19 19:22:12 -07:00
Michael Lange
c90354179c Test coverage for the limited alloc tables and goto links 2020-05-19 18:01:42 -07:00
Michael Lange
24ba64a298 Limit the length of the alloc tables on the plugin overview page 2020-05-19 17:30:00 -07:00
Michael Lange
909d3b2055 Add a title to the plugin/allocations page
Typically these filterable list views don't have titles beyond the
breadcrumbs, but since this page has no search bar, the title really
helps balance it out.
2020-05-19 17:29:05 -07:00
Michael Lange
58f23eefc3 Add filtering to the plugin allocations page 2020-05-18 23:55:52 -07:00
Michael Lange
4daae6b296 Scaffold the plugin allocations page 2020-05-18 23:36:12 -07:00
Michael Lange
1cdf519b18 Add a subnav to the plugin page 2020-05-18 23:24:02 -07:00
Michael Lange
7fba336963 Fix scrunched availability chart bug on double chart layout 2020-05-18 22:48:55 -07:00
Michael Lange
2b8c910114 Add plugin/allocations route 2020-05-18 22:48:23 -07:00
Michael Lange
f760027ccf Test coverage for node only view of the plugin detail page 2020-05-18 17:23:54 -07:00
Michael Lange
ebc402ac5f Add availability gauges to the plugin page object 2020-05-18 15:30:00 -07:00
Michael Lange
3cf81d2741 Handle node-only views 2020-05-18 15:30:00 -07:00
Michael Lange
1e7f1871bd Merge pull request #7942 from hashicorp/b-ui/csi-alloc-relationships
UI: CSI Bug, Imperatively load controller/node plugin allocations
2020-05-13 10:20:09 -07:00
Michael Lange
0a258b1a9f Test coverage for the gauge chart 2020-05-13 08:36:05 -07:00
Michael Lange
83cd585682 Add gauge charts to the plugin detail page to measure availability 2020-05-13 08:36:05 -07:00
Michael Lange
dfc45f4dcd Gauge chart component 2020-05-13 08:36:04 -07:00
Michael Lange
cb6b9dc1f2 Key allocation rows to prevent unnecessary re-renders 2020-05-12 21:30:32 -07:00
Buck Doyle
8c3a210839 Add ACL-checking to turn off exec button (#7919)
This closes #7453. It adds an abstraction to handle the common
needs of ability-determination.
2020-05-11 14:43:17 -05:00
Mahmood Ali
521eed273b Add tests for running allocation client count (#7906)
* Add tests for running allocation client count

* remove redundant assertions
2020-05-11 12:28:31 -04:00
Michael Lange
804029c9a2 The active namespace is now shared between jobs and storage 2020-05-08 17:35:27 -07:00
Michael Lange
dc8c125202 Searchable plugins 2020-05-07 17:25:24 -07:00
Michael Lange
a4ea5b16e5 Searchable volumes 2020-05-07 16:57:51 -07:00
Michael Lange
877cadffc9 Acceptance test for PluginDetail 2020-05-06 17:36:45 -07:00
Michael Lange
6b46b28624 Don't wrap between icons and health text 2020-05-06 17:22:42 -07:00
Michael Lange
9632aace74 Sort allocations on the plugin detail page 2020-05-06 17:21:49 -07:00
Michael Lange
092b05d5d1 Page object for Plugins List 2020-05-06 17:21:48 -07:00
Michael Lange
4f4bc6a060 Correct the table headers for dates on the volume page 2020-05-06 17:21:48 -07:00
Michael Lange
bcc6562543 Add a nodes table as well 2020-05-06 17:21:48 -07:00
Michael Lange
e6e57557d2 Add icons to the plugin alloc row component 2020-05-06 17:21:47 -07:00
Michael Lange
16296f1332 New PluginAllocationRow derivative of AllocationRow 2020-05-06 17:21:46 -07:00
Michael Lange
6ad5243ae6 Refactor AllocationRow to use AllocationStat 2020-05-06 17:21:45 -07:00
Michael Lange
64fa26b4b9 Separate AllocationStat component for containing the multiple states a stat tracker can be in 2020-05-06 17:21:45 -07:00
Michael Lange
96f86d95be Setup the plugin detail page 2020-05-06 17:21:45 -07:00
Michael Lange
6c262ddeba Plugins table on the plugins list page 2020-05-06 17:21:44 -07:00
Michael Lange
eaa107ea36 Clean up the csi volume page 2020-05-06 17:21:44 -07:00
Michael Lange
f07a44d844 Set up routes, controllers, and template basics for the plugins page 2020-05-06 17:21:43 -07:00
Michael Lange
70fe2b3484 Add a subnav to the volumes page 2020-05-06 17:21:43 -07:00
Michael Lange
83baebc841 Add constraints table to the volume detail page 2020-05-06 17:21:42 -07:00
Mahmood Ali
2ca8758494 ui: only count running allocations in client view
In the client view list, only show running allocations count for each
client, rather than include already completed tasks.

This is done for two reasons:

First, consitency with the CLI: `nomad node status --allocs` only
shows running allocs.

Second, and more importantly, the count is useful to estimate how loaded
the clients are.  Allocs that have completed (but not GCed yet) have
very little value to operators.
2020-05-05 21:31:58 -04:00
Jasmine Dahilig
c10ac6394f UI: Add representations for task lifecycles (#7659)
This adds details about task lifecycles to allocations, task groups,
and tasks. It includes a live-updating timeline-like chart on allocations.
2020-04-30 08:15:19 -05:00
Michael Lange
9557475233 Make the no connection error on the logs page dismissable 2020-04-29 17:36:17 -07:00
Buck Doyle
d913f05503 UI: Fix exec popup link for job id ≠ name (#7815)
This closes #7814. It makes URL-generation more central and changes
the exec URL to include job id instead of name.
2020-04-29 07:54:04 -05:00
Buck Doyle
edff4cc78c UI: update exec styles to match conventions (#7811) 2020-04-28 08:33:07 -05:00
Michael Lange
a845c318b8 Merge pull request #7577 from hashicorp/f-ui/csi-beta-label
UI: Change CSI to Storage and mark it as beta
2020-04-06 13:21:11 -07:00