open-nomad/ui/app/components
Luiz Aoqui 758e85bc84
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
..
breadcrumbs Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
chart-primitives ui: prettify js files 2022-01-20 09:54:56 -05:00
das Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
evaluation-sidebar Copy change, simplifies explanation for no related eval chart 2022-04-05 16:59:50 -04:00
exec ui: prettify js files 2022-01-20 09:54:56 -05:00
fs Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
global-search Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-deployment
job-page ui: fix an error when navigating to a task group (#12832) 2022-05-02 11:01:19 -04:00
list-accordion Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
list-pagination
list-table
primary-metric ui: prettify js files 2022-01-20 09:54:56 -05:00
providers Epic: Evaluation Detail Sidebar (#12370) 2022-04-05 14:34:37 -04:00
single-select-dropdown
topo-viz ui: prettify js files 2022-01-20 09:54:56 -05:00
.gitkeep
addon-copy-button.js
agent-monitor.js
allocation-row.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
allocation-stat.js ui: prettify js files 2022-01-20 09:54:56 -05:00
allocation-status-bar.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
allocation-subnav.js
attributes-section.js
breadcrumb.js
breadcrumbs.hbs
breadcrumbs.js
children-status-bar.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
client-node-row.js ui: prettify js files 2022-01-20 09:54:56 -05:00
client-subnav.js
copy-button.js
distribution-bar.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
drain-popover.js
exec-terminal.js
flex-masonry.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
forbidden-message.js
gauge-chart.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
global-header.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
gutter-menu.js ui: prettify js files 2022-01-20 09:54:56 -05:00
hamburger-menu.js
image-file.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-client-status-bar.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
job-client-status-row.js [ui] Disconnected Clients: "Unknown" allocations in the UI (#12544) 2022-04-22 11:25:02 -04:00
job-deployment.js
job-deployments-stream.js
job-diff-fields-and-objects.js
job-diff.js ui: prettify js files 2022-01-20 09:54:56 -05:00
job-dispatch.js fix: job-dispatch tests after namespace changes 2022-02-16 15:22:41 +01:00
job-editor.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-page.js feat: create job-page contextual component 2022-01-24 11:02:04 -05:00
job-row.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
job-subnav.js fix: update conditional rendering of clients tab 2022-01-24 11:06:08 -05:00
job-version.js ui: prettify js files 2022-01-20 09:54:56 -05:00
job-versions-stream.js ui: prettify js files 2022-01-20 09:54:56 -05:00
json-viewer.js
lifecycle-chart-row.js
lifecycle-chart.js
line-chart.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
list-accordion.js
list-pagination.js
list-table.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
loading-spinner.js
multi-select-dropdown.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
page-layout.js
page-size-select.js
placement-failure.js
plugin-allocation-row.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
popover-menu.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
proxy-tag.js
region-switcher.js
reschedule-event-row.js
scale-events-chart.js ui: prettify js files 2022-01-20 09:54:56 -05:00
search-box.js
server-agent-row.js ui: prettify js files 2022-01-20 09:54:56 -05:00
server-subnav.js
stats-time-series.js ui: prettify js files 2022-01-20 09:54:56 -05:00
status-cell.hbs feat: extract status cell logic into component 2022-01-28 09:35:44 -05:00
stepper-input.js ui: prettify js files 2022-01-20 09:54:56 -05:00
streaming-file.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
task-group-row.js ui: fix an error when navigating to a task group (#12832) 2022-05-02 11:01:19 -04:00
task-log.js ui: prettify js files 2022-01-20 09:54:56 -05:00
task-row.js [ui, bugfix] Link fix for volumes where per_alloc=true (#12713) 2022-04-21 13:57:18 -04:00
task-subnav.js
toggle.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
tooltip.js ui: prettify js files 2022-01-20 09:54:56 -05:00
topo-viz.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
trigger.hbs
trigger.js Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
two-step-button.js ui: prettify js files 2022-01-20 09:54:56 -05:00