Commit Graph

119 Commits

Author SHA1 Message Date
Michael Lange
33852e1169 Add a Host Volumes table to the client detail page 2020-02-13 17:11:24 -08:00
Michael Lange
e7067f0cc9 Fix token referencing from the token controller, as well as resetting 2020-01-31 09:41:35 -08:00
Michael Lange
f51c0c4400 Refetch all ACL things when the token changes 2020-01-30 21:29:24 -08:00
Michael Lange
6a0a77c5ad Force drain button in the drain info box 2020-01-23 16:34:26 -08:00
Michael Lange
96522e7f53 Drain stop and update and notifications 2020-01-23 16:34:24 -08:00
Michael Lange
fabf956b6e Drain complete notification 2020-01-23 16:34:24 -08:00
Michael Lange
8788d39987 Eligibility toggling behavior 2020-01-23 16:34:13 -08:00
Buck Doyle
83d92251c5 UI: Fix client sorting (#6817)
There are two changes here, and some caveats/commentary:

1. The “State“ table column was actually sorting only by status. The state was not an actual property, just something calculated in each client row, as a product of status, isEligible, and isDraining. This PR adds isDraining as a component of compositeState so it can be used for sorting.

2. The Sortable mixin declares dependent keys that cause the sort to be live-updating, but only if the members of the array change, such as if a new client is added, but not if any of the sortable properties change. This PR adds a SortableFactory function that generates a mixin whose listSorted computed property includes dependent keys for the sortable properties, so the table will live-update if any of the sortable properties change, not just the array members. There’s a warning if you use SortableFactory without dependent keys and via the original Sortable interface, so we can eventually migrate away from it.
2019-12-12 13:06:54 -06: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
dfb88cc787 UI: add Consul Connect features (#6108) 2019-09-04 09:39:56 -05:00
Michael Lange
354da0f60c Merge pull request #6048 from hashicorp/f-ui/alloc-fs-files
UI: Alloc FS: File Viewer
2019-08-19 10:36:28 -07:00
Michael Lange
26e74fe2e2 Make a dedicated fs-breadcrumbs component 2019-08-07 15:29:14 -07:00
Buck Doyle
473ef7a662 Add page titles to filesystem routes (#6024) 2019-08-01 11:17:46 -05:00
Michael Lange
fea3731068 Integrate the task-file component with the fs explorer pages 2019-07-30 17:25:40 -07:00
Buck Doyle
f046ec31e5 UI: Add allocation directory sorting (#5914)
When sorting by size, directories are sorted by name, as size
isn’t displayed.

This includes a change to the positioning of sort arrows for all tables,
moving them closer to the text, because in some cases, the arrows
for right-aligned columns were ambiguously positioned.
2019-07-23 15:37:34 -05:00
Buck Doyle
ee07bab099 UI: Add allocation directory rendering (#5873)
This lets users navigate the allocation filesystem. It doesn’t
support viewing actual files yet.
2019-07-02 16:42:38 -05:00
Buck Doyle
237c40698b Update client list to combine statuses (#5789)
The draining, eligibility, and status fields now all show under a combined
state column. Draining takes precedence, then (in)eligibility; if neither of
those is true, the status displays.
2019-06-19 10:11:17 -07:00
Michael Lange
afa5f4dc0e Include the _ prefix separator in both regexes
And include all prefix types in the test data
2019-05-21 14:20:40 -07:00
Michael Lange
d33f4bfd49 Acceptance testing for allocation lifecycle 2019-05-21 09:24:19 -07:00
Michael Lange
a301e0f079 Restart a single task from the task detail page 2019-05-21 09:24:18 -07:00
Michael Lange
3a8334e720 Watch the next allocation on the allocation index page 2019-05-21 09:24:17 -07:00
Michael Lange
64b4bf6546 Add stop and restart buttons to the allocation index page 2019-05-21 09:24:16 -07:00
Michael Lange
400deae4ce Show which alloc, if any, preempted an alloc on the alloc detail page 2019-04-22 16:40:05 -07:00
Michael Lange
7ae2081282 Preemptions count and filtering on client detail page
Show the count in the allocations table next to the existing total alloc
count badge. Clicking either will filter by all or by preemptions.
2019-04-22 16:40:04 -07:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
21f8351929 Implement faceted search on the clients page 2019-04-10 10:34:10 -05:00
Michael Lange
401b5997a3 Refactor qp helpers from the jobs faceted search 2019-04-10 10:34:10 -05:00
Michael Lange
ef9f228f93 Changes from code review 2019-04-10 10:34:10 -05:00
Michael Lange
70ab07ee6e Make the facet filter function clearer with more brackets 2019-04-10 10:34:10 -05:00
Michael Lange
fc794efce8 Simplify options and selection names 2019-04-10 10:34:10 -05:00
Michael Lange
e1abb9f7fe Test coverage for job list facets 2019-04-10 10:34:10 -05:00
Michael Lange
92a6809b2a Introduce encode/decode for array query params 2019-04-10 10:34:10 -05:00
Michael Lange
9a6f1c9b85 Implement the job list filtering based on facet selection 2019-04-10 10:34:10 -05:00
Michael Lange
7b07d1b3da Implement the dynamic facet lists (datacenters and prefixes) 2019-04-10 10:34:10 -05:00
Michael Lange
49bd7acc5e Scaffold the facets and facet options for the jobs list page 2019-04-10 10:34:10 -05:00
Michael Lange
81788cf411 Clean up old controller code 2018-09-17 15:57:23 -07:00
Michael Lange
1572e8d820 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
f8c8c3cec4 Test coverage for NodeStatsTracker 2018-09-11 16:27:06 -07:00
Michael Lange
3c0977702e Example usage of the NodeStatsTracker 2018-08-31 14:39:23 -07:00
Michael Lange
008227204f Example of usage of the AllocationsStatsTracker 2018-08-31 14:39:22 -07:00
Michael Lange
130e951a37 Merge pull request #4600 from hashicorp/f-ui-job-writes
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
684f45c285 Introduce job editing to the job definition page 2018-08-21 16:46:24 -07:00
Michael Lange
a2c12b91e3 Move the bulk of the new job page into a new job editor component 2018-08-21 12:07:45 -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
9e584e6486 Specialized No Leader error page 2018-08-20 14:11:50 -07:00
Michael Lange
a970741198 Move the Diff property read out of the template 2018-08-15 16:58:54 -07:00
Michael Lange
f29f4351f1 Error messages for job submit 2018-08-15 15:18:38 -07:00
Michael Lange
f2128872ce Run job UI and API workflows 2018-08-14 18:26:26 -07:00
Michael Lange
da1e179704 Parse and Plan API and UI workflows 2018-08-14 17:29:51 -07:00
Michael Lange
fe315fe6d1 Address an issue with certain dependent keys 2018-08-09 18:22:39 -07:00