Commit Graph

1380 Commits

Author SHA1 Message Date
Michael Lange
eb901b59b0 Wire up the scale action on the task group page 2020-06-18 23:23:03 -07:00
Michael Lange
2227f24474 Integrate the stepper input with the task group page 2020-06-18 22:32:56 -07:00
Michael Lange
110f491c98 Test coverage for the StepperInput 2020-06-18 22:08:29 -07:00
Michael Lange
6bde0e522a Style the StepperInput component 2020-06-18 22:08:28 -07:00
Michael Lange
140f9f6800 Add count StepperInput to the task group page 2020-06-18 22:08:28 -07:00
Michael Lange
ed6395899f StepperInput story 2020-06-18 22:08:28 -07:00
Michael Lange
2b88651fca Barebones StepperInput component 2020-06-18 22:08:28 -07:00
Michael Lange
0b0be1b63b Slow the debounce time. 2020-06-18 22:08:28 -07:00
Michael Lange
469b107a64 Test coverage for the task group row scale actions 2020-06-18 22:08:28 -07:00
Michael Lange
1182203559 Disable scale buttons when a deployment is running or ACL forbids it 2020-06-18 22:08:28 -07:00
Michael Lange
7fec4d8bc5 Add canScale ability for jobs 2020-06-18 22:08:28 -07:00
Michael Lange
a1f1079cfd Mirage updates for task group scaling and scaling post endpoint 2020-06-18 22:08:28 -07:00
Michael Lange
9a344e468e Wire up the +/- buttons in task group rows to the job scale action 2020-06-18 22:08:28 -07:00
Michael Lange
149dcdacb4 New scale action for jobs (and a convenience task group method) 2020-06-18 22:08:27 -07:00
Michael Lange
856743983e Create new AbortController with each tick of the ec task loops
This was a disturbing discovery. Requests in watch loops would recycle
AbortControllers meaning once any request was aborted, all requests
forever after were skipped. I noticed it with deployments and job
summary on the job detail page.

I suspect this regression occurred when jQuery was removed. This needs
test coverage still to make sure it doesn't happen again.
2020-06-18 22:08:27 -07:00
Michael Lange
3768a63712 Make sure buttons in a button bar have a very visible focus state 2020-06-18 22:08:27 -07:00
Michael Lange
ed6c414745 Add the elements of the manual scaling actions to the task-group-row component 2020-06-18 22:08:27 -07:00
Michael Lange
2e1adbc83e Add the min/max and policy y/n of a task group to the details ribbon 2020-06-18 22:08:27 -07:00
Michael Lange
6b57adc013 Prevent inline definition key/value pairs from breaking the key and value onto separate lines 2020-06-18 22:08:27 -07:00
Michael Lange
461980d927 Additional button-bar treatments for use in a table row 2020-06-18 22:08:27 -07:00
Michael Lange
158f7764be Extend button-bar support to buttons 2020-06-18 22:08:27 -07:00
Michael Lange
0137f8d02a When an icon is intended as text, it shouldn't have pointer events
This prevents the svg from being a target in click events.
2020-06-18 22:08:27 -07:00
Michael Lange
4e7b844422 New xsmall button size 2020-06-18 22:08:27 -07:00
Michael Lange
e28efc6afc LazyClick should also get interrupted by buttons 2020-06-18 22:08:26 -07:00
Michael Lange
29ff3f9c8c Model the scaling properties of a task group as a fragment 2020-06-18 22:08:26 -07:00
Michael Lange
34e8e1f183 Code review feedback 2020-06-17 14:56:16 -07:00
Michael Lange
619aea8dbb Guard the request animation frame with the existing requestFrame flag 2020-06-17 14:50:55 -07:00
Michael Lange
5bb3c434d8 Select all shortcut support for the streaming file component 2020-06-16 12:51:52 -07:00
Michael Lange
a0c6cc2dfd Server monitor page 2020-06-16 10:23:36 -07:00
Michael Lange
53027ba6ac Test coverage for new features of the server detail page 2020-06-16 10:23:36 -07:00
Michael Lange
718575742e Redesign the server detail page to be inline with everything else 2020-06-16 10:23:36 -07:00
Michael Lange
9294a7a7f2 Add nested monitor route to servers/server 2020-06-16 10:23:36 -07:00
Michael Lange
9e5cd53fd6 Refactor the servers/server pages to match the subnav style of nested pages 2020-06-16 10:23:36 -07:00
Michael Lange
a0fce0331a Show a helpful forbidden message when monitor access is not authorized 2020-06-16 10:23:36 -07:00
Michael Lange
c3b4999a91 New component version of the forbidden-message partial 2020-06-16 10:23:36 -07:00
Michael Lange
a4a8c9e167 Ability for agent:read 2020-06-16 10:23:36 -07:00
Michael Lange
d0a0ffd27d Test coverage for the client monitor page 2020-06-16 10:23:36 -07:00
Michael Lange
f896a622d8 Test coverage for the AgentMonitor component 2020-06-16 10:23:36 -07:00
Michael Lange
2c85e69300 Temporary helpers for ember-power-select
These are based on the source code for selectChoose. I would have liked
to have used selectChoose, but the implementation has two await
settled()s in it which prevented me from writing the tests I needed to
write.

These new extension helpers separate selectChoose into two pieces so
logic can be placed between the two async actions.
2020-06-16 10:23:36 -07:00
Michael Lange
88e7e7ea66 Preserve the log when switching log levels on monitor 2020-06-16 10:23:36 -07:00
Michael Lange
47969c43b9 Inline-block the buttons to remove weird text-flow spacing 2020-06-16 10:23:36 -07:00
Michael Lange
0a4cde37ca Refactor AgentMonitor levels handling to be simpler 2020-06-16 10:23:36 -07:00
Michael Lange
f02beee026 Reimplement synchronizeScrollPosition in a way that actually works 2020-06-16 10:23:36 -07:00
Michael Lange
9e594885b2 Implement the log streaming portion of the AgentMonitor component 2020-06-16 10:23:36 -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
0cf59f10be Remove stray commented-out line 2020-06-16 08:36:39 -05:00
Michael Lange
7fabdd56e6 Data cannot be a field in the base class and a CP in the child classes 2020-06-15 11:37:40 -05:00
Buck Doyle
36b58a95ab Remove superfluous uses of Object.freeze
This is no longer needed!
https://guides.emberjs.com/release/upgrading/current-edition/native-classes/#toc_properties-and-fields
2020-06-15 10:15:11 -05:00
Buck Doyle
1904005120 Rename clashing property 2020-06-15 10:14:36 -05:00