Commit Graph

25 Commits

Author SHA1 Message Date
Michael Lange
34e8e1f183 Code review feedback 2020-06-17 14:56:16 -07:00
Michael Lange
cc8aed8817 Monitor component and query param interaction 2020-06-16 10:23:35 -07:00
Michael Lange
2eceffaa96 Create new monitor route for clients 2020-06-16 10:23:35 -07:00
Buck Doyle
e7428d1876 Rename clashing action 2020-06-15 10:14:36 -05:00
Buck Doyle
e993a71f6f Add manually-converted classes
I don’t know why the codemod ignored these files 🧐
2020-06-15 10:14:26 -05:00
Buck Doyle
5d325351a5 Fix query parameters structures
I’d think the codemod would handle this if it’s a requirement
but apparently not, is it a bug?
2020-06-15 09:52:31 -05:00
Buck Doyle
24eadd269c Add massaged results of class codemod
Manual interventions:
• decorators on the same line for service and controller
  injections and most computed property macros
• preserving import order when possible, both per-line
  and intra-line
• moving new imports to the bottom
• removal of classic decorator for trivial cases
• conversion of init to constructor when appropriate
2020-06-10 16:18:42 -05:00
Buck Doyle
11d80ae489 Add Ember ESLint plugin (#8134)
This is extracted from #8094, where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Michael Lange
770f0b7375 Repeat new pagination pattern throughout the app 2020-04-02 12:50:34 -07:00
Michael Lange
ab4497aa03 Account for an empty string node class 2020-03-30 17:33:45 -07:00
Michael Lange
0f07f4cc40 Add a volume facet to the clients list page 2020-03-30 17:33:44 -07:00
Michael Lange
33852e1169 Add a Host Volumes table to the client detail page 2020-02-13 17:11: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
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
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
8fa044a52a Add driver status accordion section to the client detail page 2018-05-25 10:15:23 -07:00
Michael Lange
76caeb5083 Add a node events section to the node detail page 2018-05-25 10:15:22 -07:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
e9c71dd0df Rename nodes routes to client routes 2017-10-27 18:39:04 -07:00