Phil Renaud
f5b8506229
[ui] Reinstate Meta and Payload sections to Parameterized Child Jobs ( #13473 )
...
* Shift meta off job.definition and decodedPayload alias to passed arg
* Changelog
2022-06-24 15:03:08 -04:00
Luiz Aoqui
c333eb6071
ui: fix an error when navigating to a task group ( #12832 )
...
Clicking in a task group row in the job details page would throw the
error:
Uncaught Error: You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route jobs.job.task-group. Missing params: name
createParamHandlerInfo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4814
applyToHandlers http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4804
applyToState http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4801
getTransitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4843
transitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4836
refresh http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4885
refresh http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2254
queryParamsDidChange http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2326
k http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2423
triggerEvent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2349
fireQueryParamDidChange http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4863
getTransitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4848
transitionByIntent http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4836
doTransition http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4853
transitionTo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:4882
_doTransition http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2392
transitionTo http://localhost:4646/ui/assets/vendor-194b1e0d68d11ef7a4bf334eb30ba74d.js:2177
gotoTaskGroup http://localhost:4646/ui/assets/nomad-ui-4a2c1941e03e60e1feef715f23cf268c.js:623
...
This was caused because the attribute being passed to the transitionTo
function was not the task group name, but the whole model.
2022-05-02 11:01:19 -04:00
Phil Renaud
f04fc21761
Importing string methods directly from @ember/string ( #12499 )
...
* Capitalize methods
* Let ESLint yell at us again
* Dasherize
2022-04-07 15:51:41 -04:00
Michael Klein
a4244e63de
fix: some test fixes module-for-job
...
* less clever™ metaprogramming when checking for expectedURL
* clicking slices job-client-status-summary needs to change its
behavior and not pass the namespace query-param anymore.
2022-02-16 17:47:29 +01:00
Jai Bhagat
1a9b70688a
refact: move gotoClients logic down to component
2022-01-24 11:04:52 -05:00
Jai Bhagat
9f1d22595c
refact: move gotoJob to component
2022-01-24 11:04:51 -05:00
Jai Bhagat
432758916e
refact: move gotoTaskGroup action to component
...
Previously, the router service was not available to components. Now that it is,
we no longer need to prop-drill this linking action.
2022-01-24 11:04:48 -05:00
Jai Bhagat
8c2ce12ef9
refactor: compute jobClientStatus in summary backing class component
2022-01-24 11:04:14 -05:00
Jai Bhagat
dec6a68ca4
refact: remove unused backing component classes and extend periodic and param-child to use Glimmer
2022-01-24 11:02:26 -05:00
Jai Bhagat
74bc21e26b
ui: prepare rebase for contextual job-page
2022-01-24 10:58:28 -05:00
Jai Bhagat
ba9d95c34d
ui: disable no-string-protype-extensions where its currently in use
2022-01-20 09:46:49 -05:00
Jai Bhagat
d0f8322786
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -05:00
Luiz Aoqui
6b488bdad3
Fix ACL requirements for job details UI ( #11672 )
2022-01-12 21:26:02 -05:00
Jai Bhagat
094c1912f9
feat: add sliceClick to job-page/summary
2021-12-16 11:24:03 -05:00
Luiz Aoqui
5fbea9142f
ui: fix after ugrading d3-selection
2021-11-05 18:09:15 -04:00
Luiz Aoqui
d4c3989e2a
Update job details box ( #11288 )
2021-10-12 16:36:10 -04:00
Jai
0564f9fa68
System Batch UI, Client Status Bar Chart and Client Tab page view ( #11078 )
2021-10-07 17:11:38 -04:00
Luiz Aoqui
ea47fa7d90
ui: set namespace when looking for and displaying children jobs ( #11110 )
2021-09-01 14:40:25 -04:00
Buck Doyle
1d0c57dbbe
Fix deployment failure error handling ( #10003 )
...
This is a supplement to #9831 to incorporate the extracted
missing-permissions error handling from #9909 .
It fixes this failure on the main branch! 😳
https://app.circleci.com/pipelines/github/hashicorp/nomad/14728/workflows/4c147dca-fd1e-4de7-86aa-90ded7aabad2/jobs/137137
2021-02-10 10:23:19 -06:00
Buck Doyle
d98265d954
Add button to fail running deployments ( #9831 )
...
This closes #8744 and #9826 .
It necessitated some customisation options for TwoStepButton. One is inlineText, which puts the confirmation text in the same line as the buttons. Also, there was a single-use configuration option named isInfoAction that I removed in favour of passing a set of class configuration options like this:
@classes={{hash
idleButton="is-warning"
confirmationMessage="inherit-color"
cancelButton="is-danger is-important"
confirmButton="is-warning"}}
2021-02-10 08:38:37 -06:00
Michael Lange
dbf826d7ef
Don't use generic ACL error messages
...
When the error is actually a 403, an ACL error is appropriate, but when
it isn't, fallback on what the API returns.
2021-01-28 12:18:53 -08:00
Michael Lange
7477e972f8
Update job launches table to use the page size select pattern
2020-09-18 18:27:48 -07: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
Michael Lange
115923d890
Type-check the ForbiddenError rather than ducktype it
...
Going off of the error message being "Forbidden" was brittle to begin
with and no longer works with Fetch due to the error message coming from
jquery underpinnings that were unobserved by Ember Data's attempted
recreation.
2020-05-21 10:35:40 -07:00
Buck Doyle
e6c66354d0
UI: Update to Ember 3.8 LTS ( #5968 )
2019-10-08 13:44:19 -05:00
Buck Doyle
a8c90f5352
Fix navigation via clicking recent allocation row ( #6087 )
...
This fixes the recent allocation rows to navigate when clicking within them
rather than just on the link, which matches the cursor behaviour.
2019-08-08 09:26:46 -05:00
Michael Lange
8920650990
New Mirage scenario for puppeteer script to use
2019-06-19 17:18:40 -07:00
Michael Lange
f6232f1817
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
334358ad24
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
f4ceb2264c
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
f09e9a41bc
Switch stop/run job actions to EC tasks
2018-08-28 11:27:00 -07:00
Michael Lange
619376c3b8
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
c510060c12
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
f50aff562c
Treat filtering on an async relationship as async
2018-08-06 11:02:21 -07:00
Michael Lange
221881e502
Add recent allocations to relevant job overview pages
2018-08-06 10:59:35 -07:00
Michael Lange
11bc25b1b3
Merge pull request #4533 from hashicorp/f-ui-refactor-page-chrome
...
UI: Refactor page chrome
2018-08-06 10:50:03 -07:00
Michael Lange
6fe8356d1c
Give the running-deployment component a more appropriate name
2018-07-30 15:31:31 -07:00
Michael Lange
e278d6315a
Make running-deployment always show the latest deployment
2018-07-30 15:31:31 -07:00
Michael Lange
d0c76b844a
Remove all references to onNamespaceChange
2018-07-30 13:13:52 -07:00
Michael Lange
78e66d4100
Make job alloc/children summary collapsable (and persist the choice in localStorage)
2018-07-13 10:26:46 -07:00
Michael Lange
b8b3d03e41
Merge pull request #4458 from hashicorp/f-ui-refactor-breadcrumbs
...
UI: Refactor breadcrumbs
2018-07-10 11:01:28 -07:00
Michael Lange
8d417e7800
Remove evaluations from the job overview page
2018-07-06 16:53:13 -07:00
Michael Lange
0f90e066ee
Remove all references to breadcrumbs outside of routes
2018-07-06 11:12:12 -07:00
Michael Lange
4738144478
New errorMessage format
2018-04-19 14:22:04 -07:00
Michael Lange
67df4dd304
Common error component for job pages
2018-04-19 14:22:04 -07:00
Michael Lange
842ef65487
Move common title parts into a part component
2018-04-19 14:22:04 -07:00
Michael Lange
f9f9fbd62e
Merge pull request #4081 from hashicorp/b-ui-service-breadcrumbs
...
UI: Service job breadcrumbs + errant open connections
2018-03-29 15:08:14 -07:00
Michael Lange
8e6f561b8a
Add missing js class for System that extends AbstractJobPage
2018-03-28 16:46:35 -07:00
Michael Lange
e1b7feef25
Remove now unnecessary summary fallback
...
Ember Data 2.18 fixed the underlying bug
2018-03-28 15:20:02 -07:00
Michael Lange
50ef5ede6e
Work around the dreaded broken relationship ED bug
...
Summary can unlink from a job when loaded in the wrong order. This
guarantees that the summary is bound to the job detail view by
falling back to the summary in the store.
2018-03-22 20:14:37 -07:00